Hi all,
so far I've created only methods with a couple of single variables as incoming parameters. Now I want to add the possibility to handle both these singular variables and some compound json (to be stored in a queue). I've added a queue to the incoming parameters and studied the genereted help file from the service, but apart from the soap structures I don't see the queue occuring in this help ...
with only a list of variables one can specify these as parameters in the url (&somevar=somevalue), but I guess the compound json should be put in the request body directly (with corresponding headers set to the right "content-type" so server knows how to handle), but where do my singular variable go now?
Singular var = "readable"
Compound json should go into the "SomeQueue"
This is part of the example request for the soap handling:
POST /wsSupply HTTP/1.1
Host: localhost:8088
Content-Type: application/soap+xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:soap="
http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<sets xmlns="">
<readable>value</readable>
<SomeQueue_list>
<SomeQueue>
<SQ_TEST>value</SQ_TEST>
</SomeQueue>
<SomeQueue>
<SQ_TEST>value</SQ_TEST>
</SomeQueue>
</SomeQueue_list>
</sets>
</soap:Body>
</soap:Envelope>
And this is the HTTP POST for JSON:
POST /sets HTTP/1.1
Host: localhost:8088
Content-Type: application/x-www-form-urlencoded
Accept: application/json
Content-Length: length
readable=value
But here there is nothing generated with regards to the "SomeQueue" structure ...
How should one compose such a (json) request?
TIA
Ton