modify soap envelope

1
Is there a way to modify the soap envelope of the webservice message that is generated out of the call web service action in order to include additional parameters? for example the soap envelop looks like this <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> but I will like it to look like this <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:oas="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:v2="http://www.royalmailgroup.com/api/ship/V2" xmlns:v1="http://www.royalmailgroup.com/integration/core/V1">
asked
2 answers
0

Hi,

You can do this do create a custom request body (or header) and start with

<ns0:zgvfstockoverview01p xmlns:ns0="urn:sap-com:document:sap:soap:functions:mc-style">

So in this example: I swap 'urn' and 'ns0'

answered
0

Hi Masterman,

By the look of your request your service is using wsse security. You can change the Mendix header to use this by clicking on request header tab then click on custom and finally select the WS Security Username Token from the dropdown. You can then add change in the template to include username and password. You should be able to also change the wsse to oas and it should work ok for you.

Regards Simon

answered