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
<?xml version="1.0" encoding="UTF-8"?> <deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd" xmlns:pns="http://eclipse.org/bpel/sample" xmlns:wns="http://eclipse.org/bpel/sample"> <process name="pns:HelloWorld"> <active>true</active> <provide partnerLink="client"> <service name="wns:HelloWorldService" port="HelloWorldPort"/> </provide> </process> </deploy>
HelloWorld.wsdl
Description: XML document
