- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2016 11:11 PM
Hi All
I get an error while generating a SOAP message i.e
Unable to load WSDL: java.lang.RuntimeException: org.apache.commons.httpclient.HttpException: Unable to retrieve XML, HTTP status code: 401:org.apache.commons.httpclient.HttpException: Unable to retrieve XML, HTTP status code: 401
How to address this error
Thanks in advance
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2016 11:25 PM
Hello Saahil,
An HTTP 401 response means that your request is unauthorized. Please create a user account to authenticate with( soap roles assigned), and select 'use basic auth'.
http://wiki.servicenow.com/index.php?title=Base_System_Roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2016 11:14 AM
This post hasn't provided a real answer to the issue. Please set it back as unanswered, or provide a real answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2017 07:43 AM
I am integrating SNOW with JIRA . So i am providing username and password of JIRA in basic auth . WSDL ran perfectly. But when i was testing it by giving values it gave me an error 401. i.e; Same Authentication issue (issue : you need authentication to use this resource) . Can any one suggests me . Why i am getting this error . Is this error because of JIRA username and password or there is an issue regarding to SNOW level.
Thanks
Agatha

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2017 07:53 AM
I have not worked with anyone using SOAP to integrate ServiceNow with Jira, only REST. I did some searching and came up with this.
ServiceNow Wiki Search Results
Have you considered using REST? It's a bit simpler to implement (and debug IMHO.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2017 08:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2016 11:27 PM
HI Saahil,
When you do a lookup on basic auth profile, you will see new button. Create a auth profile for a user in servicenow with some password and give soap related roles to the user.
Then try to save and generated the wsdl and sample soap messages. That should work
Mark my reply as Correct and also hit Like and Helpful if you find my response worthy.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader