Posted: Fri May 28, 2010 10:08 am Post subject: Http Post with a request parameter
Novice
Joined: 23 Sep 2003 Posts: 14
I have an xml message within an HTTP Post. The HTTP post has to have a parameter of load= preceding the XML string. I have tried a multitude of ways to get this to work yet it still fails. Message needs to look like
load=<?xml version="1.0" encoding="UTF-8"?><Request version="1.0"><Header> ..... rest of XML payload.
I think that that load= is not properly encoded when it gets posted.
Posted: Sat May 29, 2010 9:28 am Post subject: Re: Http Post with a request parameter
Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
andrewl68 wrote:
The HTTP post has to have a parameter of load= preceding the XML string.
Dunno where you got this from. take a look at the HTTP examples in the documentation. _________________ Never let the facts get in the way of a good theory.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
Also the Samples that come with Broker are a great help here. _________________ 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.
Are you trying to send a QueryString along with a POST request from an HTTPRequest node? If you are, look in the docs for help on building a querystring for an HTTPRequest node, which is part of topic ac04595.
Regards, _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
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