on 06-06-2006 11:26 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.