SOAP function test : Method failed: 401 - Invalid username/password combo

Fotina Galieb
Tera Contributor

Hello Guys,

 

I am creating SOAP outbound and I got an issue with the test of my first function.

I got a technical user and I used it in authentification with user name and password, however when I test it I always get an error in every function test:

Method failed: (/AISWebService/services/AISWebService) with code: 401 - Invalid username/password combo

 

 

FotinaGalieb_0-1707400766705.png

 

I cant find info what to do and check when it is in SOAP, I found only when it is REST.

Maybe you had similar issue?Do youy have any idea what step should be next? User is newly created and its password is correct.

 

Thank you so much in advance,

Best regards,

Fotina 

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Fotina Galieb 

 

Yes, i tried but all related to REST, log a Now Support Case,

 

https://www.servicenow.com/community/developer-forum/401-invalid-username-password-combo/m-p/2234906

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Fotina Galieb 

 

Yes, i tried but all related to REST, log a Now Support Case,

 

https://www.servicenow.com/community/developer-forum/401-invalid-username-password-combo/m-p/2234906

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Amit Pandey
Kilo Sage

Hi Fotina,

 

Please ensure the following points-

  1. Ensure that the technical user you're using has the necessary permissions and roles to access the SOAP web service. In ServiceNow, you can check the user's roles and permissions by navigating to System Security > Users.

  2.  Verify that the endpoint URL you're using for the SOAP outbound request is correct and matches the URL provided by the service provider. Any discrepancy in the URL can result in authentication failures.

Regards,
Amit