have a look at this.
 --
al



________________________________
From: LeeMike <[email protected]>
To: [email protected]
Sent: Sat, 29 May, 2010 4:07:22
Subject: Re: HELP selectionFailure invoking the BPEL process from java


Hi,the console output:
Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
DEBUG - GeronimoLog.debug(66) | Checking for Service using target endpoint
address : http://localhost:8080/ode/processes/bpel/CalcServicePort
DEBUG - GeronimoLog.debug(66) | Found service in registry from name
bpel/CalcServicePort: bpel/CalcServicePort
DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
using the following WSAAction: http://www.icrm.org/test/process
DEBUG - GeronimoLog.debug(66) | Received request message for
bpel/CalcServicePort.{http://www.icrm.org/test/}process
DEBUG - GeronimoLog.debug(66) | Starting transaction.
DEBUG - GeronimoLog.debug(66) | Routed: svcQname
{http://www.icrm.org/test/}CalcService -->
BpelProcess[{http://www.icrm.org/test/}CalcServiceProcess-12]
DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
name=process
style=REQUEST_RESPONSE,1
Input: name=null
Message: name={http://www.icrm.org/test/}CalcServiceProcessRequestMessage
Part: name=payload
elementName={http://www.icrm.org/test/}CalcServiceProcessRequest
Output: name=null
Message: name={http://www.icrm.org/test/}CalcServiceProcessResponseMessage
Part: name=payload
elementName={http://www.icrm.org/test/}CalcServiceProcessResponse from
service {http://www.icrm.org/test/}CalcService
DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
{MyRoleMex#hqejbhcnphr5ba8veixhgj [Client hqejbhcnphr5ba8veixhgi] calling
{http://www.icrm.org/test/}CalcService.process(...)}
DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
encoding="UTF-8"?>
<message><payload><CalcServiceProcessRequest
xmlns="http://www.icrm.org/test/"; xsi:type="xsd:string"
xmlns:ns1="http://www.icrm.org/test/";
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>add</CalcServiceProcessRequest></payload></message>
DEBUG - GeronimoLog.debug(66) | Routed: svcQname
{http://www.icrm.org/test/}CalcService -->
BpelProcess[{http://www.icrm.org/test/}CalcServiceProcess-12]
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
BpelProcess[{http://www.icrm.org/test/}CalcServiceProcess-12]
DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
{MyRoleMex#hqejbhcnphr5ba8veixhgj [Client hqejbhcnphr5ba8veixhgi] calling
{http://www.icrm.org/test/}CalcService.process(...)}
DEBUG - GeronimoLog.debug(66) | Commiting transaction.
DEBUG - GeronimoLog.debug(66) | >>
handleWorkEvent(jobData={type=INVOKE_INTERNAL, mexid=hqejbhcnphr5ba8veixhgj,
pid={http://www.icrm.org/test/}CalcServiceProcess-12})
DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
hqejbhcnphr5ba8veixhgj
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: 26.process: MSG RCVD keys=[]
mySessionId=null partnerSessionId=null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: 26.process: routing failed,
CREATING NEW INSTANCE
DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for instance
3153. INDEXED STATE={}
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING
CORRELATOR 26.process
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#hqejbhcnphr5ba8veixhgj [Client
hqejbhcnphr5ba8veixhgi] calling
{http://www.icrm.org/test/}CalcService.process(...)}
ERROR - GeronimoLog.error(104) | Assignment Fault:
{http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=159,faultExplanation=No
results for expression: {OXPath10Expression tns:left}
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://www.icrm.org/test/}CalcService
DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
DEBUG - GeronimoLog.debug(66) | Handling response for MEX
{MyRoleMex#hqejbhcnphr5ba8veixhgj [Client hqejbhcnphr5ba8veixhgi] calling
{http://www.icrm.org/test/}CalcService.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:axis2ns3="http://docs.oasis-open.org/wsbpel/2.0/process/executable";>axis2ns3:selectionFailure</faultstring><detail
/></soapenv:Fault></soapenv:Body></soapenv:Envelope>
DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr5ba8veixhgj
DEBUG - GeronimoLog.debug(66) | Comitting transaction.
DEBUG - GeronimoLog.debug(66) | Reply for
bpel/CalcServicePort.{http://www.icrm.org/test/}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
xmlns:axis2ns3="http://docs.oasis-open.org/wsbpel/2.0/process/executable";>axis2ns3:selectionFailure</faultstring><detail
/></soapenv:Fault></soapenv:Body></soapenv:Envelope>


Tammo van Lessen wrote:
> 
> Hi,
> 
> please increase the log level and watch for selection failures in the
> log. It then states the line number in your bpel file where the failure
> occurs. This will help to identify the problem.
> 
> HTH,
>   Tammo
> 
> On 28.05.2010 11:07, LeeMike wrote:
>> 
>> Hello!I deploy a simple asycrhonous BPEL process in Apache ODE ,    I invoke
>> the
>> web service which is automatically generated by the BPel process with
>> below
>> statement :    
>> String
>> endpoints="http://localhost:8080/ode/processes/bpel/CalcServicePort?wsdl";;
>> Client client=new Client(new URL(endpoints));
>> Object[] res=client.invoke("process",new Object[]{"add",new
>> Integer(3),new
>> Integer(4)});
>> System.out.println("result="+(Integer)res[0]);
>> But I get an error:
>> org.codehaus.xfire.fault.XFireFault: axis2ns1:selectionFailure
>>     at
>> org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31)
>>     at
>> org.codehaus.xfire.fault.SoapFaultSerializer.readMessage(SoapFaultSerializer.java:28)
>>     at
>> org.codehaus.xfire.soap.handler.ReadHeadersHandler.checkForFault(ReadHeadersHandler.java:111)
>>     at
>> org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:67)
>>     at
>> org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
>>     at org.codehaus.xfire.client.Client.onReceive(Client.java:406)
>>     at
>> org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
>>     at
>> org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
>>     at
>> org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
>>     at
>> org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
>>     at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
>>     at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
>>     at org.codehaus.xfire.client.Client.invoke(Client.java:336)
>>     at org.codehaus.xfire.client.Client.invoke(Client.java:368)
>>     at bpel.test.main(test.java:26)
>> the soap message :
>> <?xml version='1.0' encoding='utf-8'?>
>> <soapenv:Envelope
>> mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>> <soapenv:Body>
>> <soapenv:Fault>
>> <faultcode>soapenv:Server</faultcode>
>> <faultstring
>> xmlns:axis2ns1="http://docs.oasis-pen.org/wsbpel/2.0/process/executable";>
>> axis2ns1:selectionFailure
>> </faultstring>
>> <detail />
>> </soapenv:Fault>
>> </soapenv:Body>
>> </soapenv:Envelope>
>> I send in attach all the files used to deploy, this bpel can be  invoked
>> through Myeclipse web services browser but don't sucess with my method
>> which
>> invoke this bpel process from java.
>> anyone could help me . thanks!
>> 
>> http://old.nabble.com/file/p28704468/BPEL_Add.rar BPEL_Add.rar 
> 
> -- 
> Tammo van Lessen - http://www.taval.de
> 
> 

-- 
View this message in context: 
http://old.nabble.com/HELP-selectionFailure-invoking-the-BPEL-process-from-java-tp28704468p28712873.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


      

Reply via email to