on 06-18-2021 1:28 PM
Hi!
I have a CPI Iflow were i connect a message coming from the Event Mesh to a SOAP call.
In the CPI flow the message will be enriched, and then send to a ECC system with a SOAP call.
Because the message is coming from a not structured / own type of the Event Mesh, i haven't got a WSDL or IDOC version which i can use for the Message Mapping option and to map it to a SOAP message type.
Therefore i have to add the body of the SOAP myself, but i haven't found any example of someone who is doing that with CPI.
I only see examples of how a soap message is being called with a message created via the Message Mapping.
Then the start of the Iflow is; 'IDOC' or 'SOAP'.
At the moment i have something like:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:rfc:functions">
<soapenv:Body>
<urn:ACTION_NAME>
<FIELD1>VALUE</FIELD1>
<FIELD2>VALUE</FIELD2>
</urn:ACTION_NAME>
</soapenv:Body>
</soapenv:Envelope>
In SAP it's looking for operation 'Evelope' and it should find the operation 'ACTION_NAME' 🙂
So i have to add something to my message, but i don't know what it is?
If you do, please let me know
Kind regards,
Anton
Got it!
Only the body should contain:
<urn:ACTION_NAME> xmlns:n0="urn:sap-com:document:sap:rfc:functions">
<FIELD>VALUE</FIELD>
<FIELD2>VALUE</FIELD2>
</n0:ACTION_NAME>
And i have to add: xmlns:n0="urn:sap-com:document:sap:rfc:functions" to the body
so the SAP-SOAP compiler knows it's the name of the operation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
9 | |
9 | |
7 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.