Serious: Server returned error code = 401 for uri:http://xxxx/myservice.asmx. Check Server logs for details
2008-8-28 16:14:50 Org.apache.catalina.core.StandardWrapperValve Invoke
Serious: Servlet.service () for Servlet JSP threw exception
Org.codehaus.xfire.XFireRuntimeException:Server returned error code = 401 for uri:http://xxxxxx. Check Server logs for details
At Org.codehaus.xfire.transport.http.HttpChannel.sendViaClient (httpchannel.java:130)
At Org.codehaus.xfire.transport.http.HttpChannel.send (httpchannel.java:48)
At Org.codehaus.xfire.handler.OutMessageSender.invoke (outmessagesender.java:26)
At Org.codehaus.xfire.handler.HandlerPipeline.invoke (handlerpipeline.java:131)
At Org.codehaus.xfire.client.Invocation.invoke (invocation.java:79)
At Org.codehaus.xfire.client.Invocation.invoke (invocation.java:114)
At Org.codehaus.xfire.client.Client.invoke (client.java:336)
At Org.codehaus.xfire.client.XFireProxy.handleRequest (xfireproxy.java:77)
At Org.codehaus.xfire.client.XFireProxy.invoke (xfireproxy.java:57)
Error Reason:
See if your Service.xml name and namespace are the same, I have an example here:
<?xml version= "1.0" encoding= "UTF-8"
<beans
<service xmlns= "http://xfire.codehaus.org/config/1.0"
<name> Icategoryservice2w</name>
<namespace>http://127.0.0.1:8080/admin/services/</ Namespace>
<serviceClass>com.xx.ecm.category.ICategoryService2W</serviceClass>
<implementationclass>com.xx.ecm.category.managerimpl.categoryservice2w</ Implementationclass>
</service>
</beans>