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



They're telling you how to do it with a web browser.  AFIAK, there is
no web browser that runs on the iSeries.

If you grab a copy of my HTTPAPI from http://www.scottklement.com/httpapi/
you should be able to do what you want to do.

Included in the QRPGLESRC file is several examples.  EXAMPLE4 and EXAMPLE5
show posting XML source to a web site.  They aren't EXACTLY what you're
doing, but they're pretty close.   You'll have to change them to be http:
instead of https://, but that's a minor change...  you may also have to
stuff your XML file into a varPayload variable, but that's not too
difficult, either.

If that's not enough to get you started, contact me off-list...  or maybe
on the FTPAPI list from my web server. (which is where HTTPAPI is to be
discussed)


On Tue, 29 Oct 2002, Art Tostaine, Jr. wrote:

> I have to post XML to a website from my Iseries running V4R3.
>
> I have the XML document all ready to go.
>
> When I asked how I post it, they gave me a sample .HTM file.  Here is the 
>important part:
>
> <form action="http://xxx.xxx.xx.xxx/Integration/Integration.asmx/Populate"; 
>method="post">
>                       Paste Full Route XML here:
>                       <br>
>                       <textarea name="varPayload" cols="100" rows="50">
>
> They have little knowledge about how to do it from a server.  He said one 
>customer did it with a Unix box and he put varPayload =
> "populate" or something.
>
> Has anyone done this?  I was hoping to use either Scott Klements or Brad's 
>GetUri.
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.