[jboss-user] [JBossWS] - Re: Losing soap request after it gets to server

alexboyer do-not-reply at jboss.com
Thu Apr 12 16:39:59 EDT 2007


I needed all these entries in my service endpoint implementation:
@javax.jws.WebService(endpointInterface="com.company.ws.service.ServicePortType",
                      name="ServicePortType",
                      portName="ServicePort",
                      wsdlLocation="META-INF/wsdl/Service.wsdl",
                      targetNamespace = "http://company.com/ws/service",
                      serviceName="Service")
This is just an example, not the real values. Without all these entries jboss tried to generate things instead of using what I supplied. For instance the reason I was losing my soap request was that a new request wrapper was being generated with a different package. So when my impl method was called it was called with a null request object. My soap message had been bound to the generated request wrapper, not the type of object my impl method required.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036859#4036859

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036859



More information about the jboss-user mailing list