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 HTTP Example?

Post new topic  Reply to topic
 JSON HTTP Example? « View previous topic :: View next topic » 
Author Message
sleepyjamie
PostPosted: Wed Aug 05, 2015 1:19 pm    Post subject: JSON HTTP Example? Reply with quote

Centurion

Joined: 29 Apr 2015
Posts: 135

Currently I have the following flow.

Input -> Java Compute Node -> HTTP Request

My Java compute node uses XPath to fetch data from the XML document and put the results into a simple Java Map object.

In the Java world there are lots of options for serializing Objects (e.g. Map) to Json string and sending to a REST API. I've been trying to do the same in IIBv9 but the code seems overly complex for something simple. As most online suggest using message map.

So what I am looking for is some examples that show how to create Json payload using Java which I can send to HTTP node.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 05, 2015 1:43 pm    Post subject: Reply with quote

Grand High Poobah

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

In IIB it is all just a message tree.
Create the correct message tree under a JSON parser ...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JSON HTTP Example?
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.