环境:
myeclipse 6.0.1 Xfire 生成web service client.
tomcat 6.0.14 使用myeclipse deploy.
在用WEB 调用web service方法后出现以下错误提示:
[code="java"]2008-9-2 14:11:03 org.codehaus.xfire.jaxb2.JaxbType readObject
严重: javax.xml.bind.JAXBException: com.cnfol.webservice.response.CheckUserResponse is not known to this context
org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not unmarshall type : com.cnfol.webservice.response.CheckUserResponse is not known to this context
org.codehaus.xfire.fault.XFireFault: Could not unmarshall type : com.cnfol.webservice.response.CheckUserResponse is not known to this context
at org.codehaus.xfire.jaxb2.JaxbType.readObject(JaxbType.java:219)
at org.codehaus.xfire.aegis.AegisBindingProvider.readParameter(AegisBindingProvider.java:169)
at org.codehaus.xfire.service.binding.RPCBinding.readMessage(RPCBinding.java:91)
at org.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHandler.java:42)
...[/code]
请问:
1,这属于常见问题吗?
2,解决方法是什么?
thanks in advance.