05-28-2013 09:37 AM
We have wsdl link for BES IT Policy services and also have the admin credentials for BES admin console.I have loaded the wsdl in soapUI and can see all the ITPolicy methods regarding this wsdl.Now if i want to access any ITPolicy service ,then i can see from soap response that server says 401 error i.e is authentication failure.i tried to access this service with BES admin credentials too,but fail and got the same response.
Now my question is how can i access this services with what credentials or how can i get the accessing userid and password for this services, or how to set new userid and password from admin console or any where else to access those services.As i clearly can see from server response ,i need to setup userid and password as security header credential to accecss any one of the ITPolicy services from the wsdl using SOAP UI.
Please suggest me how to access this services or if there is any confusion to understand my requirement ,please let me know asap.
Thanks in advance
05-28-2013 09:54 AM
Some further details will help understand the issue:
What calls are you making and in what order?
Do the credentials being used allow you to login to the BAS web console?
Are the credentials for a BAS or AD user?
What language is being used to code your client app?
05-28-2013 10:10 AM
05-28-2013 10:19 AM
Ok, you can't pass the creds as-is, you first need to make a call to BWSUtils#getEndocdedUsername() to encode the username. You also need to understand whether these are AD or BAS credentials and use the appropriate Authenticator in the above mentioned call.
I'm not familiar with the tool you're using, but the calls may still be possible with a little work on performing the appropriate initialization calls first.
05-30-2013 07:44 AM
I'm concerned that your BES WSDL is exposed outside the firewall, that's a fairly large security issue.
The following Getting Started guide provides the details needed to get started and also includes samples in both Java and C#:
05-30-2013 09:51 AM