Please ensure that any output fields are initially cleared/initialized. In
addition, when returning arrays, ensure you have a length field associated
with the array so that you can tell IWS how many elements are in the
array.

Description of length fields is in this article[1] under heading "Support
nested output arrays".

[1]
http://www.ibm.com/developerworks/ibmi/library/i-integrated-web-services-server/index.html?ca=drs-




"WEB400" <web400-bounces@xxxxxxxxxxxx> wrote on 06/14/2018 10:53:38 AM:

From: Chetan Sonawane <chansnwn@xxxxxxxxx>
To:
Cc: web400@xxxxxxxxxxxx
Date: 06/14/2018 11:25 AM
Subject: Re: [WEB400] IBM web service issue
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>

I have created a webservice from a service program. It accepts seven
parameters which includes data structure array. Web service is working
fine
for all parameters except for the first data structure paramter. It has
all
decimal values. Error is
"com.ibm.as400.access.ObjectDoesNotExistException:
/QSYS.LIB/TEST.LIB/TESTSRV.SRVPGM: Object does not exist." I have
created
the service program which works fine on AS400.

Below are the details of the issue:

INVALID URI REMOVED

u=https-3A__stackoverflow.com_questions_50795485_error-2D&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-

ew&m=kIGN7oDpU1E2mtd_ZwN4Buazx2ucM6UWjI0uM7zsTMM&s=PkMgNs6q9VnCawUCwWkD2BP6GyjKDXaMjL3gwMaxtoo&e=

throwing-for-a-particular-parameter-passed-to-the-webservice-test-in-as400





As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.