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 IndexWebSphere Message Broker SupportIIB9: HTTPRequest GET Content-Length

Post new topicReply to topic
IIB9: HTTPRequest GET Content-Length View previous topic :: View next topic
Author Message
akil
PostPosted: Sat Dec 26, 2015 12:18 am Post subject: IIB9: HTTPRequest GET Content-Length Reply with quote

Partisan

Joined: 27 May 2014
Posts: 335
Location: Mumbai

Hi

I've a situation where the server is pretty strict about the headers that it receives.

For a GET request, it does not expect either the Content-Type or the Content-Length to be present

In I use 'Generate default HTTP headers from input', the header that is generated is the following

Code:

Host: www.devconnect2nse.com
Content-Type: text/xml; charset=utf-8
SOAPAction: ""


The above does not work, as Content-Type , SOAPAction are created as per the documentation.

So I try by unchecking 'Generate default HTTP headers from input', the header that is generated is the following

Code:

Host: www.devconnect2nse.com
Content-Length: 0


The above does not work as Content-Length is still added by the HTTPRequest Node.

The unusual thing about this is that Content-Length is not a header when the 'Generate default HTTP headers from input'' is checked, but it is created when in fact it is not checked.

Now I am stuck , as I have no way to work with the service,

Any suggestions?
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Sat Dec 26, 2015 12:42 am Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 18860
Location: LI,NY

Does that service work when you use SOAPUI to test it?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
akil
PostPosted: Sat Dec 26, 2015 12:52 am Post subject: Reply with quote

Partisan

Joined: 27 May 2014
Posts: 335
Location: Mumbai

Hi

Yes it does. In-fact i am using 'burp' to intercept the request from IIB, remove the Content-Length header, and it responds fine..

So the issue at the moment is the Content-Length:0 ..
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
yshakraj
PostPosted: Tue Jan 10, 2017 2:20 am Post subject: Reply with quote

Acolyte

Joined: 14 Sep 2011
Posts: 68

I am facing similar issue with Content -Length in HTTP HEADER .
When a http get request is triggered with http request node this content length is creating problem .

I have come across a solution as below


http://www-01.ibm.com/support/docview.wss?uid=swg1IC59034

But still am facing the same issue even after updating the value in esql .
Any ideas ??

Thanks,
yshak
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportIIB9: HTTPRequest GET Content-Length
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.