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 » JSON Message Modeling and Validation

Post new topic  Reply to topic
 JSON Message Modeling and Validation « View previous topic :: View next topic » 
Author Message
wmbv7newbie
PostPosted: Wed Feb 18, 2015 1:45 am    Post subject: JSON Message Modeling and Validation Reply with quote

Centurion

Joined: 13 May 2014
Posts: 121

Hi,

I have an interface in which the output message format is JSON. I wish to validate this message before sending to the destination system.

However, while reading about it
Quote:
http://www-01.ibm.com/support/knowledgecenter/SSKM8N_8.0.0/com.ibm.etools.mft.doc/bc28400_.htm
I found that JSON message modeling, and hence validation, is currently not supported by broker.

Just wanted to know if somebody knows of a workaround. Outgoing message validation is something that I really want to have in my message flow.

FYI, I am using IBM WMB 8.0.0.2 and soon going to migrate to IIB v9.
Back to top
View user's profile Send private message
adubya
PostPosted: Wed Feb 18, 2015 2:20 am    Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 377
Location: GU12, UK

What are you looking to validate it against ?
Back to top
View user's profile Send private message Send e-mail
wmbv7newbie
PostPosted: Wed Feb 18, 2015 2:21 am    Post subject: Reply with quote

Centurion

Joined: 13 May 2014
Posts: 121

So I have asked the destination system to provide a JSON schema to us for validation.
Back to top
View user's profile Send private message
adubya
PostPosted: Wed Feb 18, 2015 2:32 am    Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 377
Location: GU12, UK

OK, well I believe there are JSON schema validators out there, written in Java. You could incorporate one of those into a compute node to validate your JSON output.
Back to top
View user's profile Send private message Send e-mail
wmbv7newbie
PostPosted: Wed Feb 18, 2015 3:03 am    Post subject: Reply with quote

Centurion

Joined: 13 May 2014
Posts: 121

Does that mean MB does not support JSON schema right now? Any idea if it is planned in any future versions?
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Feb 18, 2015 3:48 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

JSON Schema is not yet a ratified standard. The core specification is here: http://json-schema.org/latest/json-schema-core.html
Note that this draft specification expired in August 2013 and has not been updated since. Same applies to the other two parts of the specification.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
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 » JSON Message Modeling and Validation
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.