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?

Thanks, Denis.


 


 

-----Original Message-----
From: Clark Morris <cfmpub...@ns.sympatico.ca>
To: IBM-MAIN@bama.ua.edu
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 <william.geo...@ftb.ca.gov>
>To: IBM-MAIN@bama.ua.edu
>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
>
>______________________________________________________________________
>CONFIDENTIALITY NOTICE: This email from the State of California is for the 
>sole 

>use of the intended recipient and may contain confidential and privileged 
>information. Any unauthorized review or use, including disclosure or 
>distribution, is prohibited. If you are not the intended recipient, please 
>contact the sender and destroy all copies of this email.
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
>Search the archives at http://bama.ua.edu/archives/ibm-main.html
>
>
>
> 
>
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
>Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to