[jboss-user] [JBossWS] - Help! Call Web service error!
lixun
do-not-reply at jboss.com
Mon May 11 03:37:18 EDT 2009
My developping enviroment is JBoss 5.0.1 GA, jbossws-native-3.0.5
First, I define a web service implementation
then I use wsconsume to generate stub Java Code
If I Call web service with Java Application, that's OK!
But when I put the same code in web application, error happened!
javax.xml.rpc.soap.SOAPFaultException: org.xml.sax.SAXParseException: Premature end of file.
at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.exceptionToFaultMessage(SOAPFaultHelperJAXRPC.java:189)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:183)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:102)
at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:496)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)
at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Anyone tell me why?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229951#4229951
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229951
More information about the jboss-user
mailing list