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 » Urgent not creating fields

Post new topic  Reply to topic
 Urgent not creating fields « View previous topic :: View next topic » 
Author Message
sweety176
PostPosted: Sun Sep 11, 2005 6:13 am    Post subject: Urgent not creating fields Reply with quote

Apprentice

Joined: 24 Aug 2005
Posts: 30

HI
I wrote the follwing code in my compute node
Code:
DECLARE C INTEGER;
SET C = CARDINALITY(InputRoot.*[]);
DECLARE I INTEGER;
SET I = 1;
WHILE I < C DO
   SET OutputRoot.*[I] = InputRoot.*[I];
   SET I=I+1;
END WHILE;
-- Enter SQL below this line.  SQL above this line might be regenerated, causing any modifications to be lost.
--map declarations
SET OutputRoot.XML.(XML.XmlDecl) = InputRoot.XML.(XML.XmlDecl);
CREATE FIELD OutputRoot.XML."SOAP-Env:Envelope";
--assign namespaces and other attributes
SET OutputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:dqrqfn" = InputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:dqrq";
SET OutputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:hrq" = InputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:hrq";
SET OutputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:jpmc" = InputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:jpmc";
SET OutputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:SOAP-Env" = InputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:SOAP-Env";
SET OutputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:xsi" = InputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:xsi";
SET OutputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:schemaLocation" = InputRoot.XML."SOAP-Env:Envelope".(XML.Attribute)"xmlns:schemaLocation";
--map input header to output header
CREATE FIELD OutputRoot.XML."SOAP-Env:Envelope"."SOAP-Env:Body"."dqrqfn:DocumentQryRqMsg"."hrq:HdrOrigRqRmmMsgGrp" FROM InputRoot.XML."SOAP-Env:Envelope"."SOAP-Env:Body"."dqrq:DocumentQryRqMsg"."hrq:HdrOrigRqRmmMsgGrp";
-- FIELD OutputRoot.XML."SOAP:Env:Envelope"."SOAP-Env:Body"."dqrqfn:DocumentQryRqMsg"."dqrqfn:DocumentQryRes";
/*--(XML.Content) = FIELDVALUE(InputRoot.XML."SOAP-Env:Envelope"."SOAP-Env:Body"."dqrq:DocumentQryRqMsg"."dqrq:DocumentQryRes"."IMAGE"."ORIGINAL_LOAN".(XML.Attribute)LoanOriginationSystemLoanIdentifier);*/

The problem is when i comment the fileds as shown the message is tranformed. The headers are mapped as specified.But even if I add a simple create statement beyond that the message is put to deadletter queue of the broker QM ie sending QM.
I am also pasting the input message
Code:

<?xml version = "1.0" encoding = "UTF-8"?>
<SOAP-Env:Envelope  xmlns:hrq="http://xmlcoe.jpmorganchase.com/header/v1_3" xmlns:dqrq="http://xmlcoe.jpmorganchase.com/CHF/DocumentQueryRequest" xmlns:jpmc="http://xmlcoe.jpmorganchase.com/mismo/extensions" xmlns:SOAP-Env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/
http://xmlcoe.jpmorganchase.com:8000/CHF/DocumentQry/Schemas/DocumentUpdRqSOAP.xsd">
<!--xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ DocumentUpdRqSOAP.xsd">-->
   <SOAP-Env:Body>
      <dqrq:DocumentQryRqMsg>
         <hrq:HdrOrigRqRmmMsgGrp>
            <hrq:hdrRqFrmInstGrp>
               <hrq:hdrTmstmp>2005-01-01T13:20:00-05:00</hrq:hdrTmstmp>
               <hrq:hdrCIGrp>
                  <hrq:hdrClntId>HELOS</hrq:hdrClntId>
               </hrq:hdrCIGrp>
               <hrq:hdrMsgIdGrp>
                  <hrq:hdrUUId/>
               </hrq:hdrMsgIdGrp>
            </hrq:hdrRqFrmInstGrp>
            <hrq:hdrRqToServGrp>
               <hrq:hdrServPrvdBusId>RFS</hrq:hdrServPrvdBusId>
               <hrq:hdrServPrvdBusUntId>CHF</hrq:hdrServPrvdBusUntId>
               <hrq:hdrServNm>IMAGE</hrq:hdrServNm>
               <hrq:hdrServAction>AddDoc</hrq:hdrServAction>
               <hrq:hdrServVer>1.0</hrq:hdrServVer>
            </hrq:hdrRqToServGrp>
            <hrq:hdrOrigFrmWhoGrp>
               <hrq:hdrBusUntId>RFS</hrq:hdrBusUntId>
               <hrq:hdrBusServUntId>CHF</hrq:hdrBusServUntId>
               <hrq:hdrUsrGrp>
               <hrq:hdrPtySysLogId>U542345</hrq:hdrPtySysLogId>
               </hrq:hdrUsrGrp>
            </hrq:hdrOrigFrmWhoGrp>
            <hrq:hdrActnRqstGrp>
                  <hrq:hdrRplyInd>N</hrq:hdrRplyInd>
            </hrq:hdrActnRqstGrp>
         </hrq:HdrOrigRqRmmMsgGrp>
         <dqrq:DocumentQryRes>
            <IMAGE>
               <ORIGINAL_LOAN LoanOriginationSystemLoanIdentifier="123456789"/>
               <EMBEDDED_FILE jpmc:EmbeddedDocumentIdentifier="1234567"/>
            </IMAGE>   
         </dqrq:DocumentQryRes>
      </dqrq:DocumentQryRqMsg>
   </SOAP-Env:Body>
</SOAP-Env:Envelope>

When I comment out the lines below the line mapping headers i get the following output which is correct.
Code:

<?xml version = "1.0" encoding = "UTF-8"?><SOAP-Env:Envelope xmlns:dqrqfn="http://xmlcoe.jpmorganchase.com/CHF/DocumentQueryRequest" xmlns:hrq="http://xmlcoe.jpmorganchase.com/header/v1_3" xmlns:jpmc="http://xmlcoe.jpmorganchase.com/mismo/extensions" xmlns:SOAP-Env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-Env:Body><dqrqfn:DocumentQryRqMsg><hrq:HdrOrigRqRmmMsgGrp>
            <hrq:hdrRqFrmInstGrp>
               <hrq:hdrTmstmp>2005-01-01T13:20:00-05:00</hrq:hdrTmstmp>
               <hrq:hdrCIGrp>
                  <hrq:hdrClntId>HELOS</hrq:hdrClntId>
               </hrq:hdrCIGrp>
               <hrq:hdrMsgIdGrp>
                  <hrq:hdrUUId/>
               </hrq:hdrMsgIdGrp>
            </hrq:hdrRqFrmInstGrp>
            <hrq:hdrRqToServGrp>
               <hrq:hdrServPrvdBusId>RFS</hrq:hdrServPrvdBusId>
               <hrq:hdrServPrvdBusUntId>CHF</hrq:hdrServPrvdBusUntId>
               <hrq:hdrServNm>IMAGE</hrq:hdrServNm>
               <hrq:hdrServAction>AddDoc</hrq:hdrServAction>
               <hrq:hdrServVer>1.0</hrq:hdrServVer>
            </hrq:hdrRqToServGrp>
            <hrq:hdrOrigFrmWhoGrp>
               <hrq:hdrBusUntId>RFS</hrq:hdrBusUntId>
               <hrq:hdrBusServUntId>CHF</hrq:hdrBusServUntId>
               <hrq:hdrUsrGrp>
               <hrq:hdrPtySysLogId>U542345</hrq:hdrPtySysLogId>
               </hrq:hdrUsrGrp>
            </hrq:hdrOrigFrmWhoGrp>
            <hrq:hdrActnRqstGrp>
                  <hrq:hdrRplyInd>N</hrq:hdrRplyInd>
            </hrq:hdrActnRqstGrp>
         </hrq:HdrOrigRqRmmMsgGrp></dqrqfn:DocumentQryRqMsg></SOAP-Env:Body></SOAP-Env:Envelope>

Could someone tell me why this is happening.Even if I connect the failure terminals of input node and compute node to an error queue ,it still puts the message in dead letter queue of broker QM.
Regards
Sweety
Back to top
View user's profile Send private message
sweety176
PostPosted: Sun Sep 11, 2005 6:31 am    Post subject: tried solving Reply with quote

Apprentice

Joined: 24 Aug 2005
Posts: 30

HI
I tried doing some error solving and I find that whatever i do before the line
Code:

CREATE FIELD OutputRoot.XML."SOAP-Env:Envelope"."SOAP-Env:Body"."dqrqfn:DocumentQryRqMsg"."hrq:HdrOrigRqRmmMsgGrp" FROM InputRoot.XML."SOAP-Env:Envelope"."SOAP-Env:Body"."dqrq:DocumentQryRqMsg"."hrq:HdrOrigRqRmmMsgGrp";

Is being done.
But anything written after that line is not being done.
Could someone help me figure out why
Regards
Sweety
Back to top
View user's profile Send private message
JULLRICH
PostPosted: Sun Sep 11, 2005 6:43 am    Post subject: Re: tried solving Reply with quote

Apprentice

Joined: 11 Aug 2005
Posts: 42
Location: München

What do you want to do after this command?
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 » Urgent not creating fields
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.