Using 10.1C, I am currently in the process of converting some older ABL Web Service calls from to an OO class. The calls need to modify the SOAP request headers and read the response headers, and are using SET-CALLBACK-PROCEDURE to do so. Trying to move the logic over to a class, I found SET-CALLBACK-PROCEDURE is not supported, and that SET-CALLBACK needs to be used instead. However, simply changing the SET-CALLBACK-PROCEDURE method to SET-CALLBACK throws a runtime error (Third argument to SET-CALLBACK-PROCEDURE must be a valid procedure handle -11982).
What am I missing? And is there a better way handle the SOAP headers in 10.1C while still using standard ABL web service calls?
Hi Brian
Did you have any joy resolving this, I happen to have hit the exact same problem.
TIA
Matthew
Thanks, but I've read the thread and don't see the solution anywhere, could be I'm just overlooking it...
My problem is, I have a Progress class, but SET-CALLBACK-PROCEDURE doesn't work in classes, what do I do to make it work in a class?
SET-CALLBACK doesn't seem to work either in classes, although the documentation leads you to believe it should.
SET-CALLBACK doesn't seem to work either in classes, although the documentation leads you to believe it should.
Works fine for me! Can you elaborate what "doesn't seem to work" means? Compile errors? Runtime errors? Any code samples?
BUFFER eCustomer:SET-CALLBACK ("AFTER-FILL", "eCustomerAfterFill", THIS-OBJECT).
...
METHOD PUBLIC VOID eCustomerAfterFill (INPUT DATASET FOR dsCustomer):
I'm doing the exact same thing and getting the exact same runtime error as Brian (start of this thread) ...
Are you on an historic release like 10.1C as well? Maybe you should try 10.2B then...