ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matth...@offthelip.org>
Subject Re: Process ID and Instance ID in SOAP header
Date Thu, 24 Apr 2008 21:13:57 GMT
On Thu, Apr 24, 2008 at 1:19 PM, Mark Panahi <mpanahi@gmail.com> wrote:

> > 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?
>

It's an element so you'll need a schema for it.

Cheers,
Matthieu


>
> Thanks,
>
> Mark
>

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