Posted: Thu Jul 08, 2010 2:44 am Post subject: HttpRequestNode RequestURL going partially to servlet
Voyager
Joined: 02 May 2010 Posts: 75
Hi,
I am trying to call a servlet from a HTTPRequest Node,
My code look like this.
SET OutputLocalEnvironment.Destination.HTTP.RequestLine.Method = 'GET';
SET OutputLocalEnvironment.Destination.HTTP.RequestURL= 'https://hostname:8443/servletpath/Servlet?parameter=<Cancel><Request>message</Request></Cancel>
But the message is not going fully....only partial messsage is going. Are there any limitation on the url length.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
have you used tools such as HTTPwatch to verify that the URL is getting 'chopped'
Have you put a trace node before the HTTP node and looked everything that is in the LocalEnvironment folder?
If the URL is indeed getting chopped and the full URL is there in the trace then you might consider raising A PMR.
Using the HTTP Sample flows as a basis for your tests is a good way to get to the bottom of problems like tihs. _________________ 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.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
Why don't you download the free version of HTTPwatch...
This will let you see what is coming out of the HTTP Node.
http://www.httpwatch.com/
This tool along with others such as rfHutil, XMLSpy etc are really essential for working with products like Broker. _________________ 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.
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