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



Could you help further more?

I downloaded HTTPAPI, however, I could not try it out.

Regards,
Xue Jiguang
IT Division
Canon Singapore PTE LTD
TEL No. (65) 67963544
FAX No. (65) 62212302


                                                                                
                                                      
                      Magne Kofoed                                              
                                                      
                      <magne@xxxxxxxxx>          To:       Java Programming on 
and around the iSeries / AS400                         
                      Sent by:                    <java400-l@xxxxxxxxxxxx>      
                                                      
                      java400-l-bounces@m        cc:                            
                                                      
                      idrange.com                Subject:  Re: Convert a Java 
source to RPGLE                                         
                                                                                
                                                      
                                                                                
                                                      
                      02/01/2005 02:55 PM                                       
                                                      
                      Please respond to                                         
                                                      
                      Java Programming on                                       
                                                      
                      and around the                                            
                                                      
                      iSeries / AS400                                           
                                                      
                                                                                
                                                      
                                                                                
                                                      




Hi,

try the rpg http api at
http://www.scottklement.com/httpapi/

This is an RPG IV service program that uses socket calls to
implement the HTTP 1.1 protocol.

Regards
Magne



Hi there,

Is there any way to convert the attached Java source to
RPGLE?

In the RPGLE program, I need to pass some parameters to the
URL argument.

      URL objURL = new URL
("http://MyHost/servlet/commz.servlet.SendMsg?id

=demo&n=659234234&msg=testing+one+two+three&desc=test");

"MyHost" is my SMS server, I need to telnet to my SMS server
at port 80
then pass some message to it accordingly

(See attached file: SampleAPICall.java)

Regards,
Xue Jiguang
IT Division
Canon Singapore PTE LTD
TEL No. (65) 67963544
FAX No. (65) 62212302


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






-----------------------------------------------------------------------
Important : This message is intended for the recipient(s) addressed
above. It contains privileged and confidential information.  If you
are not the intended recipient, kindly notify the sender immediately
 by replying to this message and then delete it from your system.
You must not read,  copy,  use,  disseminate,  disclose,  retain or
reproduce all or any part of the information or any attachments
from this communication in any form. Thank you.

Disclaimer  : Email communications are not secure.  While we have
taken every  reasonable effort  to ensure that this  communication
has not been tampered with,  Canon is not responsible for any changes
made to the contents of or any attachments to this message without its
consent.  If you wish to receive a hard copy of this  message to verify
the accuracy of the contents thereof, please contact the sender. Note
that only views,  opinions or such other  information contained in this
message that relate to the official business of Canon is to be taken to
have been sent by  and on behalf of Canon.  All opinions,  conclusions
and other  information  expressed in  this message  not of an official
nature  shall  not be  deemed  as  given  or  endorsed  by  Canon unless
otherwise indicated by an authorized  representative  independent of
this message.



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.