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



HI All

I am facing peculiar situation as I have program which has multiple data
structures in web services.

dcl-Pi main ;
p Packed(10);
Mode Char(1);
File Char(15);
HEADR_IN likeDS(t_Headquarters_Service);
BILL_IN likeDS(t_BillTo_Service);
HEADR_OUT likeDS(t_Headquarters_Service);
BILL_OUT likeDS(t_BillTo_Service);
Error Char(1000);
Status Char(1);
end-Pi;


So while deploying the web services using IWS , which method should be
used to pass these data structures. I am getting the following error in IWS.

Procedure name: MAIN
URI path template for resource: /{p}/{Mode}/{File}/{HEADR_IN}/{BILL_IN}
HTTP request method: GETPUTDELETEPOST
URI path template for method: - Other -or...*NONE
HTTP response code output parameter: *NONE
HTTP header array output parameter: *NONE
Allowed input media types: - Other -or...*ALL*XML*JSON*XML_AND_JSON
Returned output media types: - Other -or...*XML*JSON*XML_AND_JSON
[image: ZUI_54401: The procedure may contain an input parameter that is an
array, or more than one input parameter is a structure, or there is a
primitive input parameter with a type other than "int", "char", "byte",
"float", "packed" or "zoned". In this situation only Wrap input parameters
can be selected or you can update your program and try again.]Whether to
wrap input parameters:
Wrap input parameters
Do not wrap input parameters

Input parameter mappings:
Parameter nameData typeInput sourceIdentifierDefault Value
P packed - Select -*QUERY_PARAM*PATH_PARAM*FORM_PARAM*COOKIE_PARAM
*HEADER_PARAM*MATRIX_PARAM*NONE - Other -or...*NONE
MODE char - Select -*QUERY_PARAM*PATH_PARAM*FORM_PARAM*COOKIE_PARAM
*HEADER_PARAM*MATRIX_PARAM*NONE - Other -or...*NONE
FILE char - Select -*QUERY_PARAM*PATH_PARAM*FORM_PARAM*COOKIE_PARAM
*HEADER_PARAM*MATRIX_PARAM*NONE - Other -or...*NONE
HEADR_IN struct *NONE
BILL_IN struct *NONE


ZUI_54401: The procedure may contain an input parameter that is an array,
or more than one input parameter is a structure, or there is a primitive
input parameter with a type other than "int", "char", "byte", "float",
"packed" or "zoned". In this situation only Wrap input parameters can be
selected or you can update your program and try again.
<http://10.1.4.2:2001/Go%20to%20the%20field%20in%20error.>








As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.