How to receive data in XML format from mainframe in to AS/400 using webservice (SOAP) for below fields:-Field Name length Data Type

2920 pts.
Tags:
AS 400
RPG
SOAP
Hi, How can I write RPG program which should fetch data from mainframe system for a file which has 4 fields let's say A,B,C & D with below length and data types:-Field Name length Data Type
A 7 NUMERIC
B 2 NUMERIC
C 5 NUMERIC
D 5 CHARACTER
Main intention is to fetch data from mainframe in to AS/400 system in the fields of this file using webservice and in XML format any idea and assistance with program code? The above program is to introduce webservice which can fetch data in AS400 system using XML file format and through a webservice. Thanks!


Software/Hardware used:
AS/400
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

If you are just starting out in this area, look up a few of the articles Scott Klement has published. They are very good and have sample code. Check out this link on XML for RPG Programmers.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    Please link here for concepts and procedure: https://www.ibm.com/developerworks/ibmi/library/i-using-rpg/index.html

    Also you can follow this book, 'XML Web Services for RPG Programmers', by Aaron Bartell

    144,140 pointsBadges:
    report
  • mmanley
    The easier way to get this information, if it's from a SOAP interface, is to create a web services server.  With it, all you need to do is define a data structure and it will create all the programs to send/receive the data, and pull from your data structure or return values to the data structure.  Take a look at the Web Services Server documentation from IBM.  I don't remember the exact name of the manual.
    470 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: