hi i need to get the result back from the service, but the value returning
AsynchronousSampleCallback: null, any how the return value is displaying the log but it not assign to the variable. , Matthieu Riou wrote:
Hi, That log looks fine to me, the one-way message gets sent properly. What is your problem exactly? Thank you, Matthieu On Mon, Dec 29, 2008 at 1:35 AM, Surendar <[email protected]> wrote:Hi all I have created the asynchronous BPEL Process using the apache ode, iam getting the null value while i am testing the web services using eclipse , i am running the apache ode inside the tomcat, i have list down the following result which i got while testing the web services DEBUG - GeronimoLog.debug(66) | Received one-way message for AsynchronousSample.{http://sample.bpel.org/bpel/sample}initiate<http://sample.bpel.org/bpel/sample%7Dinitiate> DEBUG - GeronimoLog.debug(66) | Starting transaction. DEBUG - GeronimoLog.debug(66) | Routed: svcQname { http://sample.bpel.org/bpel/sample}AsynchronousSample_asyncService<http://sample.bpel.org/bpel/sample%7DAsynchronousSample_asyncService>--> BpelProcess[{ http://sample.bpel.org/bpel/sample}HelloWorld-103<http://sample.bpel.org/bpel/sample%7DHelloWorld-103> ] DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation: name=initiate style=ONE_WAY,0 Input: name=null Message: name={http://sample.bpel.org/bpel/sample}HelloWorldRequestMessage<http://sample.bpel.org/bpel/sample%7DHelloWorldRequestMessage> Part: name=payload elementName={http://sample.bpel.org/bpel/sample}HelloWorldRequest<http://sample.bpel.org/bpel/sample%7DHelloWorldRequest>from service { http://sample.bpel.org/bpel/sample}AsynchronousSample_asyncService<http://sample.bpel.org/bpel/sample%7DAsynchronousSample_asyncService> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX {MyRoleMex#hqejbhcnphr3v739sf0gjg [Client hqejbhcnphr3v739sf0gjf] calling { http://sample.bpel.org/bpel/sample}AsynchronousSample_asyncService.initiate(...)<http://sample.bpel.org/bpel/sample%7DAsynchronousSample_asyncService.initiate%28...%29> } DEBUG - GeronimoLog.debug(66) | Message content: <?xml version="1.0" encoding="UTF-8"?> <message><payload><HelloWorldRequest xmlns=" http://sample.bpel.org/bpel/sample" xmlns:q0=" http://sample.bpel.org/bpel/sample" 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"> <input>hai</input> </HelloWorldRequest></payload></message> DEBUG - GeronimoLog.debug(66) | Routed: svcQname { http://sample.bpel.org/bpel/sample}AsynchronousSample_asyncService<http://sample.bpel.org/bpel/sample%7DAsynchronousSample_asyncService>--> BpelProcess[{ http://sample.bpel.org/bpel/sample}HelloWorld-103<http://sample.bpel.org/bpel/sample%7DHelloWorld-103> ] DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{ http://sample.bpel.org/bpel/sample}HelloWorld-103<http://sample.bpel.org/bpel/sample%7DHelloWorld-103> ] DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX {MyRoleMex#hqejbhcnphr3v739sf0gjg [Client hqejbhcnphr3v739sf0gjf] calling { http://sample.bpel.org/bpel/sample}AsynchronousSample_asyncService.initiate(...)<http://sample.bpel.org/bpel/sample%7DAsynchronousSample_asyncService.initiate%28...%29> } DEBUG - GeronimoLog.debug(66) | Commiting transaction. DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr3v739sf0gjg DEBUG - GeronimoLog.debug(66) | >> handleWorkEvent(jobData={type=INVOKE_INTERNAL, mexid=hqejbhcnphr3v739sf0gjg, pid={http://sample.bpel.org/bpel/sample}HelloWorld-103<http://sample.bpel.org/bpel/sample%7DHelloWorld-103> }) DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid hqejbhcnphr3v739sf0gjg DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.myRoleSessionId = null DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.myRoleSessionId = null DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.partnerRoleSessionId = null DEBUG - GeronimoLog.debug(66) | INPUTMSG: 12.initiate: MSG RCVD keys=[] mySessionId=null partnerSessionId=null DEBUG - GeronimoLog.debug(66) | INPUTMSG: 12.initiate: routing failed, CREATING NEW INSTANCE DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for instance 26301. INDEXED STATE={} DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING CORRELATOR 12.initiate DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING for NEW INSTANCE match DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance state from ready to active DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND match for NEW instance mexRef={MyRoleMex#hqejbhcnphr3v739sf0gjg [Client hqejbhcnphr3v739sf0gjf] calling { http://sample.bpel.org/bpel/sample}AsynchronousSample_asyncService.initiate(...)<http://sample.bpel.org/bpel/sample%7DAsynchronousSample_asyncService.initiate%28...%29> } DEBUG - GeronimoLog.debug(66) | INVOKING PARTNER: partnerLink={PartnerLinkInstance partnerLinkDecl=OPartnerLink#12,scopeInstanceId=26351}, op=onResult channel=null) DEBUG - GeronimoLog.debug(66) | INVOKE PARTNER (SEP): sessionId=hqejbhcnphr3v739sf0gji partnerSessionId=null DEBUG - GeronimoLog.debug(66) | Routed: svcQname { http://sample.bpel.org/bpel/sample}AsynchronousClient_asyncCallbackService<http://sample.bpel.org/bpel/sample%7DAsynchronousClient_asyncCallbackService>--> null DEBUG - GeronimoLog.debug(66) | Invoking a partner operation: onResult DEBUG - GeronimoLog.debug(66) | The service to invoke is the external service { http://sample.bpel.org/bpel/sample}AsynchronousClient_asyncCallbackService:AsynchronousClient_asyncCallbackPortName<http://sample.bpel.org/bpel/sample%7DAsynchronousClient_asyncCallbackService:AsynchronousClient_asyncCallbackPortName> DEBUG - GeronimoLog.debug(66) | Resolving endpoint reference <?xml version="1.0" encoding="UTF-8"?> <service-ref xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref"><EndpointReference xmlns="http://www.w3.org/2005/08/addressing"><Metadata><ServiceName xmlns="http://www.w3.org/2006/05/addressing/wsdl" EndpointName="AsynchronousClient_asyncCallbackPortName" xmlns:servicens=" http://sample.bpel.org/bpel/sample ">servicens:AsynchronousClient_asyncCallbackService</ServiceName></Metadata><Address> http://localhost:8080/ode/processes/AsynchronousSampleCallback </Address></EndpointReference></service-ref> DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.partnerRoleSessionId = null DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.myRoleSessionId = hqejbhcnphr3v739sf0gji DEBUG - GeronimoLog.debug(66) | MyRole session identifier found for myrole (callback) WSA endpoint: hqejbhcnphr3v739sf0gji DEBUG - GeronimoLog.debug(66) | Axis2 sending message to http://localhost:8080/ode/processes/AsynchronousSampleCallback using MEX {PartnerRoleMex#hqejbhcnphr3v739sf0gjj [PID { http://sample.bpel.org/bpel/sample}HelloWorld-103<http://sample.bpel.org/bpel/sample%7DHelloWorld-103>] calling [email protected](...)} DEBUG - GeronimoLog.debug(66) | Message: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><HelloWorldResponse xmlns="http://sample.bpel.org/bpel/sample"> *<result>hai</result>* </HelloWorldResponse></soapenv:Body></soapenv:Envelope> DEBUG - GeronimoLog.debug(66) | org.apache.ode.axis2.soapexternalservice$cachedoption...@1486b51 has been modified DEBUG - GeronimoLog.debug(66) | Translating IL Properties for Axis2 DEBUG - GeronimoLog.debug(66) | Sending stateful TO epr in message header using session null DEBUG - GeronimoLog.debug(66) | Sending stateful FROM epr in message header using session hqejbhcnphr3v739sf0gji DEBUG - GeronimoLog.debug(66) | Sending a message containing wsa endpoints in headers for session passing. DEBUG - GeronimoLog.debug(66) | <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing"> http://localhost:8080/ode/processes/AsynchronousSampleCallback</addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"> http://sample.bpel.org/bpel/sample/onResult</addr:Action><addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing"><addr:Address> http://www.w3.org/2005/08/addressing/none</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="http://www.w3.org/2005/08/addressing">urn:uuid:D2FFDA6A9099D75B681230541595286</addr:MessageID><intalio:callback xmlns:intalio="http://www.intalio.com/type/session"><addr:Address xmlns:addr="http://www.w3.org/2005/08/addressing"> http://localhost:8080/ode/processes/AsynchronousSample</addr:Address><intalio:session>hqejbhcnphr3v739sf0gji</intalio:session></intalio:callback></soapenv:Header><soapenv:Body><HelloWorldResponse xmlns="http://sample.bpel.org/bpel/sample"> *<result>hai</result>* </HelloWorldResponse></soapenv:Body></soapenv:Envelope> DEBUG - GeronimoLog.debug(66) | replyOneWayOk mex=hqejbhcnphr3v739sf0gjj DEBUG - GeronimoLog.debug(66) | ProcessImpl { http://sample.bpel.org/bpel/sample}HelloWorld-103<http://sample.bpel.org/bpel/sample%7DHelloWorld-103>completed OK. DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr3v739sf0gjg DEBUG - GeronimoLog.debug(66) | Checking for Service using target endpoint address : http://localhost:8080/ode/processes/AsynchronousSampleCallback DEBUG - GeronimoLog.debug(66) | Found service in registry from name *AsynchronousSampleCallback: null* can anyone tell me what could be the problem. with regards Surendar V
