On Fri, 24 Jun 2011 12:52:05 +0200, Jan Vanbrabant <[email protected]> wrote:
>The question is fully contained in the subject: >HOWTO invoke Web Services from a batch program? Hi Jan, One way I've done this is with a COBOL/Java combination. If you have the WSDL describing the web service, you can use the wsimport utility provided with the JDK to generate and compile the web service client code. Then you can invoke the java methods with an OO COBOL program to actually invoke the web service and return the result. The performance for the first call is not very good probably due to the overhead of getting the JVM going; subsequent calls seem to be OK though. Contact me offline if you's like to see my demonstration program that does this. Alternatively, you could code the whole think in java, I suppose. ;) -Phil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

