Hi,
I've successfully been using SOAP using the request object and filling out the required arguments.
Now I need to add the XML
globalVariables dynamically. The variables change with each run.
If I enter the details in the object section then click the XML button. It comes back with an error "Unable to build soap envelope for a multi argument web service method"
This is the raw XML SOAP request (actual values removed) that is produced when I don't try and manually define the XML request:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Header>
<SessionID>Some session id</SessionID>
</ns1:session>
</soapenv:Header>
<soapenv:Body>
<jobName>Job name</jobName>
<repoName>Job repo</repoName>
<jobServer>Job server</jobServer>
<jobParameters>
<usecollectedstats>true</usecollectedstats>
</jobParameters>
<globalVariables>
<variable name="G_BUSINESS_DATE">12-Jan-2018</variable>
<variable name="G_RUN_NO">0</variable>
</globalVariables>
</ns1:RunBatchJobRequest>
</soapenv:Body>
</soapenv:Envelope>
When I enter the SOAP request into the XML section I can't get it to work.
What parts of raw XML request need to be added? I've chopped and changed parts but can't get it to work.
Cheers
Ben