cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication regarding AXIS adapter

Former Member
0 Kudos

Hi experts,

I have scenario, where I need to consume webservice from SAP.

SAP> XI>Webservice. We are using SOAP 1.2, so gone with AXIS adapter.

My requirement is like I need ti have both certificate authentication as well as user authentication. When I tried to play with Axis adapter, I understood that wither user or certification can be done. I would like to have both authentications. IS there any possibility that I can have both of them to be implemented.

Thanks,

Accepted Solutions (0)

Answers (2)

Answers (2)

ernesto_cruz
Participant
0 Kudos

Hi Gouru, we are with the same requirement, we are using SAP NW 7.1, and wanted to know if you could complete your request, and if so, Please enter the steps to follow.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

I think you can do together certificate authentication (just sharing certificate between PI and target system by importing target system certificate in keystore) and basic authentication ( user and password). Only client authentication and basic authentication (user/password) together might not be possible in axis adapter. please refer the link

http://help.sap.com/saphelp_nw04/helpdata/en/45/a3c48c87cd0039e10000000a11466f/content.htm

Client authentication is in addition to certificate authentication, you pass the client certificate to server to authenticate instead of user and password.

Former Member
0 Kudos

Hi Bhaskar,

As I see in the adapter configuration that we can select only one option for authentication.

I have a small thought.. let me know if following this we can achieve the requirement.

I would like to dynamically pass the username and password using handlers and use the Certificate authentication in the adapter configuration.

Please suggest/ correct me if I am wrong.

If you can let me know any alternative then would be great favour to me.

Thanks,

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>>If you can let me know any alternative then would be great favour to me.

Yes you are in the right track...

Do the following steps... This might be helpful.

a) Use authentication option for certificate authentication in the soap receiver axis channel.

b) Use dynamic configuration UDF method or handlers to set user name and password.

Use below link to set user name and password.

http://ws.apache.org/axis/java/apiDocs/constant-values.html

http://ws.apache.org/axis/java/apiDocs/javax/xml/rpc/Call.html#USERNAME_PROPERTY