
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2015 09:53 AM
Hi, my SNOW is trying to consume external web service but after I provide the wsdl in SOAP message module and click on Generate Sample SOAP messages. I get the below error :-
Unable to load WSDL: java.lang.RuntimeException: java.net.UnknownHostException: vtordaxdv02:java.net.UnknownHostException: vtordaxdv02
Can anyone tell what is the issue...how to fix it? Also, there is no place here where I can provide the mid server....?
Solved! Go to Solution.
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2015 09:25 AM
Thanks Mike.
what we did now is because ServiceNow is not able to create those functions automatically. I manually created the function and used basic authentication. But the soap endpoint and function did not look correct thats why it gave bad request error.
To get over this error, AX guys are giving us soap message envelope and by using that we are able to get the response successfully. and status code 200.
Thanks for all help and support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2015 05:11 AM
The reference to the xsd is to be provided within the WSDL or the SOAP message function.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2015 08:45 AM
Hey Chris, even after removing that line I am getting error :-
Unable to load WSDL: java.lang.RuntimeException: java.net.UnknownHostException: vtordaxqa01:java.net.UnknownHostException: vtordaxqa01

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2015 09:14 AM
Mansi try to download WSDL through MID server. Use background script to download it.
1. Activate an Elevated Privilege
2. search for background scripts
3. enter the below script. change the WSDL end point. and hit run
//ENTER THE WSDL URL IN THE LINE BELOW
var wsdl = "http://137.65.1.25/jjasys/WSDL/public/mapping02/Create_GMP_WSDL";
var httpclient = Packages.org.apache.commons.httpclient;
var HttpClient = httpclient.HttpClient;
var GetMethod = httpclient.methods.GetMethod;
var client = new HttpClient();
var get = new GetMethod( wsdl );
var status = client.executeMethod( get );
// print the status and response
var result = ("\n\n"+get.getResponseBodyAsString());
ms.log(result);
get.releaseConnection();
4. once it's completed. copy WSDL file
Ref: Getting a WSDL from behind a firewall-John Andersen
5. Once you uncheck download and paste the WSDL. save it
6. Download update set and commit it from http://www.john-james-andersen.com/file-download/Remote+WSDL+Flattener
7. Refer to Load and Flatten a Remote WSDL-John Andersen
hope it will help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2015 01:27 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2015 08:23 AM
Hi, I am still trying to get it work.
I manually created the function and when I test it, I get 401 Unauthorize access error. We checked with AX guys and they are saying that the user have full admin rights but when SNOW makes a request to AX web service they do not see the credentials passed in URL.
I just enabled basic authentication. Is there anyother thing I need to do to pass credentials in SOAP message? Also AX do not have SSL enabled but it is enabled in SNOW. Is this an issue?