cancel
Showing results for 
Search instead for 
Did you mean: 

Error in using XI-SOAP adapter, but no error with SAP-BC

Former Member
0 Kudos

Hi,

I am working on RFC->XI->Webmethod (.asp) scenatio.

I am using SOAP adapter.

Whin I am not using "Do not use SOAP Envelop".

I am getting "com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML" Error in SXMB_MONI.

But when I am using "Do not use SOAP Envelop" then I am not getting any error. in SXMB_MONI status showing Successfully Processed. But the responce i am getting is "You are not authorized to view this page // HTTP 401.1 - Unauthorized: Logon Failed"

But same web-service is working fine while connected with SAP-BC.

Please Help why scenario is working with BC, but not with XI.

Thanks & Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

closed

Former Member
0 Kudos

Hi Rohan,

A similar thread was discussed earlier.

Please try adding &nosoap=true for the receiver SOAP adapter target URL.

cheers,

Prashanth

P.S Please mark helpful answers

Former Member
0 Kudos

Thanks for reply Prashanth.

&nosoap=true still i am getting same error.

My problem is that same connection is working with BC but not with XI.

Regards

bhavesh_kantilal
Active Contributor
0 Kudos

Rohan,

Stefan has the answer in this thread,

Regards,

Bhavesh

Former Member
0 Kudos

Thanks for reply Bhavesh.

But after applying Stefan's solution, I am still getting same results as I explained beginning of this thread.

Regards

bhavesh_kantilal
Active Contributor
0 Kudos

Rohan,

http://hostname:portnumber/MessagingSystem/monitor/monitor.jsp

Use the MDT to see the message going out of your SOAP adapter and see if the entire SOAP message is as per requirement.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

Thanks for reply.

I am getting all success in message monitoring, but still web-services sying they are not getting any message.

I am attaching all 4 logs for one synchronous communication of message monitoring.

I am not able to understand where message going and why XI showing success every where.

********1st(Sent Messages)

Success SOAP: response message leaving the adapter

Success Application attempting to send an XI message asynchronously using connection AFW.

Success Trying to put the message into the send queue.

Success The response message for message cf4fd921-4a74-11db-9312-001279933263(INBOUND) was successfully transmitted to the calling application.

Success The message status set to DLVD.

Success The application sent the message asynchronously using connection AFW. Returning to application.

********2nd (Sent Messages)

Success RFC adapter received sRFC for Z_PA_SAP_TO_Webservice from D02/230. Attempting to send message synchronously

Success Application attempting to send an XI message synchronously using connection AFW.

Success Trying to put the message into the call queue.

Success Message successfully put into the queue.

Success The message was successfully retrieved from the call queue.

Success The message status set to DLNG.

Success The message was successfully transmitted to endpoint http://XYZ.com:8000/sap/xi/engine?type=entry using connection AFW.

Success The application sent the message synchronously using connection AFW. Returning to application.

Success The message status set to DLVD

**********3rd (Received Messages)

Success Using connection AFW. Trying to put the message into the receive queue.

Success The XI response message for message d0372be1-4a74-11db-91d7-001279933263(INBOUND) was successfully returned to the calling application.

Success The message status set to DLVD.

**********4th (Received Messages)

Success The message was successfully received by the messaging system. Profile: XI URL: http://XYZ.com:50000/MessagingSystem/receive/AFW/XI

Success Using connection AFW. Trying to put the message into the request queue.

Success Message successfully put into the queue.

Success The message was successfully retrieved from the request queue.

Success The message status set to DLNG.

Success Delivering to channel: IF_O_502_WebserviceBusService_SOAP_In_02

Success SOAP: request message entering the adapter

Success SOAP: completed the processing

Success SOAP: response message received d0372be1-4a74-11db-91d7-001279933263

Success The message status set to DLVD.

Success The message was successfully delivered to the application using connection AFW.

Former Member
0 Kudos

Following is the network HTTP data trace:-

for BC:-

1) CONNECT XYZ.com443 HTTP/1.0

2) User-Agent: Mozilla/4.0 [en] {WinNT; I)

3) Accept: image/gif, /

4) Host: XYZ.com

5) proxy-Authorization: Basis abcdefghij

6) Content-type: text/xml; charset=utf-8

7) SOAPAction: "http://ABC.org/action/xyz.xyz"

😎 Content: (13532 bytes of data)

for XI-SOAP:-

1) CONNECT XYZ.com443 HTTP/1.0

2) Host: XYZ.com

3) User-Agent: SAP-Messaging-com.sap.aii.messaging/1.0505

4) proxy-Authorization: Basis abcdefghij

6) Content: (6908 bytes of data)

Please see above analysis of network trace while triggering data to web-services through BC & XI.

May be this trace helps in debugg of error.

Regards