hi all
I would need to know how I could and if solve this problem. This s my scenario :
I need to write an RPG program that run as SOAP web service (exposed in IBMi
via IWS(Integrated Web Service)) and that receive the following parameters
(see below)

My problem is how have to define the Program interface/*entry plist , to
respect the levels and to produce a compatible WSDL with this structure

Below my Rpg Program ; if generate the WSDL with IWS (with this RPG) I see
also “orderds”, but I think is not coherent with the following table

If you could help me to solve this problem, I would be gratefull
Thanks in advance
I hope to be explained me (is not easy)

Paramters
Entity Name Entity Field Name
ORDER CONFIRM orderConfirmRequest/
idReq orderConfirmRequest/idReq
date orderConfirmRequest/date
ORDER orderConfirmRequest/order
idOrd orderConfirmRequest/order/idOrd
dateOrd orderConfirmRequest/order/dateOrd
ITEMS orderConfirmRequest/order/items/
ITEM orderConfirmRequest/order/items/item/
row orderConfirmRequest/order/items/item/row
code orderConfirmRequest/order/items/item/code

rpg program
D items Ds
D row 10i 0
D code 20

D orderDs...
D Ds
D idOrd 9
D dateOrd Like(xsd_dateTime)

D confirmOrderRequest...
D Pr ExtPgm('XXXX1A')
D idReq 10 Const
D date Const Like(xsd_dateTime)
D order Const LikeDs(orderDs)
D item Const LikeDs(items) dim(100)

D confirmOrderRequest...
D Pi
D idReq 10 Const
D date Const Like(xsd_dateTime)
D order Const LikeDs(orderDs)
D item Const LikeDs(items) dim(100)

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