Hi,

  I'm new to the list and to ODE (also to BPEL). I'm trying to run
some basic BPEL processes, and in this case I keep getting a
selectionFailure when trying to run the following:

<variables>
     <variable name="myVar" messageType="test:HelloMessage"/>
     <variable name="pruebaUsuarioInput"
messageType="pusu:creaUsuarioRequest" />
</variables>

<assign name="inicializadorBrutal">
                                <copy>
                                        <from>
                                                <literal>
                                                        <pusu:parameters>
                                                                
<pusu:username>brito</pusu:username>
                                                                
<pusu:password>bruword</pusu:password>
                                                                
<pusu:email>[email protected]</pusu:email>
                                                        </pusu:parameters>
                                                </literal>
                                        </from>
                                        <to variable="pruebaUsuarioInput" 
part="parameters"/>
                                </copy> 
        <copy>
              <from part="TestPart" variable="myVar">
              <to>$pruebaUsuarioInput.parameters/username</to>
        </copy>
</assign>

  The first copy works perfectly but the second keeps giving me
problems. This was the code as generated using NetBeans BPEL plugin.
Trying with Eclipse BPEL, generates the following for the second copy:

<copy>
              <bpel:from part="TestPart" variable="myVar"></bpel:from>
              <bpel:to part="parameters" variable="pruebaUsuarioInput">
                    <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
                        <![CDATA[username]]>
                    </bpel:query>
                </bpel:to>
</copy>

but I get the same selectionFailure error.

  I'm trying to run this on ODE 1.3.4 on tomcat 5.5.31.

Regards,

Pablo


PS: These are the definitions for HelloMessage and creaUsuarioRequest:

    <wsdl:message name="HelloMessage">
        <wsdl:part name="TestPart" type="xsd:string"/>
    </wsdl:message>


  <wsdl:message name="creaUsuarioRequest">
    <wsdl:part element="tns:creaUsuario" name="parameters"/>
  </wsdl:message>
 <wsdl:types>
    <xsd:schema targetNamespace="http://www.example.org/PruebaUsuario/";>
      <xsd:element name="creaUsuario">
        <xsd:complexType>
          <xsd:sequence>
                <xsd:element name="username" type="xsd:string"/>
                <xsd:element name="password" type="xsd:string"/>
                <xsd:element name="email" type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="creaUsuarioResponse">
        <xsd:complexType>
          <xsd:sequence>

          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
  </wsdl:types>

Reply via email to