On 13 May 2009 14:47:41 -0700, in bit.listserv.ibm-main you wrote: > Hi Clark, > >I could only find this post: >http://groups.google.com/group/comp.lang.cobol/browse_thread/thread/285d1ccffe9ec764# > >Is that the one you were refering to? Yes and it was good to see the thread so that people can get a full flavor of the discussion. > >Thanks, Denis. > > > > > > > >-----Original Message----- >From: Clark Morris <[email protected]> >To: [email protected] >Sent: Wed, 13 May 2009 5:50 pm >Subject: Re: Batch Process Calling a Web Service > > >On 12 May 2009 23:42:31 -0700, in bit.listserv.ibm-main you wrote: > >>Hi Bill, >> >>tell your Java programmers to write an Java Client for the Web Service. >>Then create a COBOL wrapper for that Java program with Enterprise COBOL. >>Call that COBOL as subroutine from your Batch COBOL. Enterprise COBOL will >create the JVM in the same address space and reuse it. > >Someone was posting about problems with doing this on comp.lang.cobol. >He could do the non-OO COBOL to OO COBOL call and the OO COBOL to Java >INVOKE but it would not work non-OO COBOL calling OO COBOL invoking >Java. Could you post details on doing it both here and on the usenet >newsgroup comp.lang.cobol. > >Thanks, Clark Morris >> >>An example on how to call a Java class from Enterprise COBOL can be found >>here: >>http://www.ims-society.org/board/viewtopic.php?t=79 >>The sample is how to do it for an IMS online program. However, its a compiler >function so you can do that in any z/OS address space! >>This way you do not have to deal with 404. In addition COBOL can also get >control when there are Java Exceptions and act accordingly (e.g. rerun the >request). >> >> >> >>Denis Gaebler. >> >> >> >> >>-----Original Message----- >>From: George.William <[email protected]> >>To: [email protected] >>Sent: Tue, 12 May 2009 7:49 pm >>Subject: Batch Process Calling a Web Service >> >> >> >> >> >> >> >> >> >> >>This is just an initial concept question. >>In general, what mechanism could; >> >>* a batch job, most likely an Enterprise COBOL batch program, >>* connect with a web service and request information from some >>application the web service connects with outside of the mainframe world >>* receive a response back from said application >>or if no response, be able to deal with a 404 >>(timeout, service not available, basically no response) type situation >>* and then go about it batch processing with the returned information >> >>We are at the pre-pre-concept of this and just looking for ideas. >>Thanks >>Bill George >>
---------------------------------------------------------------------- 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

