Vikas,

Please check our FAQ. I could not check your bpel file, but chances are high that your output variable has not been properly initialized. Please make sure that each element or attribute a to-spec is pointing to exists already in the XML structure stored in the target variable.

Grüße/Regards
  Tammo van Lessen

(brief, because sent from iPhone)

Am 30.03.2010 um 16:45 schrieb "Garg, Vikas" <[email protected]>:

Hi All,



Can someone please let me know how can I resolve the problem described in my earlier email (see below)? I am stuck in my work. Please let me know if you need any further information from me.



Thanks in advance.



Regards,

Vikas



From: Garg, Vikas [mailto:[email protected]]
Sent: Tuesday, March 30, 2010 5:34 PM
To: [email protected]
Cc: Tammo van Lessen
Subject: Invoking External Web Service results in Fault "selectionFailure"



Hi All,



I have written a simple web service which would take input as a first name, middle name and last name of a person and would return me the complete name of a person. For an example, Input to the web service would be “Vikas”, “Premchand”, “Garg” and the output would be “Vikas Premchand Garg”. This is a very simple web service that I started with.



I have written a BPEL process which would invoke the external web service (explained above). I was able to successfully deploy my BPEL process into an Apache ODE. Now, when I try to call the BPEL process and pass all the necessary inputs, I get an error as “axis2ns1:selec tionFailure”. Please see the below exception. I have attached the co mplete log file along with the BPEL process and the wsdl files.



DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{http://docs.oasis-open.org/wsbpel/2.0/process/executable }selectionFailure'

DEBUG - GeronimoLog.debug(66) | Processing an async reply from service {http://callerProcess}CallerProcessService

DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback

DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback

DEBUG - GeronimoLog.debug(66) | Handling response for MEX {MyRoleMex#hqejbhcnphr55p9li2qw4d [Client hqejbhcnphr55p9li2qw4c] calling {http://callerProcess}CallerProcessService.process(...)}

DEBUG - GeronimoLog.debug(66) | Starting transaction.

DEBUG - GeronimoLog.debug(66) | Fault response message: {http://docs.oasis-open.org/wsbpel/2.0/process/executable }selectionFailure

DEBUG - GeronimoLog.debug(66) | Returning fault: <?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 xmlns:axis2ns1="http://docs.oasis-open.org/wsbpel/2.0/process/executable ">axis2ns1:selectionFailure</faultstring><detail /></soapenv:Fault></ soapenv:Body></soapenv:Envelope>

DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr55p9li2qw4d

DEBUG - GeronimoLog.debug(66) | Comitting transaction.

DEBUG - GeronimoLog.debug(66) | Reply for CallerProcess.{http://callerProcess }process



Please let me know how can I resolve this problem.



Help in any form would be appreciated.



Thanks,

Vikas

Reply via email to