ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

XML & HTTP SSL help?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • XML & HTTP SSL help?

    I'm trying to find a good source for XML & HTTP. I'm working on a project that will use the UPS "Rates & Services XML API". Their API uses HTTP as the transport and I'm having trouble finding any documentation on how to do the HTTP from RPG???

    Can it be done from RPG at all?

    I think I can figure out the XML part but any help would be appreciated.

  • #2
    Re: XML & HTTP SSL help?

    Hello

    Yes XML can be done from RPG. It depends what you are trying to do.

    If you are trying to create XML that can be read by another program, it's usually least complicated to just string all your XML tags and data together in one big alpha field.

    If you are creating a webservice to work on HTTP Server, you have to construct your entry parameters in nested data structures (accoridng to how your XML is supposed to look) and use PCML to create the service.

    If you are trying to call a webservice from an RPG program, Scott Klement has some brilliant API's on his website you can download for free.

    Hope this helps

    Comment


    • #3
      Re: XML & HTTP SSL help?

      Thanks for the input, I found Scott Klement web site and I think his HTTP API is going to work for me.

      Thanks again

      Comment

      Working...
      X