Consultor Eletrônico



Kbase P122929: Is it possible to remove the 'result' element in the OpenEdge Web Service SOAP Response ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   31/12/2009
Status: Unverified

GOAL:

Is it possible to remove the 'result' element in the OpenEdge Web Service SOAP Response ?

GOAL:

How to create an OpenEdge Web Service which does not add the 'result' element in the SOAP Response ?

GOAL:

How to prevent the 'result' OUTPUT parameter when deploying an OpenEdge Web Service

FACT(s) (Environment):

OpenEdge 10.x
All Supported Operating Systems

FIX:

If you want to use Document/Literal for your Web Service, then there is no way to remove the 'result' parameter which is being returned. Instead you can create an RPC/Literal Web Service which does not have the result parameter by default (you can still turn it on in ProxyGen). Please note that RPC/Encoded also does not have the result parameter, but RPC/Encoded has been deprecated and as such is not recommended.
Please refer to chapter 4, "Understanding how client interfaces differ using different SOAP formats" of the "OpenEdge Development: Web Services" manual which discusses the method return values.