cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ERP Service Consumer Proxy use one CPI Iflow for several external webservices with only one wsdl

bodo_koerner
Participant
0 Kudos
2,386

Hello,
I have an external System with wsdl for several webservices included.

From SAP ERP there is a Service consumer proxy already used for direct communication via SOAMANAGER.

Now a CPI should be set between the systems.

Can this be done by only one IFLOW in CPI ?

View Entire Topic
bodo_koerner
Participant
0 Kudos

Hi ziolkowskib,

thanks for this good Idea. I have to do the routing not by a tag from the payload (like ObjectTypeCode)
but by the soap action in the header. Seems that this can't be read in the routing rule.

Sample Payload is:

sap-language: D
soapaction: "Call"
sap-srt_id: 20200608/133641/v1.00_final_6.40/005056A75E7D1EEAAAAF8A38260EE240
sap-passport: xyz
Connection: close
Content-Length: 2212
Content-Type: text/xml;
charset=utf-8 Accept: text/xml
Accept-Encoding: gzip
Accept-Language: de -----: ----
Host: 192.168.XX.YX:82
User-Agent: SAP NetWeaver Application Server (1.0;740)
<?xml version="1.0" encoding="utf-16"?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header>
<n0:CallerInformation xmlns:n0="http://www.sap.com/webas/712/soap/features/runtime/metering/">
<m:Type xmlns:m="http://www.sap.com/webas/712/soap/features/runtime/metering/">SA</m:Type> <m:Company xmlns:m="http://www.sap.com/webas/712/soap/features/runtime/metering/">0000000</m:Company>
<m:Sys xmlns:m="http://www.sap.com/webas/712/soap/features/runtime/metering/">FED_810</m:Sys> </n0:CallerInformation>
<wsa:To soap-env:mustUnderstand="1" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://192.168.XX.YY:82/VTS/WS</wsa:To> <wsa:From xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address> </wsa:From> <wsa:ReplyTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address> </wsa:ReplyTo> <wsa:FaultTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address> </wsa:FaultTo>
<wsa:Action soap-env:mustUnderstand="1" mlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
http://localhost:82/VTS/WS/Call</wsa:Action>;
<wsa:MessageID xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:005056a7-5e7d-1eea-aaaf-8a38260ec240</wsa:MessageID>
</soap-env:Header>


<soap-env:Body>
<nm:Call xmlns:nm="http://www.tourenserver.de/" xmlns:prx="urn:sap.com:proxy:FED:/1SAI/TASA963DE11D041CC65C0DB:740">
<nm:ExtID>07-00-FE_4</nm:ExtID> <nm:VTID>-1</nm:VTID>...

Regards,

Bodo