ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Kruitbosch" <d.kruitbo...@rdc.nl>
Subject Question about initialize variables and selectionFailure
Date Wed, 15 Oct 2008 06:17:02 GMT
Hi,

 

I've been reading up on the BPEL 2.0 standard and it states that all
variables should be initialized before they can be used (by way of
creating an assign activity to copy a 'literal' to the actual variable).


I've created the attached process and it fails to run in ODE 1.2 (on
tomcat 5.5). When I run the same process in the BPEL SE of OpenESB it
runs fine. So my questions are:

-          Are my variables initialized properly?

-          Why do I get a selectionFailure in ODE, and not in OpenESB
(both are BPEL 2.0 complaint)

 

This is (part of) the logging I'm getting in ODE:

 

DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND
match for NEW instance mexRef={MyRoleMex#hqejbhcnphr3o6s86m1xae [Client
hqejbhcnphr3o6s86m1xad] calling
{http://nsp.rdc.nl/RDC/diensten}as13Service.opvragenAS13(...)}

DEBUG - GeronimoLog.debug(66) | Initialize variable: name={Variable
__PROCESS_SCOPE:as13.OpvragenAS13In:OMessageVarType#42} value=<?xml
version="1.0" encoding="UTF-8"?>

<message><opvragenAS13><opvragenAS13 xmlns="http://nsp.rdc.nl/RDC"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

   <Identificatie xmlns="http://nsp.rdc.nl/RDC">

    <Gebruikersnummer
xmlns="http://nsp.rdc.nl/RDC">rdc931179999</Gebruikersnummer>

    <Rol xmlns="http://nsp.rdc.nl/RDC">TEST</Rol>

    <Route xmlns="http://nsp.rdc.nl/RDC">WEBAPP</Route>

    <TransactieID xmlns="http://nsp.rdc.nl/RDC">123456789</TransactieID>

   </Identificatie>

   <Kenteken xmlns="http://nsp.rdc.nl/RDC">48SJXT</Kenteken>

  </opvragenAS13></opvragenAS13></message>

DEBUG - GeronimoLog.debug(66) | <empty name=OEmpty#51>

DEBUG - GeronimoLog.debug(66) | Assign.copy({OCopy {OXPath10Expression
$OpvragenVoertuigBasisIn.opvragenVoertuigBasis/ns0:Kenteken}={OXPath10Ex
pression $OpvragenAS13In.opvragenAS13/ns0:Kenteken}})

DEBUG - GeronimoLog.debug(66) | Evaluating FROM expression
"{OXPath10Expression $OpvragenAS13In.opvragenAS13/ns0:Kenteken}".

DEBUG - GeronimoLog.debug(66) |
translateNamespacePrefixToUri()=http://docs.oasis-open.org/wsbpel/2.0/pr
ocess/executable

DEBUG - GeronimoLog.debug(66) |
translateNamespacePrefixToUri(ns0)=http://nsp.rdc.nl/RDC

DEBUG - GeronimoLog.debug(66) |
translateNamespacePrefixToUri(ns0)=http://nsp.rdc.nl/RDC

DEBUG - GeronimoLog.debug(66) | lvalue after eval [message: null]

DEBUG - GeronimoLog.debug(66) | content <?xml version="1.0"
encoding="UTF-8"?>

<message><opvragenVoertuigBasis><opvragenVoertuigBasis
xmlns="http://nsp.rdc.nl/RDC"/></opvragenVoertuigBasis></message>

DEBUG - GeronimoLog.debug(66) |
translateNamespacePrefixToUri()=http://docs.oasis-open.org/wsbpel/2.0/pr
ocess/executable

ERROR - GeronimoLog.error(104) | Assignment Fault:
{http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailu
re,lineNo=33,faultExplanation=No results for expression:
{OXPath10Expression
$OpvragenVoertuigBasisIn.opvragenVoertuigBasis/ns0:Kenteken}

DEBUG - GeronimoLog.debug(66) | ({OScope '__PROCESS_SCOPE:as13'
id=3},TerminationChannel#1,ParentScopeChannel#2): has a fault handler
for
{http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailu
re: {OCatch faultName=null, faultVariable=null}

 

 

Any thoughts on this would be great.

 

Kind regards,

 

Danny

 

P.S. I've attached my bpel file. 


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