ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Weerasiri <ddweeras...@gmail.com>
Subject Re: Need Help to write BPEL Process
Date Tue, 14 Jul 2009 11:31:23 GMT
Hi Maruko,
To invoke a partner Web service you can use the <invoke /> (for more details
on <invoke/> Refer

So If you need to use two services together, the basic building block will
be <invoke />.

The following code snippet invoke a service specified in
InvokeMultiplierService2. And the result is assigned to the input variable
of the next <invoke/> which is InvokeSquareService.

<invoke name="InvokeMultiplierService2" partnerLink="MultiplierPartnerLink"
operation="multiply" portType="ns1:MultiplierServicePortType"
inputVariable="MultiplyInput1" outputVariable="MultiplyOutput1"/>
        <assign name="Assign3">
                    <literal xml:space="preserve">
            <tns:square xmlns:tns="http://ws.apache.org/axis2" xmlns:xsi="
                <to part="parameters" variable="SquareInput">
        <invoke name="InvokeSquareService" partnerLink="SquarePartnerLink"
operation="square" xmlns:ns2="http://SquareService.wsdl"
portType="ns2:SquareServicePortType" inputVariable="SquareInput"

Hope this will help.
Denis Weerasiri

On Sat, Jul 11, 2009 at 12:44 AM, Maruko <bsarita_85@hotmail.fr> wrote:

> Thank you for replying me :),in fact i need how to compose two web services
> or more;i'm waiting for your replys
> Thank you in advance
> --
> View this message in context:
> http://www.nabble.com/Need-Help-to-write-BPEL-Process-tp24426660p24432799.html
> Sent from the Apache Ode User mailing list archive at Nabble.com.

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