cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication Denied Error while Calling Webservices

Former Member
0 Kudos

Hi Guys,

I am using Webservices - to - Proxy scenario.

While calling webservices from .net based application, i am getting error authentication denied. In sdn, they specified to give username and password in the url itself. I have specified the username and password in the calling url. ""http://piappluser:mxdsap01@mmcphdev:50200/XISOAPAdapter/MessageServlet?channel=:BS_BIZBOX:CC_BB_PATIENT" +

"&version=3.0&Sender.Service=BS_BIZBOX&Interface=urn%3A%2F%2Fbizbox%3Asap%3Apa" +

"tient%3Areg%5EMI_BB_PATIENT_OB_ASYNC""

Though I specified the details in the url, still i am getting the same authentication error.

Can anyone please suggest me in this?

Regards

Bala

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

ASP application can invoke a Web Service in following ways:

1. Sending a SOAP Envelope directly from ASP in Java Script by opening HTTP connection to XI.

2. Making use of .NET proxies in ASP App. These proxies are generated using the WSDL provided by XI.(Best approach)

3. Using Java Proxies (generated by WSDL) in ASP

Former Member
0 Kudos

Hi,

Try this BLOG and dont give the user and the pwd in HTTP itself

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

Regards

Seshagiri

Former Member
0 Kudos

Hi,

Ok I will check this option and let you know the details

Regs

Bala

Edited by: Balasubramanian S on Mar 6, 2008 11:45 AM

Former Member
0 Kudos

Hi Seshagiri,

I tried that option also. But I am getting the same error.

Can you suggest me some other options?

Regards

Bala

Former Member
0 Kudos

Hi Bala,

Search for the APIs which contains some methods to pass user name and password through coding but not through URL.

There are some APIs which are used to pass username and password while calling any web service( not only XI) . You need to know that particular method which is common to call any web service.

See this link.It might help you.( see the coding posted in it)

Some other links are

http://www.codeproject.com/KB/cpp/WebServiceAuthentication.aspx

http://www.eggheadcafe.com/articles/20021227.asp

Regards,

Piyush

Former Member
0 Kudos

Hi Piyush,

Thank you for your links.

Rgs

Bala