Web Service Toolkit SOAP request body tuning
lazarus / 38-Networking and Web Programming
----------------------------------------------------------------------
Renat.Su · 2018-02-14 14:21
Hi all!
Can anyone advise me about the requests in the SOAP client? I'm using
WST. While executing requests, I get an error from the SOAP service.
Code: XML [Select][+][-]window.onload = function(){var x1 =
document.getElementById("main_content_section"); if (x1) { var x =
document.getElementsByClassName("geshi");for (var i = 0; i
Missing 'context' element
ERROR
But this element exists in the request!
My SOAP request body (via WST) below:
Code: XML [Select][+][-]window.onload = function(){var x1 =
document.getElementById("main_content_section"); if (x1) { var x =
document.getElementsByClassName("geshi");for (var i = 0; i
ru
user
pass
WEB_SITE
If it look at
the request examples in the documentation for this SOAP service, it
turns out that the main difference is that the nested XML elements in
them are not marked by the ns1 namespace, but only the root one!
Example SOAP request body from service document:
Code: XML [Select][+][-]window.onload = function(){var x1 =
document.getElementById("main_content_section"); if (x1) { var x =
document.getElementsByClassName("geshi");for (var i = 0; i ru
user pass
WEB_SITE
Most likely the question is
layman, but still: is it possible to somehow customize the SOAP
request generation of WST, so that it corresponds to the example from
the documentation for the service?