You're right. The code in ProviderProcessor constructor doesn't have any
problems and won't throw a NPE. The XFire based webservice that gets called
by the servicemix-http component will throw the NPE. I don't know how to
show you the misbehaviour, because I would have to provide an XFire based
webservice.
Anyway. Do you think it's a good idea to use an uninitialized attribute in
the ProviderProcessor constructor?
public ProviderProcessor(HttpEndpoint endpoint) {
this.endpoint = endpoint;
this.soapMarshaler = new SoapMarshaler(endpoint.isSoap());
if (endpoint.isSoap() && "1.1".equals(endpoint.getSoapVersion())) {
this.soapMarshaler.setSoapUri(SoapMarshaler.SOAP_11_URI);
}
this.jbiMarshaler = new JBIMarshaler();
}
What happens after
'this.soapMarshaler.setSoapUri(SoapMarshaler.SOAP_11_URI);' is called? Any
difference in calling the webservice?
Kind regards
Juergen
--
View this message in context:
http://www.nabble.com/servicemix-http-NPE-of-XFire-based-webservice-without-soap-version-t1526887.html#a4148377
Sent from the ServiceMix - User forum at Nabble.com.