jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • XFire
  • XFIRE-1066

XML Parsing Error: duplicate attribute for xmlns:xsd="http://www.w3.org/2001/XMLSchema"

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Blocker Blocker
  • Resolution: Unresolved
  • Affects Version/s: 1.2.6
  • Fix Version/s: None
  • Component/s: JAX-WS
  • Labels:
    None
  • Environment:
    Linux, Ant 1.6.5

Description

I get XML Parsing Error: duplicate attribute for xmlns:xsd="http://www.w3.org/2001/XMLSchema". This attribute appears twice in the wsdl which ends up a failure in generating a proxy in the client side. I am using jax-ws with a pojo.

here is my code.

@WebService
public class HelloServiceImpl implements HelloService
{
public String echo(String input)

{ return input; }

}

@WebService
public interface HelloService
{
public String echo(String input);
}

web.xml

<web-app>
<servlet>
<servlet-name>XFireServlet</servlet-name>
<display-name>XFire Servlet</display-name>
<servlet-class>
org.codehaus.xfire.transport.http.XFireConfigurableServlet
</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>XFireServlet</servlet-name>
<url-pattern>/servlet/XFireServlet/*</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>XFireServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
</web-app>

services.xml

<!-- START SNIPPET: services -->
<beans xmlns="http://xfire.codehaus.org/config/1.0">
<service>
<name>HelloService</name>
<namespace>http://xfire.codehaus.org/HelloService</namespace>
<serviceClass>org.codehaus.xfire.demo.HelloService</serviceClass>
<serviceFactory>org.codehaus.xfire.annotations.AnnotationServiceFactory</serviceFactory>
</service>
</beans>

I don't know what the problem is. it seems like a parsing error.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Dan Diephouse
    Reporter:
    Caesar
Vote (0)
Watch (0)

Dates

  • Created:
    19/Jul/07 11:23 AM
    Updated:
    19/Jul/07 11:23 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.