1 Reply Latest reply on Dec 23, 2005 7:44 AM by aguizar

    Is jBPM BPEL extension allow...

    fwshk

      Excuse me,

      I would like to know is jBPM BPEL extension allow the following usage:

      1. Invoke external partnerLink with only input (One-Way invoke)?

      2. Invoke external partnerLink with int type in message's part

      <message name="BuyingBookRequestMessage">
       <part type="xsd:int" name="payload"/>
      </message>
      


      3. Invoke external partnerLink which message is a complexType?
      <types>
       <schema targetNamespace="http://learning/BuyingBook"
       xmlns="http://www.w3.org/2001/XMLSchema">
       <complexType name="BuyingBookRequestType">
       <sequence>
       <element name="inputA" type="string"/>
       <element name="inputB" type="string"/>
       <element name="inputC" type="string"/>
       </sequence>
       </complexType>
       </schema>
      </types>
      
      <message name="BuyingBookRequestMessage">
       <part type="impl:BuyingBookRequestType" name="payload"/>
      </message>
      <message name="BuyingBookResponseMessage"/>
      
      <portType name="BuyingBook">
       <operation name="order">
       <input message="my:BuyingBookRequestMessage"/>
       <output message="my:BuyingBookResponseMessage"/>
       </operation>
      </portType>
      


      4. Invoke external partnerLink which operation's message contain name?
      <portType name="BuyingBook">
       <operation name="order">
       <input message="my:RequestMessage" name="input"/>
       <output message="my:ResponseMessage" name="output"/>
       </operation>
      </portType>
      


      Thank you very much for spending time in my post ^^
      Roy

        • 1. Re: Is jBPM BPEL extension allow...
          aguizar

          I'll try to answer your questions before you do ;-)

          Altough the examples do not exercise it, the invocation subsystem is practically complete. There are a couple of test suites that demostrate it, altough you have to set them up manually.
          Wait 1-2 business days for alpha 4 to be released
          Go to test/webservices/translator
          Edit build.properties to match your environment
          Start JBoss
          Run target deploy of build.xml
          Go to the base directory
          Run target test.server

          PortCallerTest exercises one-way, request/response and request/fault scenarios for both RPC and document styles.

          In fact, simple and complex types are treated the same way. Elements are a slightly different animal. In the end it's just a matter of copying data from the process variables to the right parts of the SOAP envelope.

          Your last question left me thinking. From my last reading of the SOAP 1.1 spec and WS-I BP 1.0, setting a name for the input and output of an operation has no effect on the SOAP envelope. The operation wrapper is always named just like the operation in the request message. For the response, the operation name has a "Response" suffix. Did I miss anything?