× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Richard

SOAP is actually simple - and when used is just a quick way to get a
another checkmark
in your SOX audit report ;-)

On Fri, May 13, 2016 at 7:09 PM, Richard Schoen <
Richard.Schoen@xxxxxxxxxxxxxxx> wrote:

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
should be pretty simple to write.

SOAP is not the preferred method these days from my understanding.

Regards,


Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
------------------------------

message: 2
date: Fri, 13 May 2016 12:39:46 +0200
from: "p.Caroti" <p.caroti@xxxxxxxx>
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
Item and to write relative program that it elaborates the Web Service
requests; in past I have had the opportunity of doing things similar with
Web Service type REST, but it is the first time that I try to solve the
problem list with SOAP WS; my doubts are:
- How I can specify the input parameters in Web service configuration
through the IWS Wizard?
- same thing for the RPG program , how can read the input (List item)
parameters ?

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:ReqItem> <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:numeroRiga>3</ns1:numeroRiga> <ns1:itm>512449696</ns1:itm>
</ns1:articolo> </ns1:articoli> </ns1:ReqItem> </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.