cancel
Showing results for 
Search instead for 
Did you mean: 

CPI: SOAP call error: org.apache.cxf.binding.soap.SoapFault: Invalid SOAP Envelope name

babruvahana
Contributor

Hi Experts,

While doing a SOAP call from CPI, I getting the below error. But the SOAP call is successful in SOAP-UI and I am getting the response as well.

Error :

**************org.apache.cxf.binding.soap.SoapFault: Invalid SOAP Envelope name***************I couldn't find anything in the community for this error.Please let me know if I am missing anything.

Regards,Pavan

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor

Hello Pavan,

This is not correct url and below might help you.

https://help.sana-commerce.com/sana-commerce-90/installation/install-sana-add-on-in-sap-environment/...

Regards,

Sriprasad Shivaram Bhat

tripathi_sachin
Explorer

Hello babruvahana,

Agree with Sri, you need to use service url which is different from wsdl url. It should look something like below:

https://<root address>/sap/bc/srt/rfc/sap/<program name>?sap-client=100

For your case:
https://<root address>/sap/bc/srt/rfc/sap/zsi_lo_so_repl_hybr_to_ecc_v2g?sap-client=100

Regards,

tripathi.sachin

Answers (3)

Answers (3)

babruvahana
Contributor
0 Kudos

Thanks for your response sriprasadshivaramabhat and daviddasilva

I am using the URL from the SOAMANAGER and getting the below error now:

org.apache.cxf.binding.soap.SoapFault: "http://schemas.xmlsoap.org/wsdl/", the namespace on the "definitions" element, is not a valid SOAP version.

Please let me know if I am missing anything.

Regards,

Pavan

daviddasilva
Active Contributor
0 Kudos

Hello,

It seems you have put the WSDL url in your connection on CPI - I agree with Sriprasad, I think your endpoint needs to be corrected.

Kind regards,

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Pavan,

I could see from your screenshot endpoint urls are different and from SAP CPI channel perspective I could see some WSDL url is being referenced.Please do check if you are referencing correct url while posting the data.

Regards,

Sriprasad Shivaram Bhat