ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Weerasiri <ddweeras...@gmail.com>
Subject Re: axis2ns3:selectionFailure
Date Fri, 02 Sep 2011 05:55:06 GMT
Hi mark,
The error log is
is 15:07:48,421 INFO  [ASSIGN] Assignment Fault: {
http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=72,faultExplanation=Noresults
for expression: {OXPath10Expression ns:o_CC_Instance/xsd:str_CardType}

Can you re-check whether your XPath expression is correct.?
This expression, "ns:o_CC_Instance/xsd:str_CardType" will not work with
following payload.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:q0="org.booking.travel" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <q0:TravelBookingProcessRequest>
 <q0:airline>BHHHHHHHHq0:airline>

 <q0:arrival>JHFJHFRJFHJFJHFJHFHJq0:arrival>

 <q0:cardNumber>HGRFHHJDJHFJFJHFJq0:cardNumber>

 <q0:cardType>HFKFIIRFOIGJKFHJDJUq0:cardType>

 <q0:departure>OUFUKFKMHVJHDUYYKFq0:departure>

 <q0:source>KIYFKFKKKFKFLLLOVLq0:source>

 <q0:target>UFKFKKJFJ,VK,GFLKGq0:target>

 q0:TravelBookingProcessRequest>
 soapenv:Body>
 soapenv:Envelope>


On Fri, Sep 2, 2011 at 10:53 AM, Mark Bullathsinghalage Cooray <
mbcooray@groupwise.swin.edu.au> wrote:

> Hi All,
>
>
> I have created a test web service and when I pass the pay load
>
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:q0="org.booking.travel" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> - <soapenv:Body>
> - <q0:TravelBookingProcessRequest>
>  <q0:airline>BHHHHHHHHq0:airline>
>
>  <q0:arrival>JHFJHFRJFHJFJHFJHFHJq0:arrival>
>
>  <q0:cardNumber>HGRFHHJDJHFJFJHFJq0:cardNumber>
>
>  <q0:cardType>HFKFIIRFOIGJKFHJDJUq0:cardType>
>
>  <q0:departure>OUFUKFKMHVJHDUYYKFq0:departure>
>
>  <q0:source>KIYFKFKKKFKFLLLOVLq0:source>
>
>  <q0:target>UFKFKKJFJ,VK,GFLKGq0:target>
>
>  q0:TravelBookingProcessRequest>
>
>
>  soapenv:Body>
>
>
>  soapenv:Envelope>
>
>
>
>
> I am getting following error
>
>
> - <soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/">
> - <soapenv:Body>
> - <soapenv:Fault>
>  <faultcode>soapenv:Serverfaultcode>
>
>  <faultstring xmlns:axis2ns3="
> http://docs.oasis-open.org/wsbpel/2.0/process/executable
> ">axis2ns3:selectionFailurefaultstring>
>
>  <detail />
>
>  soapenv:Fault>
>
>
>  soapenv:Body>
>
>
>  soapenv:Envelope>
>
>
>
>
>
> I enabled the Logs and the Logs say Following
>
>
> 15:07:48,335 DEBUG [ODEService] Starting transaction.
> 15:07:48,335 DEBUG [BpelEngineImpl] Routed: svcQname {org.booking.travel}TravelBookingProcess
> --> [BpelProcess[{org.booking.travel}TravelBookingProcess-6]]
> 15:07:48,337 DEBUG [ODEService] ODE routed to operation Operation:
> name=process
> style=REQUEST_RESPONSE,1
> Input: name=null
> Message: name={org.booking.travel}TravelBookingProcessRequestMessage
> Part: name=payload
> elementName={org.booking.travel}TravelBookingProcessRequest
> Output: name=null
> Message: name={org.booking.travel}TravelBookingProcessResponseMessage
> Part: name=payload
> elementName={org.booking.travel}TravelBookingProcessResponse from service
> {org.booking.travel}TravelBookingProcess
> 15:07:48,337 DEBUG [MessageExchangeImpl] SET MEX property isTwoWay = true
> 15:07:48,341 DEBUG [ODEService] Invoking ODE using MEX
> {MyRoleMex#hqejbhcnphr6kabxjpc8t2 [Client hqejbhcnphr6kabxjpc8t1] calling {
> org.booking.travel}TravelBookingProcess.process(...)}
> 15:07:48,342 DEBUG [ODEService] Message content:
>
>      BHHHHHHHH
>      JHFJHFRJFHJFJHFJHFHJ
>      HGRFHHJDJHFJFJHFJ
>      HFKFIIRFOIGJKFHJDJU
>      OUFUKFKMHVJHDUYYKF
>      KIYFKFKKKFKFLLLOVL
>      UFKFKKJFJ,VK,GFLKG
>
> 15:07:48,343 DEBUG [MyRoleMessageExchangeImpl] invoke() EPR= null ==>
> BpelProcess[{org.booking.travel}TravelBookingProcess-6]
> 15:07:48,345 DEBUG [ODEService] Commiting ODE MEX
> {MyRoleMex#hqejbhcnphr6kabxjpc8t2 [Client hqejbhcnphr6kabxjpc8t1] calling {
> org.booking.travel}TravelBookingProcess.process(...)}
> 15:07:48,345 DEBUG [ODEService] Commiting transaction.
> 15:07:48,372 DEBUG [BpelEngineImpl] handleJobDetails: InvokeInternal event
> for mexid hqejbhcnphr6kabxjpc8t2
> 15:07:48,380 DEBUG [BpelProcess] >> handleJobDetails(jobData=JobDetails(
> instanceId: null mexId: hqejbhcnphr6kabxjpc8t2 processId: {
> org.booking.travel}TravelBookingProcess-6 type: INVOKE_INTERNAL channel:
> null correlatorId: null correlationKeySet: null retryCount: null inMem:
> false detailsExt: {}))
> 15:07:48,380 DEBUG [BpelProcess] InvokeInternal event for mexid
> hqejbhcnphr6kabxjpc8t2
> 15:07:48,393 DEBUG [MessageExchangeImpl] GET MEX property
> org.apache.ode.bpel.myRoleSessionId = null
> 15:07:48,393 DEBUG [MessageExchangeImpl] GET MEX property
> org.apache.ode.bpel.myRoleSessionId = null
> 15:07:48,393 DEBUG [MessageExchangeImpl] GET MEX property
> org.apache.ode.bpel.partnerRoleSessionId = null
> 15:07:48,393 DEBUG [BpelProcess] INPUTMSG: client.process: MSG RCVD keys=[]
> mySessionId=null partnerSessionId=null
> 15:07:48,397 DEBUG [BpelProcess] INPUTMSG: client.process: routing failed,
> CREATING NEW INSTANCE
> 15:07:48,402 DEBUG [BpelRuntimeContextImpl] BpelRuntimeContextImpl created
> for instance 3603. INDEXED STATE={}
> 15:07:48,409 DEBUG [BpelProcess] SELECT: PickResponseChannel#9: USING
> CORRELATOR client.process
> 15:07:48,413 DEBUG [BpelProcess] SELECT: PickResponseChannel#9: CHECKING
> for NEW INSTANCE match
> 15:07:48,413 DEBUG [BpelProcess] INPUTMSGMATCH: Changing process instance
> state from ready to active
> 15:07:48,414 DEBUG [BpelProcess] SELECT: PickResponseChannel#9: FOUND match
> for NEW instance mexRef={MyRoleMex#hqejbhcnphr6kabxjpc8t2 [Client
> hqejbhcnphr6kabxjpc8t1] calling {org.booking.travel
> }TravelBookingProcess.process(...)}
> 15:07:48,421 INFO  [ASSIGN] Assignment Fault: {
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=72,faultExplanation=Noresults
for expression: {OXPath10Expression
> ns:o_CC_Instance/xsd:str_CardType}
> 15:07:48,436 DEBUG [BpelProcess] ProcessImpl completed with fault '{
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure'
> 15:07:48,439 DEBUG [MessageExchangeContextImpl] Processing an async reply
> from service {org.booking.travel}TravelBookingProcess
> 15:07:48,570 DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 15:07:48,571 DEBUG [ODEService] Handling response for MEX
> {MyRoleMex#hqejbhcnphr6kabxjpc8t2 [Client hqejbhcnphr6kabxjpc8t1] calling {
> org.booking.travel}TravelBookingProcess.process(...)}
> 15:07:48,571 DEBUG [ODEService] Starting transaction.
> 15:07:48,571 DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 15:07:48,578 DEBUG [ODEService] Fault response message: {
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure
> 15:07:48,580 DEBUG [ODEService] Returning fault:
> soapenv:Serveraxis2ns3:selectionFailure
> 15:07:48,580 DEBUG [MyRoleMessageExchangeImpl] Releasing mex
> hqejbhcnphr6kabxjpc8t2
> 15:07:48,580 DEBUG [ODEService] Comitting transaction.
> 15:07:48,581 DEBUG [ODEMessageReceiver] Reply for TravelBookingProcess.{
> org.booking.travel}process
> 15:07:48,582 DEBUG [ODEMessageReceiver] Reply message
> soapenv:Serveraxis2ns3:selectionFailure
>
>
>
>
> Please help me!!
>
>
>
>


-- 
Thanks,
Denis
----------------------------------------------------------
*Denis Weerasiri*
*
*
 <http://wso2.com/>**** <http://wso2.com/>*site: **
https://sites.google.com/site/ddweerasiri/*<https://sites.google.com/site/ddweerasiri/>
*blog: **http://ddweerasiri.blogspot.com* <http://ddweerasiri.blogspot.com/>
*
twitter: **http://twitter.com/ddweerasiri* <http://twitter.com/ddweerasiri>*
linked-in: **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message