cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Parameters in SOAP adapter

Former Member
0 Kudos

Hi Guys,

We are trying to add a new HTTP header in the SOAP call to a third party web service using SOAP adapter. Any pointers on how that can be acheived without SOAP axis adapter ?

Normal HTTP headers in SOAP call :

content-type=multipart/related;boundary=SAP_XXXXXX
sap-xi-length=3907
host=hostname:Port
soapaction="http://sap.com/xi/XI/Message/30"
http=POST
content-length=3852
user-agent=SAP NetWeaver Application Server (1.0;730)
accept-encoding=gzip
sap-xi-messageid=XXXXXXXXXXXXX

What is required:

content-type=multipart/related;boundary=SAP_XXXXXX

sap-xi-length=3907

host=hostname:Port

soapaction="http://sap.com/xi/XI/Message/30"

http=POST

content-length=3852

user-agent=SAP NetWeaver Application Server (1.0;730)

accept-encoding=gzip

sap-xi-messageid=XXXXXXXXXXXXX

Cookie : persistent_cookie_base64_text



Thanks in advance,


Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Vibhu

AFAIK I don't think it's possible to set custom HTTP headers in the SOAP receiver channel.

I'm not familiar with SOAP Axis myself, but an alternative would be to use HTTP/HTTP_AAE or REST (if you are on at least 7.31 SP15 or 7.4 SP10), but you need to manually construct the SOAP envelope.

Rgds

Eng Swee

Former Member
0 Kudos

Thanks Eng,

HTTP_AAE adapter works like a charm. Attaching a screenshot of the solution for anyone else who stumbles upon this requirement.

engswee
Active Contributor
0 Kudos

Great to hear that. Thanks also for sharing the final solution in the spirit of SCN's give and take

Answers (0)