on 04-25-2007 10:42 AM
Hi All,
I have exposed my outbound interface as a webservice sucessfully
But the problem is I need to provide a User Id to contact XI SOAP adapter. I dont require any authentication for this webservice client. How can I disable the authentication check for this particular webservice.
I have seen some forum posts, which suggested me to make some modification in web.xml which will disable auth for all webservices. Is it possible for me to disable the authentication check only for this particular webservice?
Regards,
Jai Shankar
Hi Jai,
>>>>How can I disable the authentication check for this particular webservice.
you can only do it for the whole SOAP adapter - so not advisable
>>>>Is it possible for me to disable the authentication check only for this particular webservice?
not possible
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jai,
I guess one option is to create a Service User Id with a non expiring password and hardcoding it in the application.
Even here, like you do in a J2EE application you can have a properties file to key in the user id and password.
and when the dats is being sent from the application to XI, it can use this to red the user name and password and make the call to XI.
Just like you do for any J2EE application etc.
Regards
Bhavesh
Hi,
>>>>>Is it a recommended approach to hard code the user id in the application?
no
as if you change the pass (even by accident) you will need to recompile
your app
try to put it in some configuration (property) file
together with your app
anyway it has to be changeble somehow
Regards,
michal
Best option to avoid client system to have to provide user/pwd is to use client certificates for authentication. You'll have to register your server certificate with a particular https port and also you'll have to maintain the client certificate in SSL Provider Service.
It is the same principle behind Single Sign-On.
Check this link for further information: http://help.sap.com/saphelp_nw2004s/helpdata/en/b0/881e3e3986f701e10000000a114084/frameset.htm.
Regards,
Henrique.
Jai,
><i>How can I disable the authentication check for this particular webservice.</i>
Check this thread. But this will turn of Authentication for all SOAP Sender Adapters.
><i>I have seen some forum posts, which suggested me to make some modification in web.xml which will disable auth for all webservices. Is it possible for me to disable the authentication check only for this particular webservice?</i>
Its either for all SOAP adapters or for none . there is no middle ground.
Better way is to use Access Control List.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.