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 » Namespace Schema

Post new topic  Reply to topic
 Namespace Schema « View previous topic :: View next topic » 
Author Message
SOLOHERO
PostPosted: Tue Apr 03, 2007 1:12 am    Post subject: Namespace Schema Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Hi ,

Can we edit a namespace in the Message set locally.

Case if when we are tru=ying to deing in globally it can come across , but it is not showing for local Elememnt.

ASAP.

THANKS
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Tue Apr 03, 2007 4:35 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Case if when we are tru=ying to deing in globally it can come across , but it is not showing for local Elememnt.
What does that mean?
Back to top
View user's profile Send private message
SOLOHERO
PostPosted: Tue Apr 03, 2007 9:17 pm    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Hi,

1. I have Constructed a dictionary using XML schema

2. In the Dictionary there are few elements which are declared Locally and in the dictionary it dosent refer to the Namespaces for the elements that are declared Locally where as we can see for the elements that are declared Globally.

Does Any one of you have a solution for this.
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Wed Apr 04, 2007 1:43 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I have Constructed a dictionary using XML schema
Sorry to be picky, but you have not constructed a dictionary. You have imported an XML schema to create a message definition file. When you add your message set to a BAR file, the dictionary will be constructed automatically.

Quote:
In the Dictionary there are few elements which are declared Locally and in the dictionary it dosent refer to the Namespaces for the elements that are declared Locally where as we can see for the elements that are declared Globally.
You cannot set the namespace for local elements - XML Schema does not allow it. A local element either has no namespace or it inherits the target namespace of the schema in which it is declared. You can control that via the properties of the message definition file in 'Default namespaces for local objects'.

Look up 'elementFormDefault' using your favourite search engine if you want more info.
Back to top
View user's profile Send private message
SOLOHERO
PostPosted: Wed Apr 04, 2007 3:17 pm    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Hi Kim,

Thanks for correcting me.

I agree with you , but the schema is a valid schema when you defing the elemnts locally, but in MB it is not picking the Namespace for local elements , is there any option for that

Thanks Once again
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Thu Apr 05, 2007 2:10 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Please post an example of the schema definition you need to produce. You can modify this example (from http://www.w3.org/TR/xmlschema-0/) if you like:
e.g.
Code:

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <xsd:complexType name="PurchaseOrderType">
  <xsd:sequence>
   <xsd:element name="shipTo" type="USAddress"/>
   <xsd:element name="billTo" type="USAddress"/>
   <xsd:element ref="comment" minOccurs="0"/>
   <xsd:element name="items"  type="Items"/>
  </xsd:sequence>
  <xsd:attribute name="orderDate" type="xsd:date"/>
 </xsd:complexType>
</xsd:schema>
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 » Namespace Schema
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.