17 years ago
dynamically extend xml of soap-request
Hi,
lets assume there is a soap-request that send some kind of product list:
the number of products that should be sent depends on the previous response. so i need to to add products dynamically to this request.
is this possible?
all i can do today, is fill the fixed structure of the request (lets say 2 products) with dynamic data, but i can't extend the structure itself to get a third product sent with the request.
any help is highly appreciated.
Torsten
lets assume there is a soap-request that send some kind of product list:
<products>
<product id="1">
<name>foo</name>
</product>
<product id="2">
<name>bar</name>
</product>
</products>
the number of products that should be sent depends on the previous response. so i need to to add products dynamically to this request.
is this possible?
all i can do today, is fill the fixed structure of the request (lets say 2 products) with dynamic data, but i can't extend the structure itself to get a third product sent with the request.
any help is highly appreciated.
Torsten