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 » XML validation is incomlpete in WBIMB MQInput node

Post new topic  Reply to topic
 XML validation is incomlpete in WBIMB MQInput node « View previous topic :: View next topic » 
Author Message
sarvana
PostPosted: Mon Jan 17, 2005 8:40 pm    Post subject: XML validation is incomlpete in WBIMB MQInput node Reply with quote

Apprentice

Joined: 17 Jan 2005
Posts: 29
Location: India

Hi all

I am trying to validate a XML message against its schema but I find that not all fields are validated and only the first one is validated.Others pass to the out terminal even if there were non-compliance with schema.

Can someone help me out solve this.

Thnks in advance.
_________________
SYstems Engineer ,
TCS,
India.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jan 17, 2005 11:35 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Please provide your environment details. Also, give us an example of what's getting validated and what's not. It's worth doing a search in this forum (or in the manual) to find out what's supported by validation process with XML schemas.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
sarvana
PostPosted: Tue Jan 18, 2005 12:20 am    Post subject: Re: XML validation is incomlpete in WBIMB MQInput node Reply with quote

Apprentice

Joined: 17 Jan 2005
Posts: 29
Location: India

Thanks kiran for ur response.

I am using an xml message say with local messages,refernces and global messages.Local messages comprise simple elements,complex elements and references.Say I have a CompanyCode(string of length 10) and other elements with restrictions.What I find is the CompanyCode is validated(This is the first member in the message).Also another element TxnCode(which is a first element in another xsd but referenced in the current xsd)which is part of the current message is also validated for its restrictions.
but other elements say Amount(defined double) is not validated(even if I pass string instead of double ,it passes to the OUT terminal).Similarly other elements and refernces are not validated.Also elements referenced in the global message are not validated.

Also there is error while validating Date type fields.I think a fixpack is available to resolve this.

My settings for the MQInput node are Validate=content and value,
Timing=tried all three options.

The flow is like this an MQInputnode wired to three trace nodes on all the three terminals and all three traces connected to three MQOutput nodes.
_________________
SYstems Engineer ,
TCS,
India.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jan 18, 2005 2:19 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Is the 'Content validation' property set to 'Closed' on all complex types?

Do you have the 'mixed' property set on any of your complex types? If so, the content will not be validated (and the task list will warn you about this). You should review all the warning messages in the task list for validation non-compliances like this.

If you're still having problems, post the details of your message model, so that we can be more specific.
Back to top
View user's profile Send private message
sarvana
PostPosted: Tue Jan 18, 2005 3:29 am    Post subject: Reply with quote

Apprentice

Joined: 17 Jan 2005
Posts: 29
Location: India

No there are no warnings while running on server.

I dont have any mixed property set.

What is contenet validation closed on complex types.As a novice I dont understand this.
_________________
SYstems Engineer ,
TCS,
India.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jan 18, 2005 4:21 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

In the MRM message model, Content Validation is a property of complex
types and groups. To see these properties, follow these steps:

Go to the Broker Application Development perspective and open your message definition file.
At the bottom left, there is an Outline pane containing a tree view. Open up the Complex Types node, and select a complex type.
On the right-hand pane, you will probably see something looking like a spreadsheet. At the bottom, there are two tabs. The first is called 'Overview' and the second 'Properties'. If you click on 'Properties' you will see all the properties for the complex type, including 'Content Validation'
Back to top
View user's profile Send private message
sarvana
PostPosted: Tue Jan 18, 2005 5:32 am    Post subject: Reply with quote

Apprentice

Joined: 17 Jan 2005
Posts: 29
Location: India

Thanks for that.

Now i have set content validation to OPEN.Composition is of type SEQUENCE.I redeployed the application with necessary changes.Still this does not work.Please help.

Also I have a list and pattern which is not syupported by broker.Hence I have removed the two from my defn.
_________________
SYstems Engineer ,
TCS,
India.
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 » XML validation is incomlpete in WBIMB MQInput node
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.