You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by NGUYEN Cong Kinh <ng...@telecom-paristech.fr> on 2008/07/30 17:04:39 UTC

error in invoking web service with ODE

Hello everybody,

I am using apache-ode 1.2. There is an error when invoking a web service.

Could you help me to solve my problem ? You can use the attached files to
test. The archive of web service is given on
http://www.tsi.enst.fr/~nguyen/TestWsBpel.war


Thank in advance

DEBUG - GeronimoLog.debug(66) | Received request message for
HelloWorldService.{
http://eclipse.org/bpel/sample}process
DEBUG - GeronimoLog.debug(66) | Starting transaction.
DEBUG - GeronimoLog.debug(66) | Routed: svcQname
{http://eclipse.org/bpel/sample
}HelloWorldService -->
BpelProcess[{http://eclipse.org/bpel/sample}HelloWorld-96
]
DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
name=process
style=REQUEST_RESPONSE,1
Input: name=null
Message: name={http://eclipse.org/bpel/sample}HelloWorldRequestMessage
Part: name=payload
elementName={http://eclipse.org/bpel/sample}HelloWorldRequest
Output: name=null
Message: name={http://eclipse.org/bpel/sample}HelloWorldResponseMessage
Part: name=payload
elementName={http://eclipse.org/bpel/sample}HelloWorldResponse from
service {htt
p://eclipse.org/bpel/sample}HelloWorldService
DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
{MyRoleMex#hqejbhcnphr3h1
5wi6ctjc [Client hqejbhcnphr3h15wi6ctjb] calling
{http://eclipse.org/bpel/sample
}HelloWorldService.process(...)}
DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
encoding="
UTF-8"?>
<message><payload><HelloWorldRequest
xmlns="http://eclipse.org/bpel/sample" xmln
s:q0="http://eclipse.org/bpel/sample"
xmlns:soapenv="http://schemas.xmlsoap.org/
soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://w
ww.w3.org/2001/XMLSchema-instance">
      <input>Hello, I am student</input>
    </HelloWorldRequest></payload></message>
DEBUG - GeronimoLog.debug(66) | Routed: svcQname
{http://eclipse.org/bpel/sample
}HelloWorldService -->
BpelProcess[{http://eclipse.org/bpel/sample}HelloWorld-96
]
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
BpelProcess[{http://eclip
se.org/bpel/sample}HelloWorld-96]
DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
{MyRoleMex#hqejbhcnphr3h15wi6c
tjc [Client hqejbhcnphr3h15wi6ctjb] calling
{http://eclipse.org/bpel/sample}Hell
oWorldService.process(...)}
DEBUG - GeronimoLog.debug(66) | Commiting transaction.
DEBUG - GeronimoLog.debug(66) | >>
handleWorkEvent(jobData={mexid=hqejbhcnphr3h1
5wi6ctjc, pid={http://eclipse.org/bpel/sample}HelloWorld-96,
type=INVOKE_INTERNA
L})
DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
hqejbhcnphr3h15wi
6ctjc
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.myRoleSessi
onId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.myRoleSessi
onId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.partnerRole
SessionId = null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: 20.process: MSG RCVD keys=[]
mySession
Id=null partnerSessionId=null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: 20.process: routing failed,
CREATING N
EW INSTANCE
DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for
instance 1390
1. INDEXED STATE={}
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING
CORRELATOR
20.process
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING
for NEW
INSTANCE match
DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance
state f
rom ready to active
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND match
for N
EW instance mexRef={MyRoleMex#hqejbhcnphr3h15wi6ctjc [Client
hqejbhcnphr3h15wi6c
tjb] calling {http://eclipse.org/bpel/sample}HelloWorldService.process(...)}
ERROR - GeronimoLog.error(104) |
org.apache.ode.bpel.common.FaultException: {htt
p://docs.oasis-open.org/wsbpel/2.0/process/executable}uninitializedPartnerRole
DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault
'{http://docs.o
asis-open.org/wsbpel/2.0/process/executable}uninitializedPartnerRole'
DEBUG - GeronimoLog.debug(66) | Processing an async reply from service
{http://e
clipse.org/bpel/sample}HelloWorldService
DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
DEBUG - GeronimoLog.debug(66) | Handling response for MEX
{MyRoleMex#hqejbhcnphr
3h15wi6ctjc [Client hqejbhcnphr3h15wi6ctjb] calling
{http://eclipse.org/bpel/sam
ple}HelloWorldService.process(...)}
DEBUG - GeronimoLog.debug(66) | Starting transaction.
DEBUG - GeronimoLog.debug(66) | Fault response message:
{http://docs.oasis-open.
org/wsbpel/2.0/process/executable}uninitializedPartnerRole
DEBUG - GeronimoLog.debug(66) | Returning fault: <?xml version='1.0'
encoding='u
tf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope
/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstrin
g
xmlns:axis2ns1="http://docs.oasis-open.org/wsbpel/2.0/process/executable">axis
2ns1:uninitializedPartnerRole</faultstring><detail
/></soapenv:Fault></soapenv:B
ody></soapenv:Envelope>
DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr3h15wi6ctjc
DEBUG - GeronimoLog.debug(66) | Comitting transaction.
DEBUG - GeronimoLog.debug(66) | Reply for
HelloWorldService.{http://eclipse.org/
bpel/sample}process
DEBUG - GeronimoLog.debug(66) | Reply message <?xml version='1.0'
encoding='utf-
8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring
x
mlns:axis2ns1="http://docs.oasis-open.org/wsbpel/2.0/process/executable">axis2ns
1:uninitializedPartnerRole</faultstring><detail
/></soapenv:Fault></soapenv:Body
></soapenv:Envelope>


-- 
NGUYEN Cong Kinh

Re: error in invoking web service with ODE

Posted by Alex Boisvert <bo...@intalio.com>.
>From the log, you seem to have missed a partnerLink binding in your
deploy.xml.  We would need your BPEL file to determine which one, but you
might be able to figure it out from this point.

alex


On Wed, Jul 30, 2008 at 8:04 AM, NGUYEN Cong Kinh <
nguyen@telecom-paristech.fr> wrote:

> Hello everybody,
>
> I am using apache-ode 1.2. There is an error when invoking a web service.
>
> Could you help me to solve my problem ? You can use the attached files to
> test. The archive of web service is given on
> http://www.tsi.enst.fr/~nguyen/TestWsBpel.war<http://www.tsi.enst.fr/%7Enguyen/TestWsBpel.war>
>
>
> Thank in advance
>
> DEBUG - GeronimoLog.debug(66) | Received request message for
> HelloWorldService.{
> http://eclipse.org/bpel/sample}process<http://eclipse.org/bpel/sample%7Dprocess>
> DEBUG - GeronimoLog.debug(66) | Starting transaction.
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname
> {http://eclipse.org/bpel/sample
> }HelloWorldService -->
> BpelProcess[{http://eclipse.org/bpel/sample}HelloWorld-96<http://eclipse.org/bpel/sample%7DHelloWorld-96>
> ]
> DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
> name=process
> style=REQUEST_RESPONSE,1
> Input: name=null
> Message: name={http://eclipse.org/bpel/sample}HelloWorldRequestMessage<http://eclipse.org/bpel/sample%7DHelloWorldRequestMessage>
> Part: name=payload
> elementName={http://eclipse.org/bpel/sample}HelloWorldRequest<http://eclipse.org/bpel/sample%7DHelloWorldRequest>
> Output: name=null
> Message: name={http://eclipse.org/bpel/sample}HelloWorldResponseMessage<http://eclipse.org/bpel/sample%7DHelloWorldResponseMessage>
> Part: name=payload
> elementName={http://eclipse.org/bpel/sample}HelloWorldResponse<http://eclipse.org/bpel/sample%7DHelloWorldResponse>from
> service {htt
> p://eclipse.org/bpel/sample}HelloWorldService<http://eclipse.org/bpel/sample%7DHelloWorldService>
> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
> {MyRoleMex#hqejbhcnphr3h1
> 5wi6ctjc [Client hqejbhcnphr3h15wi6ctjb] calling
> {http://eclipse.org/bpel/sample
> }HelloWorldService.process(...)}
> DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
> encoding="
> UTF-8"?>
> <message><payload><HelloWorldRequest
> xmlns="http://eclipse.org/bpel/sample" xmln
> s:q0="http://eclipse.org/bpel/sample"
> xmlns:soapenv="http://schemas.xmlsoap.org/
> soap/envelope/ <http://schemas.xmlsoap.org/soap/envelope/>" xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://w
> ww.w3.org/2001/XMLSchema-instance">
>      <input>Hello, I am student</input>
>    </HelloWorldRequest></payload></message>
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname
> {http://eclipse.org/bpel/sample
> }HelloWorldService -->
> BpelProcess[{http://eclipse.org/bpel/sample}HelloWorld-96<http://eclipse.org/bpel/sample%7DHelloWorld-96>
> ]
> DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
> BpelProcess[{http://eclip
> se.org/bpel/sample}HelloWorld-96<http://se.org/bpel/sample%7DHelloWorld-96>
> ]
> DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
> {MyRoleMex#hqejbhcnphr3h15wi6c
> tjc [Client hqejbhcnphr3h15wi6ctjb] calling
> {http://eclipse.org/bpel/sample}Hell<http://eclipse.org/bpel/sample%7DHell>
> oWorldService.process(...)}
> DEBUG - GeronimoLog.debug(66) | Commiting transaction.
> DEBUG - GeronimoLog.debug(66) | >>
> handleWorkEvent(jobData={mexid=hqejbhcnphr3h1
> 5wi6ctjc, pid={http://eclipse.org/bpel/sample}HelloWorld-96<http://eclipse.org/bpel/sample%7DHelloWorld-96>
> ,
> type=INVOKE_INTERNA
> L})
> DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
> hqejbhcnphr3h15wi
> 6ctjc
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.myRoleSessi
> onId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.myRoleSessi
> onId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property
> org.apache.ode.bpel.partnerRole
> SessionId = null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: 20.process: MSG RCVD keys=[]
> mySession
> Id=null partnerSessionId=null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: 20.process: routing failed,
> CREATING N
> EW INSTANCE
> DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for
> instance 1390
> 1. INDEXED STATE={}
> DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING
> CORRELATOR
> 20.process
> DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING
> for NEW
> INSTANCE match
> DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance
> state f
> rom ready to active
> DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND match
> for N
> EW instance mexRef={MyRoleMex#hqejbhcnphr3h15wi6ctjc [Client
> hqejbhcnphr3h15wi6c
> tjb] calling {
> http://eclipse.org/bpel/sample}HelloWorldService.process(...)<http://eclipse.org/bpel/sample%7DHelloWorldService.process%28...%29>
> }
> ERROR - GeronimoLog.error(104) |
> org.apache.ode.bpel.common.FaultException: {htt
> p://
> docs.oasis-open.org/wsbpel/2.0/process/executable}uninitializedPartnerRole<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DuninitializedPartnerRole>
> DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault
> '{http://docs.o
> asis-open.org/wsbpel/2.0/process/executable}uninitializedPartnerRole<http://asis-open.org/wsbpel/2.0/process/executable%7DuninitializedPartnerRole>
> '
> DEBUG - GeronimoLog.debug(66) | Processing an async reply from service
> {http://e
> clipse.org/bpel/sample}HelloWorldService<http://clipse.org/bpel/sample%7DHelloWorldService>
> DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
> DEBUG - GeronimoLog.debug(66) | Handling response for MEX
> {MyRoleMex#hqejbhcnphr
> 3h15wi6ctjc [Client hqejbhcnphr3h15wi6ctjb] calling
> {http://eclipse.org/bpel/sam
> ple}HelloWorldService.process(...)}
> DEBUG - GeronimoLog.debug(66) | Starting transaction.
> DEBUG - GeronimoLog.debug(66) | Fault response message:
> {http://docs.oasis-open.
> org/wsbpel/2.0/process/executable}uninitializedPartnerRole
> DEBUG - GeronimoLog.debug(66) | Returning fault: <?xml version='1.0'
> encoding='u
> tf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope
>
> /"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstrin
> g
> xmlns:axis2ns1="http://docs.oasis-open.org/wsbpel/2.0/process/executable
> ">axis
> 2ns1:uninitializedPartnerRole</faultstring><detail
> /></soapenv:Fault></soapenv:B
> ody></soapenv:Envelope>
> DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr3h15wi6ctjc
> DEBUG - GeronimoLog.debug(66) | Comitting transaction.
> DEBUG - GeronimoLog.debug(66) | Reply for
> HelloWorldService.{http://eclipse.org/
> bpel/sample}process <http://eclipse.org/bpel/sample%7Dprocess>
> DEBUG - GeronimoLog.debug(66) | Reply message <?xml version='1.0'
> encoding='utf-
> 8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>
> <soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring
> x
> mlns:axis2ns1="http://docs.oasis-open.org/wsbpel/2.0/process/executable
> ">axis2ns
> 1:uninitializedPartnerRole</faultstring><detail
> /></soapenv:Fault></soapenv:Body
> ></soapenv:Envelope>
>
>
> --
> NGUYEN Cong Kinh