We have a financial product that has built in scheduling capabilities to run over night batches. This product can also use web services to kick off each batch as required.
I want to know if it is possible to call the web services from a .bat file or another type of batch/script file. If this is possible then we can call the batch file from the companies scheduling service (Autosys).
I don't want to write a exe to call this if possible (circumstances outside my control).
KISS approach :)
This is a take on John'o's answer that uses Microsoft.XmlHttp (which should already exist on the server\workstation)
Create a .vbs a
Set http = CreateObject("Microsoft.XmlHttp")
http.open "GET", "http://www.webservicex.net/stockquote.asmx?WSDL", FALSE
http.send ""
WScript.Echo http.responseText
Hi All I found the answer if anyone else is looking to do the same thing. The following link has an example using a .vb script to call the WS.
http://blogs.msdn.com/bgroth/archive/2004/10/21/246155.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With