
- 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
‎10-31-2015 09:12 AM
No its not on premise instance… our SNow is cloud application and I am trying to call AX web service which is in my company's environment behind firewall…

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2015 09:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2015 09:07 AM
Did you uncheck the "Download WSDL" checkbox? If this is still checked the system will try to use the provided link.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2015 09:10 AM
Yes its unchecked…….
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2015 11:10 AM
Are you sure it's the sam e exact error that you received before?
Unable to load WSDL: java.lang.RuntimeException: java.net.UnknownHostException: vtordaxdv02:java.net.UnknownHostException: vtordaxdv02
The error is saying that it's unable to load the WSDL because it can't find the server (host) vtordaxdv02, where vtordaxdv02 is supplied from the url you placed in the URL field. From that error it may be that you're not providing a fully qualified path. Here is an example of a fictitious domain name that I know it won't find:
I can leave that url in there and paste a WSDL in the WSDL/XML field and generate the soap functions as long as I uncheck the Download WSDL check box.
The example below I have pasted a WSDL from a demo instance but I will leave the URL in there and uncheck the Download WSDL check box. You can see a successful SOAP Messages generated message even though the URL is not a good one.
Note: I used the inspect element to get the URL to display because when the Download WSDL is unchecked baseline settings doesn't display the URL field.
Maybe try clearing out the WSDL URL field.