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 » Build HTTP POST using x-www-form-urlencoded w/XML as param

Post new topic  Reply to topic
 Build HTTP POST using x-www-form-urlencoded w/XML as param « View previous topic :: View next topic » 
Author Message
johkar
PostPosted: Wed Oct 25, 2017 8:29 am    Post subject: Build HTTP POST using x-www-form-urlencoded w/XML as param Reply with quote

Novice

Joined: 27 Jan 2015
Posts: 16

I need to build a HTTP POST request in ESQL which will pass several parameters in the Body, one of which will be a large XML document passed as a String for the value. By large I mean from .2 up to 25 MB or so.

The service we are calling requires x-www-form-urlencoded as the media type and I've never had the need to pass XML in such a way.

Passing query string params is fairly straightforward in ESQL but there doesn't seem to be an equivalent for setting params in in the message body for a POST.

SET OutputLocalEnvironment.Destination.HTTP.QueryString.param1 = 'myValue';

I could use some tips/examples on how best to accomplish this in ESQL for a POST.

JMSInput > ESQLNode > HTTPRequest

We are on IIB 10. Thanks.
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 » Build HTTP POST using x-www-form-urlencoded w/XML as param
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.