我完成了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文件。