Hi,
I have the latest iwd, latest composer, eclipse juno with jre8. The webservice block is working well, I’m able to submit a new interaction to iwd via webservice capture point operating in native mode (composer web service block). The problem is I can’t find out how to pass userdata to the webservice. I have tried it in many ways: using custom soap envelope, service endpoint variable, using an array for example as input parameter:
-in the Entry block define: udata_array=[{“key”: “udatakey”,“value”: { “ValueString”: “this is the subject of interaction” }},{“key”: “IWD_ext_resultCode”,“value”: { “ValueString”: “0” }}], or define kvitem: ‘<key>Subject</key><value><ValueString>this is the subject of interaction</ValueString></value>’
But as I traced with wireshark I had never seen the desired result for exampe (fully working with SOAPui and then with iWD):
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:int=“http://www.genesyslab.com/interaction”>
soapenv:Header/
soapenv:Body
int:Submit
int:ExternalIdextid000001</int:ExternalId>
int:UserData
int:kvitem
int:keyudatakey</int:key>
int:value
int:ValueStringdfgdfgdfgdfgfdgdfg</int:ValueString>
</int:value>
</int:kvitem>
int:kvitem
int:keyIWD_channel</int:key>
int:value
int:ValueStringweb</int:ValueString>
</int:value>
</int:kvitem>
int:kvitem
int:keyIWD_ext_resultCode</int:key>
int:value
int:ValueString0</int:ValueString>
</int:value>
</int:kvitem>
int:kvitem
int:keySOME_URI</int:key>
int:value
int:ValueStringhttp://google.com</int:ValueString>
</int:value>
</int:kvitem>
</int:UserData>
</int:Submit>
</soapenv:Body>
</soapenv:Envelope>
So i need help how to pass one or more userdata to the WS CP to process it in iwd
Thank you,
bandorka