ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Panahi" <mpan...@gmail.com>
Subject Re: Process ID and Instance ID in SOAP header
Date Thu, 24 Apr 2008 20:19:21 GMT
> In SOAP, headers are always elements so you can't set a simple string to be
> sent in a header, you will have to wrap it. See all the way down here:
>
> http://ode.apache.org/headers-handling.html
>
> What you can do is use a literal to first prepare your header element.
> Something like:
>
>           <copy>
>
> <from><literal><myns:headerElemt></myns:headerElmt></literal></from>
>               <to variable="tempEltmVar"/>
>           </copy>
>            <copy>
>               <from>$ode:pid</from>
>                <to>$tempEltmVar/myns:headerElemt</to>
>           </copy>
>           <copy>
>               <from>$tempEltmVar</from>
>                <to variable="Variable1" header="someHeader"/>
>           </copy>
>

How do I declare tempEltmVar? As a string, or do I need to create a schema
for it and declare it as an element?

Thanks,

Mark

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