cancel
Showing results for 
Search instead for 
Did you mean: 

URL in sender SOAP channel with user and password

Former Member
0 Kudos

Hi Expert,

I have developed SOAP to proxy scenario.The serder WSDL is generated by using sender agreement. In the WSDL we are using default below URL.

http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel

But the client requirement is that he want SAP user and password also in above url.

Is this possible in sender SOAP channel?

Any body can please help me for above issue?

Thanks.

Edited by: darshana-PI on Feb 1, 2012 5:26 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

Try to add "&sap-user=<username>&sap-password=<password>" in the URL at the end. If it doesn't work, you may use HTTP (8xxx) port with Soap adapter instead of Java (5xxxx) to send data to Integration Engine directly. Then these parameters should work.

Recommendation: You shouldn't send the username and password in the URL as it is visible to all.

Regards,

Prateek Raj Srivastava

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You need to add or click option query string in the soap sender adapter to add the query string. As Prateek mentioned, it is not advisable to send user credentials in query string. This is strictly security violation. Go for Https authentication.

Former Member
0 Kudos

Thanks prateek,

we have used HTTP plain adapter for this and used below link to call that interface in PI. And its working.

http://server:port/sap/xi/adapter_plain?service=<xxx>&namespace=<xxx>&interface=<xxx>&sap-user=<xxx>...

I can understand the security related problem, but that was the requirement for end application.

Thanks,

Darshana.