Author |
Message
|
next |
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.
Any help is appreciated.
Regards,
Suresh. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Jul 08, 2010 3:23 am Post subject: |
|
|
 Jedi Council
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. |
|
Back to top |
|
 |
next |
Posted: Thu Jul 08, 2010 4:39 am Post subject: |
|
|
Voyager
Joined: 02 May 2010 Posts: 75
|
Hi ,
I dont have much knowledge about the HTTPWatch tool. Could you please elaborate...??
I have checked the url in the localenvironment using a trace node. That looks fine. I am not sure where it is getting chopped.
Is there any possibility that the url exceeds the max chars with my input message and gets chopped...??
Or is it getting chopped on the way to the servlet.
Please give me some pointers.... as to how to get to the root of the problem. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Jul 08, 2010 4:53 am Post subject: |
|
|
 Jedi Council
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. |
|
Back to top |
|
 |
|