我的输入请求是:
<body>
<p:UpdateEntID xmlns:p="http://tempuri.org/">
<!--1 or more occurrences-->
<xs:OldID xmlns:xs="http://tempuri.org/">GenreID_002</xs:OldID>
<xs:OldID xmlns:xs="http://tempuri.org/">GenreID_0021</xs:OldID>
<!--Exactly 1 occurrence-->
<xs:NewID xmlns:xs="http://tempuri.org/">GenreID_001</xs:NewID>
</p:UpdateEntID>
</body>
如何将输入值(即OldID)分配给wsdl&#39; s输入变量EquivalentEntPLRequest? 我的任务是:
<bpel:assign validate="no" name="AssignInputForUpdateID">
<bpel:copy>
<bpel:from>
<bpel:literal>
<ns0:UpdateEntID xmlns:ns0="http://tempuri.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ns0:newid>ns0:newid</ns0:newid>
<ns0:oldid>ns0:oldid</ns0:oldid>
</ns0:UpdateEntID>
</bpel:literal>
</bpel:from>
<bpel:to variable="EquivalentEntPLRequest" part="parameters"></bpel:to>
</bpel:copy>
<bpel:copy>
<bpel:from part="parameters" variable="clientRequest6">
<bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:NewID]]></bpel:query>
</bpel:from>
<bpel:to part="parameters" variable="EquivalentEntPLRequest">
<bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
<![CDATA[ns3:newid]]>
</bpel:query>
</bpel:to>
</bpel:copy>
<bpel:copy>
<bpel:from part="parameters" variable="clientRequest6">
<bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:OldID[1]]]></bpel:query>
</bpel:from>
<bpel:to part="parameters" variable="EquivalentEntPLRequest">
<bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[ns3:oldid[1]]]></bpel:query>
</bpel:to>
</bpel:copy>
</bpel:assign>
通过上面的分配,我能够将请求的单个值映射到单个响应值。那么如何将bpel输入的多个输入映射到wsdl输入的多个输入?提前感谢