Yep, that seems more like it. (And yes, dashes are allowed in XSLT variable
name which are QNames)
alex
On 6/20/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
I'm guessing, but based on the email trail I think you should have
something
more like:
<bpel:assign>
<bpel:copy>
<bpel:from>
bpws:doXslTransform("Orchestration.xsl", $ca-
response.payload, 'gal-response', $gal-response.payload)
</bpel:from>
<bpel:to variable="response" part="payload"/>
</bpel:copy>
</bpel:assign>
The third parameter name is the name of the variable you need to use
inside
the XSL stylesheet to access the gal-response document (not sure if dashes
are allowed in XSLT variable names?).
Mike.
On 6/20/07, Vishal Bhasin <[EMAIL PROTECTED]> wrote:
>
> I'm sorry for being a little slow on this one, I did the following
> expression in the BPEL:
>
> <bpel:assign>
> <bpel:copy>
> <bpel:from>
> bpws:doXslTransform("Orchestration.xsl", $ca-
> response.payload, $gal-response.payload, $response.payload)
> </bpel:from>
> <bpel:to variable="response" part="payload"/>
> </bpel:copy>
> </bpel:assign>
>
> I want to merge $ca-response.payload & $gal-response.payload in
> $response.payload. In executing this in get the following error:
>
> error: org.apache.ode.jbi.msgmap.MessageTranslationException: Unmapped
> Fault : {http://docs.oasis-open.org/wsbpel/2.0/
> process/executable}selectionFailure: An exception occured while
evaluating
> "{OXPath10Expression bpws:doXslTransform("Orc
> hestration.xsl", $ca-response.payload, $gal-response.payload,
> $response.payload)}": Error while executing an XPath expre
> ssion: net.sf.saxon.trans.StaticError: XPath syntax error at char 104 in
> {...se.payload, $response.paylo...}:
> Cannot find a matching 4-argument function named {
> http://schemas.xmlsoap.org/ws/2004/03/business-process}doXslTransf
> orm()]
>
> Can you please help me with finding out what I'm doing wrong?
>
> Many thanks!