File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Mainframe / Web Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Mainframe / Web Services" Watch "Mainframe / Web Services" New topic

Mainframe / Web Services

Joe Pardi
Ranch Hand

Joined: Oct 03, 2001
Posts: 47
At my company, we are planning on exposing some EJB's via Web Services (using WebSphere 4.0). I recently found out that a customer wants to call these Web Services from their online Tandem mainframe system.
Anyone have any thoughts or ideas regarding this?
Any insight would be appreciated ...
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
It's certainly doable. We've got a customer now that's working on porting Apache SOAP to the mainframe. Since really all you need is a JVM, then it certainly sounds viable.
Also, it's even theoretically possible (but trickier) to do this all in COBOL, since all you're really doing in creating SOAP messages is formatting strings...

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
Joe Pardi
Ranch Hand

Joined: Oct 03, 2001
Posts: 47
My initial thoughts are that mainframes are usually SMTP enabled, so it can be used for the transport layer. I'm not sure how the messages are encrypted and secured however. Probably can't use something like a digital signature.
I would envision that a COBOL program could send a SOAP message just as any other SOAP client would. The hard thing is to convince the programmers to use SOAP and XML in their COBOL programs since most of this must be coded manually and COBOL is not a great language for doing this. There is no JVM on their mainframe.
To recap, the issues are:
- Transport: use SMTP?
- Security: encryption and authentication
- COBOL as a SOAP/XML-friendly language
I agree. Here's the link:
subject: Mainframe / Web Services
It's not a secret anymore!