-
1. Re: Losing soap request after it gets to server
alexboyer Apr 12, 2007 4:39 PM (in response to alexboyer)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.