If anyone could shed light on this, I'll really appreciate this as I've been
trying to make this work for past few days.
I'm trying to invoke an external webservice through http provider BC and
getting the following exception (see at the end). Please let me know. Thanks
in advance.
-Dan

The invoke stmt looks like

---------------------------------------------------------------------------------------------------------------------

<bpws:invoke inputVariable="tomcatPartnerLinkRequest" name="Invoke"
operation="sayHello" outputVariable="tomcatPartnerLinkResponse"
partnerLink="tomcatPartnerLink" portType="tomcat:Hello"/>

---------------------------------------------------------------------------------------------------------------------
The xbean.xml has the following content

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:th="http://localhost:8080/axis/Hello.jws";>

  <http:endpoint service="th:HelloService"
                 endpoint="Hello"
                 role="provider" 
                 locationURI="http://localhost:8080/axis/Hello.jws";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                 soap="true" />             

</beans>

---------------------------------------------------------------------------------------------------------------------
The error msg says

14:29:47,513 | ERROR | pool-flow.seda.servicemix-http-thread-3 |
HttpComponent            | ervicemix.common.BaseLifeCycle   48 | Error
processing exchange InOut[
  id: ID:192.168.1.101-1129fb084b7-2:1
  status: Active
  role: provider
  service: {http://localhost:8080/axis/Hello.jws}HelloService
  endpoint: Hello
  operation: {http://localhost:8080/axis/Hello.jws}sayHello
  in: <?xml version="1.0" encoding="UTF-8"?><sayHelloRequest
xmlns="urn:/HelloWorld2-RPC.wsdl"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><text
xmlns="">Dan!!</text></sayHelloRequest>
]
org.apache.servicemix.soap.SoapFault: Unexpected fault code:
{http://www.w3.org/2003/05/soap-envelope}Server.userException
        at
org.apache.servicemix.soap.marshalers.SoapReader.readFaultUsingDom(SoapReader.java:259)
        at
org.apache.servicemix.soap.marshalers.SoapReader.readFaultUsingStax(SoapReader.java:341)
        at
org.apache.servicemix.soap.marshalers.SoapReader.readSoapUsingStax(SoapReader.java:203)
        at
org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:89)
        at
org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:76)
        at
org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:162)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:593)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:171)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
14:29:47,904 | ERROR | pool-2-thread-95 | BpelRuntimeContextImpl   |
.engine.BpelRuntimeContextImpl  976 | Invalid response state for mex
-8tfxuso66bul29ep6ecl94: ASYNC

-- 
View this message in context: 
http://www.nabble.com/Getting-Server.userException-while-my-bpel-process-is-trying-to-invoke-an-external-webservice-through-http-provider-BC-tf3783861s12049.html#a10700907
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to