Outbound Web Service Basic Authentication issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2013 10:10 AM
Hello everyone,
I am testing an outbound Web Service call to a 3rd party application. The web service works fine in SoapUI using "Global HTTP Settings" and WSS-PAssword Type of "PasswordText", but fails with "invalid username or password" using Basic Authentication set in ServiceNow.
I am able to get the Web Service to work from ServiceNow by adding the un-encrypted login and password using the following structure, but I wanted to know if there was a more secure way to get it working from ServiceNow. Could the problem be special characters in the username or password? Any suggestions on how to get it working with Basic Authentication? Do I need a Java KeyStore? Thanks!
MyUsername@domain
MyPassword
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2018 04:48 PM
I've the same issue, i used the above headers in XML it's working. Is there a way to pass this as soap headers.
Or any other best approach?
Thanks
Vishnu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2016 02:50 AM
Hi Ken,
"I am able to get the Web Service to work from ServiceNow by adding the un-encrypted login and password using the following structure"
can you please explain how you created un-encrypted login part, because I'm also getting same error "invalid username or password".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2016 03:31 AM
Hi, you are responding to a message thread from 2013. I don't recall any of the details of what was being done, and to be honest, I wouldn't use un-encrypted login/pwd unless it was a last resort.
-Ken