I have a SOAP request, the example is below.
And I figured out how to add all parameters to the body.
$type = $proxy.GetType().Namespace
$reportFormatDT = ($type + '.reportFormat')
$MapItemtDT = ($type + '.MapItem')
$mySubmit.reportFormat = $reportFormat
#[xml]$result = $proxy.UD_SubmitReport($mySubmit)
But no idea how to add security header with UserToken and Timestamp.
Note that you can't paste XML here. You'd need to make it a Gist, and paste the Gist URL, just as with code.
Referencing https://stackoverflow.com/questions/1309767/adding-custom-http-headers-to-web-service-proxy, this isn't a straightforward thing. Because the proxy class is an abstraction, you'd need to do some heavier .NET coding in order to add custom HTTP headers. The WebServiceProxy command itself is meant to be simplistic, and it doesn't support custom headers.
You must be logged in to reply to this topic.