Author |
Message
|
jesieltrevisan |
Posted: Mon Apr 17, 2006 5:39 am Post subject: WebShpere MQSI 2.1 - Intregration - Control Center - Help |
|
|
Novice
Joined: 21 Mar 2006 Posts: 13
|
Hello,
I´m Begginer in WebSphere Solutions.... and my english is more or less.. sorry !
well...
I need some tutorial or PDF, with informations WebShere Integration 2.1
How to creator a Flow.....Trace..... Message Set..... Physical Format...
Enter a XML document (IDOC DTD) em gone out an TXT file....
I need one Visual Exempler, HOW TO.....
Somebody have something ?
Tks |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Apr 17, 2006 5:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Start with version 6.
Version 2.1 is more than unsupported, it's obsolete. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
GRIFF |
Posted: Mon Apr 17, 2006 6:40 am Post subject: |
|
|
 Acolyte
Joined: 19 Sep 2005 Posts: 64 Location: VA
|
I agee; if you are a beginner definitly start with nothing less than V5. Too much would have to be relearned. I would go out and download some PDFs on IBM's website to get started. PDFs and hands-on experience are the best tools besides a class if you are that lucky. |
|
Back to top |
|
 |
Ward |
Posted: Mon Apr 17, 2006 7:42 am Post subject: |
|
|
 Voyager
Joined: 27 Jun 2001 Posts: 98 Location: Europe
|
|
Back to top |
|
 |
jesieltrevisan |
Posted: Mon Apr 17, 2006 8:05 am Post subject: |
|
|
Novice
Joined: 21 Mar 2006 Posts: 13
|
Tks.
I know that 5.0 or 6.0 version of WS MQ is better.... but...
My Stupid Client is using the 2.1 version of WSMQ..., and he don´t want chance it..
I cannot using the Debug in ControlCentro of WS MQ Integrator in version 2.1..... i have using TRACE node to can see de exit file...
It´s so hard...
Tanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Apr 17, 2006 8:07 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Your client is "chancing it" every day he runs MQSI 2.1. It's out of support, and rapidly more unable to handle the needs of the enterprise. For example, there is no XML name space support in v2.1.
And I hope your client doesn't read here to see you calling them "stupid". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jesieltrevisan |
Posted: Mon Apr 17, 2006 9:55 am Post subject: |
|
|
Novice
Joined: 21 Mar 2006 Posts: 13
|
jefflowrey wrote: |
Your client is "chancing it" every day he runs MQSI 2.1. It's out of support, and rapidly more unable to handle the needs of the enterprise. For example, there is no XML name space support in v2.1.
And I hope your client doesn't read here to see you calling them "stupid". |
Rs...
Tks |
|
Back to top |
|
 |
sirsi |
Posted: Mon Apr 17, 2006 1:12 pm Post subject: |
|
|
Disciple
Joined: 11 Mar 2005 Posts: 177
|
|
Back to top |
|
 |
jesieltrevisan |
Posted: Thu Apr 20, 2006 4:38 am Post subject: |
|
|
Novice
Joined: 21 Mar 2006 Posts: 13
|
Hello...
I´m have problems with Integration 2.1 version...
i have a XML... it come to SAP (IDOC)...
I creation 2 messageSet, one by SAP, other by Another System.
In MessageSet by SAP, I imported one DTD File, I created a Message and put into 2 Segments, and ADD a PhysicalFormt (XML).
In MessageSet by Another System, i created some Elements and ADD in a Message.
Well.. in Flow, I have a MQInput, a Compute and MQOutput and Failure.
I´m using RFHUTILC software for test de Put and Get in Queues.
XML Example:
<IDOC>
<Z1WHMICH>
<MSGTYP>SAP</MSGTYP>
<REVISION>001</REVISION>
<SENDER>TESTE</SENDER>
<SENDCOMPCODE></SENDCOMPCODE>
<Z1WHPODT>
<ORDER>001</ORDER>
<ITEM>ITEM 1</ITEM>
<LOCATION>ALPHAVILLE</LOCATION>
<PRODUCT>MQSI</PRODUCT>
<OPENQTY>100</OPENQTY>
<DUEDATE>20060411</DUEDATE>
<SUPPLIER>007</SUPPLIER>
</Z1WHPODT>
<Z1WHPODT>
<ORDER>002</ORDER>
<ITEM>ITEM 2</ITEM>
<LOCATION>ALPHAVILLE</LOCATION>
<PRODUCT>MQSI</PRODUCT>
<OPENQTY>101</OPENQTY>
<DUEDATE>20060401</DUEDATE>
<SUPPLIER>002</SUPPLIER>
</Z1WHPODT>
</Z1WHMICH>
<Z1WHMICH>
<MSGTYP>SAPO</MSGTYP>
<REVISION>003</REVISION>
<SENDER>TESTE3</SENDER>
<MSGTRANS>20121210</MSGTRANS>
<Z1WHPODT>
<ORDER>003</ORDER>
<ITEM>ITEM 3</ITEM>
<LOCATION>contact admin</LOCATION>
<PRODUCT>ESQL</PRODUCT>
<OPENQTY>133</OPENQTY>
<DUEDATE>20050202</DUEDATE>
<SUPPLIER>007</SUPPLIER>
</Z1WHPODT>
<Z1WHPODT>
<ORDER>004</ORDER>
<ITEM>ITEM 4</ITEM>
<LOCATION>JAVALANDIA</LOCATION>
<PRODUCT>JAVA</PRODUCT>
<OPENQTY>101</OPENQTY>
<DUEDATE>20060401</DUEDATE>
<SUPPLIER>004</SUPPLIER>
</Z1WHPODT>
</Z1WHMICH>
</IDOC>
My Mapping in COMPUTE node in my Flow:
My ESQL in COMPUTE node in my Flow:
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;
-- Haders
SET "OutputRoot"."MRM"."MessageType" = "InputBody"."Z1WHMICH"."MSGTYP";
SET "OutputRoot"."MRM"."Revision" = "InputBody"."Z1WHMICH"."REVISION";
SET "OutputRoot"."MRM"."Sender" = "InputBody"."Z1WHMICH"."SENDER";
SET "OutputRoot"."MRM"."Receiver" = 'MIC';
SET "OutputRoot"."MRM"."CreationDate" = CURRENT_DATE;
SET "OutputRoot"."MRM"."CreationTime" = CURRENT_TIME;
SET "OutputRoot"."MRM"."MessageTransactionType" = "InputBody"."Z1WHMICH"."MSGTRANS";
SET "OutputRoot"."MRM"."ContentDateTime" = CURRENT_TIMESTAMP;
--Items
SET "OutputRoot"."MRM"."OrderNumber" = "InputBody"."Z1WHPODT"."ORDER";
SET "OutputRoot"."MRM"."OrderLineNumber" = "InputBody"."Z1WHPODT"."ITEM";
SET "OutputRoot"."MRM"."LocationCode" = "InputBody"."Z1WHPODT"."LOCATION";
SET "OutputRoot"."MRM"."GlobalPartNumber" = '';
SET "OutputRoot"."MRM"."ProductKey" = "InputBody"."Z1WHPODT"."PRODUCT";
SET "OutputRoot"."MRM"."OpenOrderQuantity" = "InputBody"."Z1WHPODT"."OPENQTY";
SET "OutputRoot"."MRM"."DueDate" = "InputBody"."Z1WHPODT"."DUEDATE";
SET "OutputRoot"."MRM"."SupplierCode" = "InputBody"."Z1WHPODT"."SUPPLIER";
SET "OutputRoot"."MRM"."RowTransaction" = 'C';
SET "OutputRoot"."MRM"."SupplierName" = '';
SET "OutputRoot"."MRM"."FreeText1" = '';
SET "OutputRoot"."MRM"."FreeText2" = '';
SET "OutputRoot"."MRM"."FreeText3" = '';
SET "OutputRoot"."MRM"."FreeText4" = '';
SET OutputRoot.Properties.MessageSet = 'E7SE1EK0C6001';
SET OutputRoot.Properties.MessageType = 'MM_IAIIG003c_MIC';
My MessageSet:
I have capture de Headers and your Items and ADD some informations in the Headers and Items Fields.
But in Queue OUT, only GET the result bellow my RFHUTIL :
<MM_IAIIG003c_MIC>
<MessageType>SAP</MessageType>
<Revision>001</Revision>
<Sender>TESTE</Sender>
<Receiver>MIC</Receiver>
<CreationDate>2006-04-20</CreationDate>
<CreationTime>15:27:56</CreationTime>
<MessageTransactionType>20060410</MessageTransactionType>
<ContentDateTime>2006-04-20 15:27:56.232</ContentDateTime>
<GlobalPartNumber></GlobalPartNumber>
<RowTransaction>C</RowTransaction>
<SupplierName></SupplierName>
<FreeText1></FreeText1>
<FreeText2></FreeText2>
<FreeText3></FreeText3>
<FreeText4></FreeText4>
</MM_IAIIG003c_MIC>
Why the outher Header and yours Items aren´t Copy to my Queue OUT ???
My ESQL is wrong ? OR my Mapping ?
I think that my messageSet is OK.... i import DTD file... ADD segments in a Messagem.. ADD a Physical Format, and configure de field with the XML field Nodes........ i created a MessaSet to the Other System.... creatied a Messagem... Create and ADD fields that i will use in my XML...
Somebody help-me ? |
|
Back to top |
|
 |
fschofer |
Posted: Thu Apr 20, 2006 5:31 am Post subject: |
|
|
 Knight
Joined: 02 Jul 2001 Posts: 524 Location: Mainz, Germany
|
Hi,
you need to specify the full path to your fields
Code: |
Like
SET "OutputRoot"."MRM"."OrderNumber" = "InputBody"."Z1WHMICH"."Z1WHPODT"."ORDER";
instead of
SET "OutputRoot"."MRM"."OrderNumber" = "InputBody"."Z1WHPODT"."ORDER"; |
Greetings
Frank |
|
Back to top |
|
 |
jesieltrevisan |
Posted: Thu Apr 20, 2006 6:45 am Post subject: |
|
|
Novice
Joined: 21 Mar 2006 Posts: 13
|
But... the Mapping create this code....
I chance it´s, but, the problem continue...
My MessageSet are OK ???
It need to the same visual of the MessageSet IN (IDOC/DTD)
In messageSet OUT, I put all elements in the same Messagem....
In messagemSet IN, when i imported the DTD of SAP, it creater one layout....
The Layout of Messagem need to = ???? Or no ? _________________ Analista de Sistemas.
J2EE, WebSphere MQSI Skill´s
----------------------------------------------------
Brazil [<O>] |
|
Back to top |
|
 |
fschofer |
Posted: Thu Apr 20, 2006 12:03 pm Post subject: |
|
|
 Knight
Joined: 02 Jul 2001 Posts: 524 Location: Mainz, Germany
|
Hi,
put a trace node before and after your compute node which dump ${Root} to the usertrace
and run a debug level trace to see which elements on the right side of your mapping are not found.
Greetings
Frank |
|
Back to top |
|
 |
|