Hi,
Any Chance you append a testcase(like SA) which can reproduce your
error? It would be a big help.
Thanks
Freeman
btmahon wrote:
I am trying to invoke an external web-service using a JBI cxfbc:provider from
a Camel route. The web-service is getting called correctly (it logs the
incoming request) but I get the following error in ServiceMix (3.3.1.13)
presumably trying to process the response:
java.lang.NullPointerException
at
org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:108)
My cxf-bc configuration is as follows:
<cxfbc:provider
wsdl="classpath:MyService.wsdl"
locationURI="http://localhost:8888/myService"
service="ms:MyService"
endpoint="MyServiceImpl"
useJBIWrapper="false">
</cxfbc:provider>
My Camel route is essentially:
<route>
....
<to
uri="jbi:service:http://example.proj/myService/MyService?mep=in-out"/>
<to uri="file:/tmp/MyServiceResponse/"/>
I was able to successfully configure a cxfbc:consumer as a direct proxy to
the cxfbc:provider and that path (no Camel involved) works fine.
Any help would be appreciated.
Thanks,
Brendan
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com