> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bryan Klimek
> Sent: Friday, February 09, 2007 2:57 PM
> To: [email protected]
> Subject: Calling webservice with Rexx
> 
> 
> Can I call a webservice using a Rexx cgi from my http server on z/OS?
> 
> For example, this webservice will get a stock quote for IBM.
> http://www.webservicex.net/stockquote.asmx/GetQuote?symbol=IBM
> 
> Is there a technique to write a cgi in Rexx that I can run 
> from my http 
> server on z/OS that will call this webservice and allow me to 
> consume the 
> output of this webservice?
> 
> Bryan Klimek
> Mayo Clinic

IIRC, a "web service" is SOAP based, which is a specially architected
protocol based on HTTP. So, the answer is, if you want to write REXX
sockets code to do this, then yes you can. If you mean, is there a
simple way to do this in REXX, then no. There is a fairly simple way to
do it in Java, however. And I know how to run a Java program from a REXX
exec. For whatever good that may do you.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

----------------------------------------------------------------------
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

Reply via email to