System Requirements:

  • An AS/400 (iSeries/400) running OS/400 version V4R4 or later.
  • Your AS/400 needs to be running TCP/IP.
  • You need an ILE RPG/400 compiler.

 
Instructions

  • Log onto your AS/400 and create a library and file to upload the XML into:

    • CRTLIB LIBHTTP
    • CRTSRCPF LIBHTTP/XML RCDLEN(112)

  • Download the XML installer to your PC by right-clicking this link HTTP API distribution and choosing "Save Target As."

    • Open an MS-DOS Prompt.
    • Type: cd \directory\where\you\put\httpapi.xml
    • Type: ftp your-as400-name-here
    • Type: (enter your username & password when asked)
    • Type: ascii
    • Type: put httpapi.xml LIBHTTP/XML.UPLOAD
    • Type: quit

  • Back on the AS/400, type:
    • STRSEU LIBHTTP/XML XMLEXTRACT
    • Press F15 and open up the UPLOAD member as your browse/copy member.
    • Copy everything between the <install_program> and </install_program> into the XMLEXTRACT member.
    • Press F3 and save your changes.
    • CRTBNDRPG LIBHTTP/XMLEXTRACT SRCFILE(LIBHTTP/XML)
    • CALL XMLEXTRACT ('UPLOAD' 'XML' 'LIBHTTP')
    • The XML installer will guide you through the rest of the process.