|
Hi Richard
should be pretty simple to write.
Is there a reason you feel the need to use SOAP or is it a requirement ?
A good CGI RPG program can return XML, JSON, whatever format you want and
SOAP is not the preferred method these days from my understanding.
Item and to write relative program
Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@...
p. 952.486.6802
w. helpsystems.com
------------------------------
message: 2
date: Fri, 13 May 2016 12:39:46 +0200
from: "p.Caroti" <p.caroti@...>
subject: [WEB400] Exposing in IBM i a Web Service that receive an Item
list
hi to everybody,
I should exopse in IBM i' HTTP a SOAP Web service, that receives a list of
that it elaborates the Web Service requests; in past I have had theopportunity of doing things similar
with Web Service type REST, but it is the first time that I try to solvethe problem list with SOAP WS; my
doubts are:through the IWS Wizard?
- How I can specify the input parameters in Web service configuration
- same thing for the RPG program , how can read the input (List item)parameters ?
<ns1:ReqItem>
do I have to specify an array obligatorily?
can some one give me some suggestions on as to approach thi problem ?
thanks
p.s. i'm running V6R1
this the example of the Xml that I should receive
<SOAP-ENV:Envelope xmlns:SOAP-ENV="
<http://schemas.xmlsoap.org/soap/envelope/>
http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="
<http://www.mysite.it/WS01> http://www.mysite.it/WS01"> <SOAP-ENV:Body>
<ns1:idReq>1234</ns1:idReq> <ns1:articoli> <ns1:articolo><ns1:numeroRiga>1</ns1:numeroRiga>
<ns1:itm>019806503</ns1:itm> </ns1:articolo> <ns1:articolo><ns1:numeroRiga>2</ns1:numeroRiga>
<ns1:itm>992449315</ns1:itm> </ns1:articolo> <ns1:articolo></ns1:articolo>
<ns1:numeroRiga>3</ns1:numeroRiga> <ns1:itm>512449696</ns1:itm>
</ns1:articoli> </ns1:ReqItem> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.