Outbound Web Service Basic Authentication issue

Ken_Michelson
Kilo Guru

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


12 REPLIES 12

DenMagnuson


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


Hafsa1
Mega Sage

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".


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