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



What you need to do is setup a simple RPG CGI program in Apache and write
XML to standard out. For anybody wanting to consume your webservice you
would simply provide them the url that Apache is listening on(i.e.
http://myiseries.com/myrpgpgm)

Note that by default the above is port 80.  You could also have it listening
on a different port like 8080.

HTH,
Aaron Bartell


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Rick DuVall
Sent: Monday, December 19, 2005 2:46 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Replacing a Web Service with RPG...

Brad,

        But I still don't understand how to set up a 'Listening' web service
using either of the tools since they seem to require a URL (which I don't
have - All I will have is a port).

Rob,

        IBM seems willing to loosen it up - just not in a time frame I can
survive.


Thanks guys

Rick DuVall
Systems Manager
Dealer's Auto Auction of Okc
405 947-2886 Ext:143
rick@xxxxxxxxxx


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of rob@xxxxxxxxx
Sent: Monday, December 19, 2005 2:27 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Replacing a Web Service with RPG...


IBM hates it when they have to bend to support one of the other major
players.  But occasionally they do.  For instance, when Adobe reader came
out with a new release that started getting pickier on the format of a PDF
file IBM had to scramble like hell to get Infoprint Server to clean up their
format.  IBM was peeved, but they did it.  Is it something you feel that you
can push IBM on a little harder?

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Rick DuVall" <R_C_DuVall@xxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/19/2005 03:08 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
"RPG400-L@midrange. com" <RPG400-L@xxxxxxxxxxxx> cc

Fax to

Subject
Replacing a Web Service with RPG...






Hi everybody,

                 I created a web service for a LARGE client to send soap
messages to and receive responses from.  Unfortunately, their soap/xml is
invalid according to IBM level 2 support.  That is, Was V6.0 won't parse it
successfully.  I have absolutely no control over the incoming message - most
of the others communicating in this way are using Micr$oft tools which have
no apparent problem with the invalid namespaces used in the soap/xml message
or are manually parsing it in some way.

                 It occurred to me that it might be possible to set up an
RPG program listening on an internal port and just suck the message in and
manually parse it,  produce a reply and send it.  I immediately thought
about Scott's HTTPAPI, but I was unsure if the httpapi had any facility for
doing that.
It seems that all of the api's require a URL for gets/posts and it isn't
obvious to me how to set that up or if this is even true.

                 I guess I could just write a socket program listening to an
internal port that I have a reverse proxy in apache pointing to... ?

                 If anybody has any suggestions/hints/pointers I would
appreciate them.

                 Thanks in advance.

Regards,

Rick DuVall
Systems Manager
Dealer's Auto Auction of Okc
405 947-2886 Ext:143
rick@xxxxxxxxxx


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.




--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.