I have an appserver routine that is being exposed as a web service.
I have a requirement to have an input parameter the same name as an output parameter on the web service
e.g. the parameter "JobId"...
DEFINE INPUT PARAMETER JobId AS INTEGER NO-UNDO.
DEFINE INPUT PARAMETER JobAction AS CHARACTER NO-UNDO.
DEFINE OUTPUT PARAMETER JobId AS INTEGER NO-UNDO.
DEFINE OUTPUT PARAMETER JobStatus AS CHARACTER NO-UNDO.
Obviously this will not compile as "JobId" is not unique.
Is there any way that I can code this so that it will compile ok and when I include this routine in a proxygen the input & output parameters "JobId" can have the same name ?.
Thanks
Bobby
I have a requirement to have an input parameter the same name as an output parameter on the web service
e.g. the parameter "JobId"...
DEFINE INPUT PARAMETER JobId AS INTEGER NO-UNDO.
DEFINE INPUT PARAMETER JobAction AS CHARACTER NO-UNDO.
DEFINE OUTPUT PARAMETER JobId AS INTEGER NO-UNDO.
DEFINE OUTPUT PARAMETER JobStatus AS CHARACTER NO-UNDO.
Obviously this will not compile as "JobId" is not unique.
Is there any way that I can code this so that it will compile ok and when I include this routine in a proxygen the input & output parameters "JobId" can have the same name ?.
Thanks
Bobby