Hi there, In the Java program , "MyHost" is my SMS server, I need to connect to my SMS server at port 80 then pass some message into it accordingly Is there any way to convert the attached Java source to RPGLE? Or 1). In a RPGLE program, how to establish a connection to an HTTP server (HTTP://MyHost:80)? ( Can http_connect be used?) 2). How to post message to an URL argument? (is it http_url_ post? Any example?) 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"); (See attached file: SampleAPICall.java) Regards, Jiguang ----------------------------------------------------------------------- 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.
Attachment:
SampleAPICall.java
Description: Binary data