cancel
Showing results for 
Search instead for 
Did you mean: 

Error when firing the scenario using https target URL in SOAP Receiver

former_member6134
Participant
0 Kudos

Hello Experts,

   We are having an synchronous scenario like R/3 -> PI -> SOAP. It was working fine. But when we got the request from the webserver team to change the Traget URL for SOAP service from http to https we got the following error:

com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: No SOAP Envelope but 1 {http://schemas.xmlsoap.org/wsdl/}definitions; HTTP 200 OK

I have checked for this error on the forum and I got the answer to check for the Target URL is proper or not. I have checked the URL having https and it is working fine from the browser. I am able to open it and see the wsdl.

In the audit log I am able to see the following sequence of errors :

1) SOAP: call failed: java.io.IOException: No SOAP Envelope but 1 {http://schemas.xmlsoap.org/wsdl/}definitions; HTTP 200 OK

2) SOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: No SOAP Envelope but 1 {http://schemas.xmlsoap.org/wsdl/}definitions; HTTP 200 OK

3) Adapter Framework caught exception: java.io.IOException: No SOAP Envelope but 1 {http://schemas.xmlsoap.org/wsdl/}definitions; HTTP 200 OK

4) Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: No SOAP Envelope but 1 {http://schemas.xmlsoap.org/wsdl/}definitions; HTTP 200 OK. Setting message to status failed.

5) The message status was set to FAIL.

6) Received XI System Error. ErrorCode: GENERAL ErrorText: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: No SOAP Envelope but 1 {http://schemas.xmlsoap.org/wsdl/}definitions; HTTP 200 OK ErrorStack: null

7) Transmitting the message using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: No SOAP Envelope but 1 {http://schemas.xmlsoap.org/wsdl/}definitions; HTTP 200 OK.

What could be the problem? How can I tackle it ? Can somebody guide me on this.

Thanking You

With Best Regards

suk4023

Accepted Solutions (0)

Answers (2)

Answers (2)

Bhargavakrishna
Active Contributor
0 Kudos

Hi,

Please UN-check the "No Soap" option in your communication channel.

Test the web service whether it is working or not?

Regards

Bhargava krishna

iaki_vila
Active Contributor
0 Kudos

Hi,

I had a similar problem and i found that the response wasn't a SOAP response because i got a response error.

I catched the problem marking the flag Do not use SOAP envelope in the SOAP receiver. Later i did a XSL transformation in the request wrapping the XML with the SOAP envelope. Finally, i can get the exact response that the webservice was returning from sxmb_moni and i found an unexpected format for that response.

Hope this helps.

Regards,