ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » httprequest response message extrapolation problem

Post new topic  Reply to topic
 httprequest response message extrapolation problem « View previous topic :: View next topic » 
Author Message
the_vizz
PostPosted: Thu Nov 20, 2008 2:37 am    Post subject: httprequest response message extrapolation problem Reply with quote

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 :

(0x01000010):XMLNS = (
(0x05000018):XML = (
(0x06000011): = '1.0'
(0x06000012): = 'utf-8'
)
(0x01000000)http://schemas.xmlsoap.org/soap/envelope/:Envelope = (
(0x07000012)xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/'
(0x07000012)xmlns:xsi = 'http://www.w3.org/2001/XMLSchema-instance'
(0x07000012)xmlns:xsd = 'http://www.w3.org/2001/XMLSchema'
(0x01000000)http://schemas.xmlsoap.org/soap/envelope/:Body = (
(0x01000000)http://tempuri.org/:ManageSubscribersResponse = (
(0x07000012):xmlns = 'http://tempuri.org/'
(0x01000000)http://tempuri.org/:ManageSubscribersResult = (
(0x02000000): = '189 Success'
)
)

the following is within the compute node that picks up this response message :

DECLARE mySoapNS NAMESPACE 'http://schemas.xmlsoap.org/soap/envelope/';
DECLARE myXSI NAMESPACE 'http://www.w3.org/2001/XMLSchema-instance';
DECLARE myXSD NAMESPACE 'http://www.w3.org/2001/XMLSchema';
DECLARE myNS1 NAMESPACE 'http://tempuri.org';
DECLARE WS_STATUS CHAR;


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
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Nov 20, 2008 3:00 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

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'

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
the_vizz
PostPosted: Thu Nov 20, 2008 4:37 am    Post subject: Reply with quote

Newbie

Joined: 19 Nov 2008
Posts: 2

thank you very much fjb_saper for your time in replying .
It has solved the problem ..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » httprequest response message extrapolation problem
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.