on 02-08-2007 6:52 PM
I define a web service through XI with the WSDL file. And I gave the WSDL file, the username and the password to the customer to visit the defined service. Anyhow I don't want the customer to worry about the authentication ,the username and password and I want to add the username and password information into the WSDL file. However I have no idea how to deal with this and I hope some body can give me the idea.
Thanks in advance.
Alex
This is not possible.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
One option to do this would be to turn of all Authentication for SOAP calls like shown in this according to William Li's Answer.
But, it is not a feasible solution.
@ Stefan~
I didnt know that adding user Id and password to the SOAP Url will not work, but, isnt this a feature that would be truely useful?
Any workarounds or any reason that this doesn't work. Your comments will be really helpful.
Regards,
Bhavesh
You can use the SOAP entry of the Integration Server and add the user and password like this:
"http://pwdf2153.wdf.sap.corp:8000/sap/xi/engine?type=entry&version=3.0&Sender.Service=Stefan&Interface=http%3A%2F%2Fsap.com%2Fxi%2FDemo%2FBPM%2FCase01%5EFlightSeatAvailabilityQuery_Out&sap-user=<user>&sap-password=<password>"
Stefan
Based on SAP doc, I use http://host:j2eeport/.
that is http://xidev:50000/.
how come stefan you use http URL to response the SOAP requirst?
alex
>>if I add the user and the password at the end of the URL with the '&' to devided, the sender program still requires user and password. It seems to make no sense of the added user information.
My suggestion was to add the usename and password inside the WSDL file and not to the channel URL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can set them in the application from where you are calling this wsdl...
https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=463025
https://weblogs.sdn.sap.com/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex,
Refer the following link
Solution:
try adding the following string to your wsdl:
@sap-user=<your_loginId>&sap-password=<your_password>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The URL address required in the WSDL file is :
If I add the user and the password at the end of the URL with the '&' to devided, the sender program still requires user and password. It seems to make no sense of the added user information.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.