Hi Matthias,
In general, you only need to initialize a variable if you're assigning
intoit (inside the XML structure) versus
to it (replacing the top-level content).
In your case, your variable initialization should look like,
<bpws:copy>
<bpws:from>
<bpws:literal><ns1:deimudda><ns1:eins/></ns1:deimudda></bpws:literal>
</bpws:from>
<bpws:to>$ComptypeProcessOperationOutput.processResponseMP</bpws:to>
</bpws:copy>
Notice I removed the "/ns1:eins" in the <to> since you're initializing the
variable and you can't assign into it yet.
alex
On 11/21/07, charlybrown <[EMAIL PROTECTED]> wrote:
>
> now that I've really spent enough time on this I hope someone could help
> me
> with my problem.
> I've created a BPEL process simply invoking a webservice and responding
> the
> reault. variable saving the result of the webservice ($DoSomethingOutput)
> is, so I think, working fine. The only prblem is, that the process
> response
> variable ($ComptypeProcessOperationOutput) doesn't work. So I read that
> this
> needs to be inizialized with some literal and I tryed the following code:
>
> <bpws:copy>
> <bpws:from>
>
> <bpws:literal><ns1:deimudda><ns1:eins/></ns1:deimudda></bpws:literal>
> </bpws:from>
>
>
> <bpws:to>$ComptypeProcessOperationOutput.processResponseMP/ns1:eins</bpws:to>
> </bpws:copy>
>
> The problem is, it still doesn' work. The error response SOAPMessage is
>
> <faultstring>
>
> {http://schemas.xmlsoap.org/ws/2004/03/business-process/}selectionFailureNo
> results for expression: {OXPath10Expression
> $ComptypeProcessOperationOutput.processResponseMP/ns1:eins}
>
> </faultstring>
>