> 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

Reply via email to