XML Parsing Error: duplicate attribute for
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
---------------------------------------------------------------------------------------
Key: XFIRE-1066
URL: http://jira.codehaus.org/browse/XFIRE-1066
Project: XFire
Issue Type: Bug
Components: JAX-WS
Affects Versions: 1.2.6
Environment: Linux, Ant 1.6.5
Reporter: Caesar
Assignee: Dan Diephouse
Priority: Blocker
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email