I have given i/p message in mqinput node as below :
<HTTPTest>
<URL>http://localhost:7080/svc1</URL>
<InputData>
<Data>Test</Data>
</InputData>
<OutputData>
<Data/>
</OutputData>
</HTTPTest>
in compute node
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
-- CALL CopyMessageHeaders();
-- CALL CopyEntireMessage();
SET OutputRoot = InputRoot;
SET OutputLocalEnvironment.Destination.HTTP.RequestURL = InputRoot.XMLNSC.HTTPTest.URL;
RETURN TRUE;
END;
compute mode :
localenvironment and message
HttpRequest node :
I have entered
Request message location in tree = InputRoot.XMLNC.HTTPTest.InputData
Response message location in tree = OutputRoot.XMLNSC.HTTPTest.OutputData
compute node1 :
BEGIN
-- CALL CopyMessageHeaders();
CALL CopyEntireMessage();
SET OutputRoot.HTTPResponseHeader= null;
RETURN TRUE;
END;
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