cancel
Showing results for 
Search instead for 
Did you mean: 

XI as a WS Provider - Authentication

Former Member
0 Kudos

Hello Everybody

I've configured a SOAP Sender Adapter to expose a RFC as a Web Service. Then, I've created an ASP (Active Server Page) to send SOAP requests to http://myXIHost:50100/XISOAPAdapter/MessageServlet?channel=:MyService:MyChannel. The problem is that ASP is getting a "-2147024891 - Access is denied." error, because this URL (inbound address for SOAP messages) requires authentication.

Where/How do I suppress a user/pass to XI? ps: I wouldn't like the user of my ASP page had to suppress the user/pass by himself.

Thanks

Julio

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member91687
Active Contributor
0 Kudos

Hi,

You would need to instantiate the request object in the ASP and set the user name and password.

Else

If you do not want the authentication features you can remove the authenicatin features in web.xml for the soap adapter. For info on how to do this have a look at this thread.

Regards,

Chandra

Former Member
0 Kudos

Cesar,

Try to give your user id and password. If it doesnot work then you dont have the authorization credentials to invoke the webservice.

Then you give XIAPPLUSER user id and password. It should then invoke the webservice.

---Satish

Former Member
0 Kudos

Satish

Where do I give my user/pass ? Because XI doesn't ask me them!

Julio

Former Member
0 Kudos

Cesar,

When ever you are trying to invoke your webservice it asks for userid and password(if they are specified in your webserice). Check this weblog which may help you:

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken] [original link is broken]

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]

---Satish

Former Member
0 Kudos

Hi Julio,

I understood what you mean. I have been working on a similar scenario (but using a .NET application), and I have found that is ever necessary to provide a credential (at .NET, System.Net.NetworkCredential) programmatically, the browser will not ask you an user and password.

I tried to work around this issue, to make the XI WS public without authentication, but actually (we are using PI 7.0) this is not possible (as we have already discussed here at sdn).

hope this helps!

roberti