Do you have the full stack trace ? I do not really see the problem...
The code in ProviderProcessor constructor should not thrown an exception:
if (endpoint.isSoap() && "1.1".equals(endpoint.getSoapVersion())) {
Even if getSoapVersion() returns null, no NPE would be thrown.
Thanks,
Guillaume Nodet
On 4/28/06, Juergen Mayrbaeurl <[EMAIL PROTECTED]> wrote:
>
> I'm not sure, if this is a bug of ServiceMix or XFire. Anyway. Calling a
> XFire based webservice, exposed on the ESB with servicemix.http (as
> described in http://www.servicemix.org/servicemix-http for a provider
> endpoint) causes an NPE thrown by the XFire 1.0 based webservice.
>
> The reason for this is, that the soap version attribut of SoapEndpoint is
> not explicitly set, but accessed in 'public ProviderProcessor(HttpEndpoint
> endpoint)'. Setting the soap version to "1.1" fixes the problem and the
> webservice works correctly.
>
> I suggest to set the attribut 'soapVersion' to the default value '1.1' in
> the class SoapEndpoint.
>
> Kind regards
> Juergen
> --
> View this message in context:
> http://www.nabble.com/servicemix-http-NPE-of-XFire-based-webservice-without-soap-version-t1526887.html#a4147786
> Sent from the ServiceMix - User forum at Nabble.com.
>
>