Posted: Thu Nov 20, 2008 2:37 am Post subject: httprequest response message extrapolation problem
Newbie
Joined: 19 Nov 2008 Posts: 2
Hi,
Have the following Scenario :
calling a web service through httprequest node which responds with a
successfull response .
The trace for this response message prior to entering a compute node is below :
SET OutputRoot.MQMD = Environment.MQMD ;
SET OutputRoot.MQRFH2 = Environment.MQRFH2 ;
SET OutputRoot.HTTPRequestHeader = NULL;
SET OutputRoot.HTTPRequestHeader = NULL;
SET OutputRoot.XMLNS = NULL ;
-- Set target message set and message type
SET OutputRoot.Properties.MessageDomain='MRM';
SET OutputRoot.Properties.MessageFormat = 'CwXML';
SET OutputRoot.Properties.MessageSet = 'CRM_EFAXRESP';
SET OutputRoot.Properties.MessageType = 'CRM_EFAXRESP';
-- MQRFH2 HEADER CODE
SET OutputRoot.MQMD.Format = 'MQHRF2 ';
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR ';
SET OutputRoot.MQRFH2.(MQRFH2.Field)Encoding = 273;
SET OutputRoot.MQRFH2.(MQRFH2.Field)CodedCharSetId = 1208;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Flags = 0;
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
SET "OutputRoot"."MRM"."xmlns_CRM_EFAXRESP"='http://www.ibm.com/websphere/crossworlds/2002/BOSchema/CRM_EFAXRESP';
SET "OutputRoot"."MRM"."verb" = 'Update';
SET "OutputRoot"."MRM"."CORR_ID" = CAST (Environment.CORR_ID AS INTEGER );
SET WS_STATUS = InputRoot.XMLNS.mySoapNS:Envelope.mySoapNS:Body.myNS1:ManageSubscribersResponse.myNS1:ManageSubscribersResult;
inspecting the value of WS_STATUS returns null instead of the expected
'189 Success' .
I cannot see why the value for WS_STATUS is not being set .Any help with this would be much appreciated .
Last edited by the_vizz on Fri Nov 21, 2008 2:31 am; edited 1 time in total
Could be a possible namespace discrepancy.
Trace $Root in a trace node, before entering your compute node.
This should show you the exact namespace of the message tree.
Looking at your post there is a discrepancy in the namespace:
on the message:
'http://tempuri.org/'
As defined by you:
'http://tempuri.org'
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