ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafal Rusin <ra...@intalio.com>
Subject Re: Changing the IP dynamically using XPath changes < to &lt;
Date Tue, 10 Aug 2010 06:57:53 GMT
Hello,

you need to convert string into node using saxon:parse. Please check out this:
http://markmail.org/thread/zzcugme3c7z6l4zt

On Tue, Aug 10, 2010 at 1:10 AM, Christian Bruckhoff
<Christian.Bruckhoff@gmx.de> wrote:
> Hi.
>
> I want to create a dynamic invoke of a web service. For this i need to copy
> the IPAddress from a variable to the service-ref variable. My approach for
> solving this problem was the one shown below. This assign will make the <
> occur as &lt; in the SOAP message of the invoke. How can i solve this
> problem?
>
> TIA
> Christian
>
> -------
>
> <bpel:assign validate="no" name="assignGetTimeSeriesEndpoint">
>  <bpel:copy>
>    <bpel:from>
>      <![CDATA[concat('<sref:service-ref
> xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref"><EndpointReference
> xmlns="http://www.w3.org/2005/08/addressing"><Address>',concat('http://',
> $waterGauge/wg:ipAddress, $waterGauge/wg:getTimeSeriesPath)
> ,'</Address></EndpointReference></sref:service-ref>')]]>
>    </bpel:from>
>    <bpel:to variable="getTimeSeriesEndpoint"></bpel:to>
>  </bpel:copy>
>  <bpel:copy>
>    <bpel:from>$getTimeSeriesEndpoint</bpel:from>
>    <bpel:to partnerLink="getTimeSeriesPL"></bpel:to>
>  </bpel:copy>
> </bpel:assign>
> <bpel:invoke name="getTimeSeries" partnerLink="getTimeSeriesPL"
> operation="getTimeSeries" portType="xhydrotns:getTimeSeries_WebService"
> inputVariable="getTimeSeriesRequest" outputVariable="getTimeSeriesResponse"
> />
>



-- 
Regards,
Rafał Rusin
http://rrusin.blogspot.com

Mime
View raw message