on 05-01-2012 4:48 PM
Hi all,
I am making a Webservice call from MII.
Authentication has been enabled for wsdl access [Secured WS]. For this, i have created an Alias in Credential Stores. I enter the same in Webservice wizard's "Credential Alias" text box, after this i can see port/operation details.
In Configure Links, i am able to set values for the SOAP call [values for UserName, Password, CredentialAlias nodes, etc ]
When i execute the Webservice i get the following response;
[ERROR] HTTP Status Message: Unauthorized
[ERROR] HTTP Status Code: 401
Can some one tell me what is missing?
I have other Webservice calls which work fine, Only difference is, in this case WSDL is secured and the ones which are working are not.
MII version: 12.2.2.235
Any help would be highly appreciated..
Thanks,
Hi Sridhar,
There is no need to provide Username, password or credential alias in link editor unless you want to override the ones provided in configuration dialog. Please check whether the parameters provided in link editor for credential alias are the intended ones.
If the above checks are correct then there might be a genuine authorization problem in accessing that service.
Thanks,
Suhas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Suhas,
I tried without setting UserName, Password, CredentialAlias in Config Links and still have the same issue.
UserName and password are correct. I am able to execute those webservices with SOAPUI and it works fine.
Also, the Alias has the correct user/pass, When i set the Alias i can see port/operation details in webservice wizard, Without that i get a popup with "SOAP Service could not be loaded: XMLProxyError: Status (401): Unauthorized" message..
Does MII support Secured Webservices call?
Thanks,
Hi sridhar,
DId you disabled the WSDLGenSecurityEnabled in the System Administrator Menu?
Pls check it should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Parteban,
According to documentation: "If the checkbox is not selected, any user can call the servlet to generate WSDL for a transaction; however, you must still have permission to run the transaction."
I think, this setting is to access a transaction on this MII system. am i missing something?
In my scenario, i am calling a Webservice which is on different system [and its not MII]
Thanks,
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.