1

私の入力リクエストは次のとおりです。

   <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 の入力変数 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入力の複数の入力にマップするにはどうすればよいですか?事前に感謝します

4

0 に答える 0