on 09-04-2006 3:39 PM
Hi all,
we want to make a PUBLIC webservice on our XI system. The problem is that we always need to give credentials when we do a post (XI username/password).
We don't want that, we've read info on SAP concerning this issue (SAP note 856597):
<i>The user authentication of the SOAP adapter is not part of the SOAP adapter but of the web container of the J2EE engine. The default authentication setting is defined in the web.xml descriptor file of the SOAP dapter web application. This setting may be modified from Visual Administrator with some restriction. Please refer to the security documentation for the J2EE engine.</i>
Does anyone of you knows how we can make our Web service a PUBLIC web service (without username/password credentials)...
TIA
Hi,
Is there anybody know how to do
set up a user id for this Web Service when you generate the WSDL in the Integration Builder.
Many thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Peter,
You can also post this question on WAS forum..
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. View the web.xml file which can be sourced from
/usr/sap/SXP/DVEB***/j2ee/cluster/server0/apps/sap.com/com.sap.aii.af.soapadapter/servlet_jsp/XISOAPAdapter/root/WEB-INF.
At the end of this file you will see this section :
- <!-- login-config
-->
- <login-config>
<auth-method>BASIC</auth-method>
<realm-name>XISOAPApps</realm-name>
</login-config>
I would recommend this remains the same in the very least as SAP do not recommend turning off authentication altogether.
To get authentication working, set up a user id for this Web Service when you generate the WSDL in the Integration Builder.
Then when people call your web service it will have this format :
http://username:password@ then followed by the normal URL information expected by the SOAP adapter.
Does this help at all ?
Cheers
Colin.
Thanks Colin for the input but the part of username:password@... I allready knew. I didn't knew that SAP had problems with the fact of making the web service public on XI. As I remember you can easily make a web service public on an R3 system via anonymous logon in SICF(?)...
Anyway thanks for the help guys.
Hi Colin,
I am also facing the similar problem. I don't want to enter the username and password exclusively, instead of that i want to pass along with the URL, which will hit the SOAP adapter.
I have done the same way you suggested. But still it is poping login screen. Below is my URL:
Can you please suggest me, Still i need to do any settings..??
Thanks.
Muna.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.