The CreatorCon Call for Content is officially open! Get started here.

PROBLEM Statement: How to upload WSDL file to SOAP message(No End Points Given)

rohit260485
Kilo Explorer

PROBLEM Statement: How to upload WSDL file to SOAP message(No End Points Given).A WSDL file in local Drive needs to be consumed in ServiceNow SOAP message.

Hi All,

Greetings !!

I have a requirement to integrate CUCM (Cisco Unified Communication)   to ServiceNow instance.I have downloaded the axlsqktoolkit from Cisoc CUCM plugin which consists of WSDL files.

However ,I need to consume that particular WSDL file.Like in SOAP UI we are given option to Browse and we have locate particular WSDL from Desktop and it get loaded into a Project with all the methods available.But in service now SOAP Messages need to Provide SOAP EndPoints with credentials and then it will load methods.Therefore I need a understanding of how CUCM WSDL will get consumed in ServiceNow.

Assistance which help in getting SOAP message generated will be highly appreciated.

One more thing is that I will be making use of MID Server as ServiceNow cannot directly communicate with CUCM So flow would something be like this

ServiceNow SOAP message- > MID Server - > CUCM.

Please find attached AXLAPI.WSDL and axlsqlkit.zip(which has all the schema (AXLAPI.wsdl,AXLSoap.xsdand AXLenums.xsd))

1 ACCEPTED SOLUTION

Hi Rohit,



As per the wsdl you attached the url is http://www.cisco.com/AXL/API/10.5


When you visit this url in browser it says page not found , that is the reason the error is host is null.


You can also ping the url and check whether the response is coming or not.


Unless and until you get the end-point url correct it won't generate the sample soap messages


Is the web service inside their network. If yes then try using a mid server and then generate sample soap messages.



Regards


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Rohit,



When you have the wsdl with you just copy paste the wsdl and put it in wsdl field. no need to specify the end point.


Then generate sample soap messages



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

It is giving me below Error



Unable to load WSDL: java.lang.RuntimeException: java.lang.IllegalArgumentException: host parameter is null:java.lang.IllegalArgumentException: host parameter is null


Hi Rohit,



As per the wsdl you attached the url is http://www.cisco.com/AXL/API/10.5


When you visit this url in browser it says page not found , that is the reason the error is host is null.


You can also ping the url and check whether the response is coming or not.


Unless and until you get the end-point url correct it won't generate the sample soap messages


Is the web service inside their network. If yes then try using a mid server and then generate sample soap messages.



Regards


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I do agree with all the points you have mentioned.



Yes,it is inside their network and asked for MID Server credentials .I will check and let you know on the progress.Thanks for the assistance.Can I have your email id in case of any further assistance.