Hi,
We are running OpenEdge 102a and we expose an application via Web Services.
Our process is to compile the interface programs and then use proxygen to create a WSDL where the parameters become the nodes to the XML
so UpdateCustomer has fields
DEFINE INPUT PARAMETER Action AS CHARACTER NO-UNDO.
etc.
DEFINE INPUT-OUTPUT PARAMETER MrktPrefPhoneSLG AS LOGICAL NO-UNDO.
DEFINE INPUT-OUTPUT PARAMETER MrktPrefMailSLG AS LOGICAL NO-UNDO.
DEFINE INPUT-OUTPUT PARAMETER MrktPrefEmailSLG AS LOGICAL NO-UNDO.
DEFINE INPUT-OUTPUT PARAMETER MrktPrefSMSSLG AS LOGICAL NO-UNDO.
We have been asked to make the last 4 parameters "Optional" i.e. the WSDL would precede the field with
' <!--Optional:--> '
We have been requested to implement this first thing tomorrow morning!
I have searched the knowledge base and reviewed forum posts but cannot find a specific answer to my question.
I do not think this can be done but would appreciate any feedback that would highlight my ignorance [:)]
You are correct. It is not possible to have optional parameters in a Web service operation.
Regards,
Robin
You are correct. It is not possible to have optional parameters in a Web service operation.
Regards,
Robin
Hi Robin,
Thank you for your response.
But what you can do is send tables, arrays and datasets, with which it is possible to extract individual elements and generate variable behavior in your programs.
*************************************
Pero lo que si puedes hacer es enviar tablas, arreglos y datasets, con lo cual es posible extraer elementos, individuales y generar comportamiento variable en tus programas.