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 » Http Reply Node does not return Json Data

Post new topic  Reply to topic
 Http Reply Node does not return Json Data « View previous topic :: View next topic » 
Author Message
sebwerner
PostPosted: Fri Aug 22, 2014 1:52 pm    Post subject: Http Reply Node does not return Json Data Reply with quote

Newbie

Joined: 02 Jul 2013
Posts: 7

Hi,

i am trying to build a simple get service that reads data from the query string and returns JSON data. My flow is as followed:

HTTP Input -> .Net Compure -> HTTP Reply

The flow parses the query string and adds the JSON data to:

OutputRoot.JSON.Data.

When the service Returns it has the correct content header set, but no data in the body.
Is there anything i need to so to retrun the data?

Thanks.[/img]
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Aug 22, 2014 11:47 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

What does a trace node put just before the HTTPReply node and configured to show ${Root} output?

Where is your data in that? Is the output message tree parser == JSON?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
sebwerner
PostPosted: Mon Aug 25, 2014 8:20 am    Post subject: Reply with quote

Newbie

Joined: 02 Jul 2013
Posts: 7

smdavies99 wrote:
What does a trace node put just before the HTTPReply node and configured to show ${Root} output?

Where is your data in that? Is the output message tree parser == JSON?


Hi smdavies99,

you got me on the right track. I forgot to change the parser for the JSON Node. The parser was set to WSRoot and not JSON.

Thanks again.
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 » Http Reply Node does not return Json Data
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.