MQSeries.net
Search
Tech Exchange
Education
Certifications
Library
Info Center
SupportPacs
LinkedIn
Search
FAQ
 Â
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
»
How to save web service response in Environment
How to save web service response in Environment
«
View previous topic
::
View next topic
»
Author
Message
sudhanshus
Posted: Thu Jun 12, 2014 11:07 pm
Post subject: How to save web service response in Environment
Novice
Joined: 28 Oct 2013
Posts: 19
Hi,
I want to save the web service response in the environment variable for further processing in a java compute node.
Is there any way to do so?
Back to top
Esa
Posted: Fri Jun 13, 2014 1:05 am
Post subject:
Grand Master
Joined: 22 May 2008
Posts: 1387
Location: Finland
You can do it with ESQL SET statement, for example.
Back to top
sudhanshus
Posted: Fri Jun 13, 2014 1:14 am
Post subject:
Novice
Joined: 28 Oct 2013
Posts: 19
Thanks.
I want to do it through java compute node. is there an easy and elegant way of doing it?
Back to top
Esa
Posted: Fri Jun 13, 2014 1:19 am
Post subject:
Grand Master
Joined: 22 May 2008
Posts: 1387
Location: Finland
Code:
MbElement.copyElementTree();
Back to top
sudhanshus
Posted: Fri Jun 13, 2014 5:11 am
Post subject:
Novice
Joined: 28 Oct 2013
Posts: 19
I checked the api of MbElement.createElementAsLastChild and it says that value must be of the following data types:-
MbDate
MbTime
MbTimestamp
Boolean
byte[]
String
Integer
Double
BitSet
I want to insert value of type MbElement in the environment. Seems there's no way I could directly add response to Environment.
Back to top
Esa
Posted: Fri Jun 13, 2014 5:30 am
Post subject:
Grand Master
Joined: 22 May 2008
Posts: 1387
Location: Finland
If you use TYPE_NAME, then the value can or must be null. That's the way to create a new folder.
You should create an XMLNSC parser under Environment before you copyElementTree(). Otherwise the namespaces will be stripped.
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Page
1
of
1
MQSeries.net Forum Index
»
WebSphere Message Broker (ACE) Support
»
How to save web service response in Environment
Jump to:
Select a forum
General Discussion
----------------
Read First for All New to IBM MQ, Integration, Messaging, WebSphere - Only Moderators Post Here
General Discussion
Messaging and Integration Technologies FAQ
News/Updates
Links
Job Seekers
Job Postings
General Forums Information
Requirements, Wishlists & Enhancement Requests
----------------
RFEs - Requirements, Wishlists & Enhancement Requests - Open Forum
IBM MQ Support
----------------
General IBM MQ Support
IBM MQ Cloud and SaaS, Cloud Hybrid and Containers
IBM MQ Installation/Configuration Support
Clustering
IBM MQ Telemetry / Low Latency Messaging / Everyplace
Mainframe, CICS, TXSeries
iSeries, OpenVMS, HP-NSS
IBM MQ Performance Monitoring
IBM MQ Security
IBM MQ Development
----------------
IBM MQ Java / JMS
IBM MQ API Support
Multiphase Commit
User Exits
WebSphere Message Broker
----------------
WebSphere Message Broker (ACE) Support
WMB Patterns Repository - Available for Download
WebSphere Application Server
----------------
WebSphere Application Server
Web Services
----------------
WebSphere DataPower
Products that use IBM MQ
----------------
Workflow Engines - IBM MQ Workflow & Business Process Choreographer
WebSphere Process Server (WID/WPS/WAS+)
WebSphere Interchange Server + Adapters
IBM MQ File Transfer Edition
Resources, Files, Samples, Archives, Misc
----------------
Files and Code Samples
Archives - All
Challenge Forum
Sponsored Forums
----------------
Cressida Technology
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.