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 schema not identiifed in IIB10 Mapping node

Post new topic  Reply to topic
 JSON schema not identiifed in IIB10 Mapping node « View previous topic :: View next topic » 
Author Message
wmbfrz
PostPosted: Thu Feb 25, 2016 9:01 pm    Post subject: JSON schema not identiifed in IIB10 Mapping node Reply with quote

Apprentice

Joined: 08 Jan 2010
Posts: 28

I am working on a REST API service with JSON input message in IIB10. I need to invoke a web service and hence convert the input JSON to xml for which I chose to use a schema based Mapping node conversion.
Following the instruction given in "https://www-01.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.gdm.doc/sm12023_.htm" and related links, i created an xsd for my input message and included it in the default schema of a shared library. Also created a message map in SL referencing the said xsd.

But when i reference the message map in the mapping node and save, it shows the error after mapping i/o elements
Code:
The Move input or output object $ComIbmMessageAssembly_JSON/JSON/spath('Data',2)/XXX could not be found.   YYY.map   /sharedlibrary1/NS/AAA   line 25.

I didnt get the error when i did everything in my service i.e. not using Shared Library and when i did the MM in the service but referencing the xsd of the SL. I also faced issues when referencing Sub flows which are part of the Shared Library. The reason to post this is to verify my conclusion that as of now we cannot use the Shared Library to share Message Maps and Sub flows and understand experiences from other users.
Thanks.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 26, 2016 5:18 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Why are you using the default schema in the shared library? Have you tried using only named schemas in the shared library?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
martinb
PostPosted: Tue Mar 01, 2016 4:01 pm    Post subject: Reply with quote

Master

Joined: 09 Nov 2006
Posts: 210
Location: UK

As per my response in dwAnswers I did not encounter issues implementing REST API maps with equivalent XML schema model for the JSON in shared library referenced from the REST API project.

As noted you might have encountered an issue during moving the files with interdependency, which could have been cleared by refreshing and then building all projects.
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 schema not identiifed in IIB10 Mapping 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.