Kbase P159913: How to get the AppServer RETURN-VALUE when using the Web Services Adapter
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/9/2010 |
|
Status: Unverified
GOAL:
How to get the AppServer RETURN-VALUE when using the Web Services Adapter
GOAL:
How to populate the 'result' parameter when using the Web Service Adapter
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.x
FIX:
The Web Services Adapter (WSA) exposes AppServer procedures as Web Services. The WSA can return the AppServer RETURN-VALUE through a 'result' output parameter. This parameter is always present when using a Document/Literal Web Service and has a default value of null. When using an RPC/Literal or RPC/Encoded Web Service, the 'result' parameter is only present if "Return ABL RETURN-VALUE" is specified in ProxyGen.
In order to populate the 'result' output parameter with the RETURN-VALUE, the following steps are required:
Use the RETURN statement in the AppServer procedure to return a RETURN-VALUE.
Enable the "Return ABL RETURN-VALUE" option in ProxyGen for the AppServer procedure. This option is accessible after double-clicking on the procedure in ProxyGen. A new window will open where this option can be enabled or disabled.
Generate and deploy the Web Service again.