× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



 We do this with a utility from BVSTONE---  GETURI 
        http://www.bvstools.com   
Most of our things are in CLP:
        $GETURI     URI(&WURI) OUTPUT(&WOUTPUT) +        
             USERAGENT(&WUAGENT) DATA(&WDATA) +  
             METHOD(&WMETHOD) HOST(&WHOST) +     
             BUSER(&WWUSER) BPW(&WWPSWD)         
                        MONMSG CPF0000             

But this should be able to be done in RPG as well.

Hope this helps...
Marty                           

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
midrange-l-request@xxxxxxxxxxxx
Sent: Saturday, March 20, 2004 10:23 PM
from: "Joe Pluta" <joepluta@xxxxxxxxxxxxxxxxx>
subject: RPG as a Web Service Consumer

I'm cross posting this in a few places, so if you see multiple copies of
this, please forgive me.  This is a rather unusual request in that in
researching the net (including archives, Google, mail scans, you name
it) I haven't found ANYTHING about the subject anywhere.  Since it
crosses several domains, I thought I'd give it a shot in multiple
places.

My question is this: has anybody tried calling a web service directly
from RPG?  I can't believe it's that difficult; it's simply a sockets
communication.  But I can find no examples anywhere.  I suppose I can
reverse engineer the Java client WDSC generated for me, but that seems
like overkill (especially after I looked at the code <shudder>).

It's not like it's crucial.  I can always call a Java program to do the
work.  But we all know the performance downsides of invoking Java from
RPG; it would be nice to be able to do it directly from RPG.

What do you all think?
Joe


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.