You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by patrosk <su...@rediffmail.com> on 2008/03/18 11:08:40 UTC

Re: Getting Server.userException while my bpel process is trying to invoke an external webservice through http provider BC

HI...

Even i am also facing the same problem you have mentioned.
Did you find any way to proceed? Please do share?

Thank you.

sdan wrote:
> 
> 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-tp10700907s12049p16117780.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.