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 » Problem in creating message set

Post new topic  Reply to topic
 Problem in creating message set « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Wed Dec 20, 2006 8:32 pm    Post subject: Problem in creating message set Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I am working with video rental sample for MRM modeling. Instead of importing, I am building myself following the steps given. But I have problem in the step 4 in the following instructions. Has anyone done this excercise? In the properties tab, there is not import.


Before you can add the elements Borrowed and Address (from the borroweddetails and addressdetails namespaces respectively) into the Customer message, you must import the borroweddetails and addressdetails namespaces into the default namespace:

1. Switch to the Broker Application Development perspective.
2. In the Resource Navigator view, double-click Customer.mxsd to open it.
3. In the Message Definition editor, click the Properties tab.
4. In the Properties Hierarchy, right-click Imports, and click Add Import.
The Select Message Definition File to Import window opens.

5. Expand the tree until you reach Address.mxsd, and click Finish.

Thanks
Back to top
View user's profile Send private message
AkankshA
PostPosted: Wed Dec 20, 2006 9:01 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

what problem are you facing.... kindly be a bit more specific

i tried importing it and its working fine at my end
Back to top
View user's profile Send private message Visit poster's website
jeevan
PostPosted: Wed Dec 20, 2006 9:36 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

It works fine when imported. But I am learning message set, so instead of importing, i am building myself following the instructions( there is building option too just below the import). I am stuck, at the following step.



Quote:

In the Properties Hierarchy, right-click Imports, and click Add Import.


There is not import tab or choie in property tab in message definition editor

thanks
Back to top
View user's profile Send private message
gregop
PostPosted: Thu Dec 21, 2006 12:30 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2006
Posts: 81

When you open up the .mxsd, make sure that the .mxsd level is highlighted (not messages, types, groups...) then if you switch to properites you should see includes, imports, redines and documentation.

This is how it is in V6.0.0.2 anyway.
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Dec 21, 2006 4:49 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Thanks. I found it.
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Dec 21, 2006 4:44 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I am trying to build simple message model for incoming message CUSTOMER which has two elements Name and Address. Name has to elements FirstName and LastName and Address has three elements: HouseNo, Street and City. The subelements under the Name and Address are separeated by commas and each element ( name and address are separated by (crlf). I did as follows:

Created the following:
1. A message set project,
2. A message set
3. A message definition file
4. A message

Added a new message, called Customer, to the Customer message definition file.

5. A complex type called ComplexType1 is automatically created for the message. Renamed this Complex type to CustomerType (under Type).


6. Under Type added two Complex Type
NameType
AddressType

7. Added two global elements under Elements and Attributes
Name (NameType)
Address(AddressType)

8. Added Local elemetns to Name and Address as follows:

Name
FirstName( Added as local element here)
LastName (Added as local element here)

Address
HouseNo (Added as local element here)
Street (Added as local element here)
City (Added as local element here)


9. Added element reference to CustomerType under Type (not sure whether this is correct step)
Customer
Name
Address

Questions:

Are these steps correct?

Under Type, I added NameType and AddressType. When I added elements in Name and Address under Element and Attributes and defined them as NameType and AddressType, the sub element under the name and address are reflected under NameType and AddressType Under Type. But why we can not do that under the CustomerType directly?


What would happen if we add local element under the Customer under element and Attribute directly instead of adding global elements and adding these global elements as references?


I know I have to go and defined logical and physical characteristics of the message, but I want to be sure what I did so far is correct.

Thank you very much for you time and help
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 » Problem in creating message set
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.