on 04-21-2005 12:21 AM
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 asp.Net project. When I called one of the methods on this webservice, a SOAP exception occured with the following message: "The User Authentification is not correct to access to the Portal Service UMWebService or the service was not found."
I tried setting credential to the the webservice with a network credential using user name and password. Still it won't help.
Request thoughts or suggestions to overcome this problem. If anybody has called this webservice from .Net please let us know the correct approach.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Subrat,
At least I am not the only one facing this problem.
I tried the same and also tried to lower the security settings for the service in the portal permission settings. Didn't work either.
If you got any other suggestions, I would be glad to hear them from you.
Cheers,
Theo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Theo,
This web service expects cedentials to be passed in the http header rather than the SOAP message. I put the credentials in the http header of the request (from .net client to portal web service) and it worked.
following is the code snippent.
Dim credArray() As Byte
Dim strCred As String
strCred = "<usrid>:<passwd>"
credArray = Encoding.UTF8.GetBytes(strCred)
request = GetWebRequest(uri)
request.Headers("Authorization") = "Basic " + Convert.ToBase64String(credArray)
This is how it worked for me..
Regards,
Subrat
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.