cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP receiver adapter digest authentization

Former Member
0 Kudos

Hallo,

I have scenario with SOAP receiver adapter configured as follow:

Adapter Type: SOAP

Transport Protocol: HTTP

Message Protocol: SOAP 1.1

Adapter Engine: Integration Serer

Target URL: http://localhost:8099/webservices/test_v1_1_2

Configure User Authentication

User: ****

Pasword:****

but WS need digest HTTP authentication and SOAP adapter send in header Authentication: Basic.

Hou can I change authentication method for SOAP protocol?

Thx

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hallo,

I solved this problem by using AXIS framework. I hope that this short instruction help to someone.

1. In SOAP receiver CC you have to set up Transport Protocol to HTTP(AXIS) and Message protocol to AXIS

2. Now you can switch Authentication to Digest (NOW adapter will still send Basic!!! Digest Authorization is Supported only by the following handler: com.sap.aii.adapter.axis.ra.transport.http.CommonsHTTPSender)

3. On Module tabs in section Module configuration change type HTTPSender to CommonHTTPSender:

(trp handler.type java:com.sap.aii.adapter.axis.ra.transport.http.CommonsHTTPSender)

4. Save and Activate

Before you start to use AXIS framefork you have to deploy necessary library.

This thread help:

Be carefull, for digest authorization you have to linked Optional library "Jakarta-Commons HttpClient" too.

Good luck.

JK

Former Member
0 Kudos

Thanks for advice,

but I'm not sure if I want set up security profile. I don't have defined key pair for WS security profile and I can call this WS from SOAPUI or MSIE yet.

When I check Select Security Profile in SOAP CC I have to select Web Service Security profile or SMIME and in Receiver agreement I have to set up Security Procedure. And I don't know what should I set up there when I don't have keypair.

Thx

prateek
Active Contributor
0 Kudos

In the receiver soap channel, you may click on Select Security Profile option. Then you may achieve encryption too as expected by Digest authentication.

http://help.sap.com/saphelp_nw04/helpdata/en/56/992d4142badb2be10000000a1550b0/frameset.htm

Regards,

Prateek