cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication failure message while calling UMWebService from Java

Former Member
0 Kudos

Hi All:

I am trying to consume UMWebService published in EP. The URL for this webservice is:

"http://<server>:<port>/irj/servlet/prt/soap/UMWebService?Wsdl".

I ceated a web reference to this WebService in my WebDynproJAVA project. But when I called one of the methods(getMapping()) on this webservice, a SOAP Exception has occured with the following message: "The User Authentification is not correct to access to the Portal Service UMWebService or the service was not found."

How would I solve this problem to provide the Authentication for the webservice.

Thanks in advance,

Munna_SAP

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Munna,

if your WAS requires user authentication you should do this:

1. set-up security options of Logical Port in you WS Model (Security tab > set HTTP Authentication)

2. before WS executing set user name and password:

wdContext.currentRequest_UMWebService_getMappingElement().modelObject()._setUser("user");
wdContext.currentRequest_UMWebService_getMappingElement().modelObject()._setPassword("pwd");

Let me know if this help,

regards

Pavel