Kbase P75019: Web Services: How to execute an internal procedure of an invoked persistent procedure?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/27/2009 |
|
Status: Verified
GOAL:
How to execute an internal procedure of an invoked persistent procedure in Web Services?
GOAL:
Example code for using SET-CALLBACK-PROCEDURE with Web Services
FACT(s) (Environment):
OpenEdge 10.x
All Supported Operating Systems
FIX:
Web Services needs to reference the handle of a persistent procedure as a SOAP HEADER. To invoke an internal procedure of a persistent procedure you must use a SOAP HEADER to identify the persistent procedures' handle. SET-CALLBACK-PROCEDURE can be used to set the REQUEST/RESPONSE SOAP HEADER that is needed. For example:
hCustServiceObj:SET-CALLBACK-PROCEDURE("RESPONSE-HEADER","myResponsehandler").