Posted: Thu Apr 08, 2004 10:36 am Post subject: IA81 Support Pac
Newbie
Joined: 03 Mar 2002 Posts: 5 Location: Worcester, MA
Anybody try IA81 Support Pack Example4 yet?
I am trying to run IA81 Example 4 and seem to be stuck because the soap_decode_request procedure is looking for the first field to be "Envelope"
Code:
-- Move to start of message and check it is Envelope
MOVE InputIterRef FIRSTCHILD Type 0x01000000;
SET field = FIELDNAME(InputIterRef);
IF field <> 'Envelope' THEN
CALL soaplib_setfault(Environment, FaultCode, FaultString, FaultActor,'SOAP message does not have an Envelope');
Set Status = 'Error';
RETURN;
END IF;
but using the input message 1 supplied with the support pac and running it through, I get the following result in the trace. Should the code be change to add the namespace or I am doing something wrong?
Code:
IA81v2_Example4_Request.ProcessRequest': Finished evaluating expression 'field <> 'Envelope'' at (soapbrschema.soaplib_decode_request, 35.11). This resolved to ''soapenv:Envelope' <> 'Envelope''. The result was 'TRUE'.
As you can see ''soapenv:Envelope' <> 'Envelope'' because the input has namespace qualification. I am running the support pac as delivered with no mods. Shouldn't the code function correctly or doe the namespace qualifier need to be added to the ESQL thus modifying the support pac?
Thanks
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum