我完成了OSB jumpstart教程(http://www.oracle.com/technetwork/articles/jumpstart-for-osb-development-page--097357.html)并希望扩展其功能。从xml中挑选数据并将其添加到响应中
目前我得到如下回应:
<cus:GetAllCustomersResponse xmlns:cus="http://www.waai.nl/cdm/customer">
<cus:Customer>
<cus:customerId>1</cus:customerId>
</cus:Customer>
<cus:Customer>
<cus:customerId>2</cus:customerId>
</cus:Customer>
</cus:GetAllCustomersResponse>
我有标识和名称的XML文件。我能够从响应中提取“1”和“2”。我想从ID为1和ID 2的另一个XML文件中取名,并将它们作为响应。
我已经尝试了各种各样的东西,但是我可以得到的所有答案都是“1和2”以及整个XML文件。