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 » HTTPRequest node throwing exception

Post new topic  Reply to topic
 HTTPRequest node throwing exception « View previous topic :: View next topic » 
Author Message
bkiran1983
PostPosted: Thu May 13, 2010 3:04 am    Post subject: HTTPRequest node throwing exception Reply with quote

Newbie

Joined: 13 May 2010
Posts: 5

Hi I'm getting the following Exception when i'm trying to post a message to a web url using a HTTPRequest node:

WebService Request Exception;
A Web Service request has detected an error occured whilst invoking a web service located at host &1, on port &2, on path &3;
CHARACTER:An error occured whilst performing a TCP/IP socket operation. The socket was closed before all expected data was received, as the end of the HTTP headers have not been found. Total data received: &1;



HTTPRequest node configurations:

HTTP POST 1.1
Response Message Parsing: BLOB
Error Message Location: OutputRoot
Request Message Location Tree: InputRoot
Response Message Location Tree: OutPutRoot

Could some one plese enlighten me on the possible reason for the exception?
Back to top
View user's profile Send private message Send e-mail
fatherjack
PostPosted: Thu May 13, 2010 3:16 am    Post subject: Re: HTTPRequest node throwing exception Reply with quote

Knight

Joined: 14 Apr 2010
Posts: 522
Location: Craggy Island

bkiran1983 wrote:
the end of the HTTP headers have not been found.


Looks like you maybe haven't constructed your http headers in the request correctly.
_________________
Never let the facts get in the way of a good theory.
Back to top
View user's profile Send private message
bkiran1983
PostPosted: Thu May 13, 2010 6:32 am    Post subject: Reply with quote

Newbie

Joined: 13 May 2010
Posts: 5

Hi,

However i am sending messages to a sample HTTP service created in MB itself using HTTPInput and HTTPReply nodes, for which i'm able to post messages using HTTPRequest node. But i'm not able to post messages to this remote serive which is located in a different server. It does not open the socket itself. It directly throws the above exception. We dont get back any HTTPResponse codes also.

Any further thoughts on suggestions on this would be grateful...
Back to top
View user's profile Send private message Send e-mail
Svp
PostPosted: Thu May 13, 2010 6:41 am    Post subject: Reply with quote

Apprentice

Joined: 18 Feb 2010
Posts: 40

If you still get the same "An error occured whilst performing a TCP/IP socket operation".
Only two possible reasons
a)requesting webservice is unavailable
b)Request Webservice URL is not specified with correct ip address(host name),port and path suffix
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu May 13, 2010 12:45 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Svp wrote:
If you still get the same "An error occured whilst performing a TCP/IP socket operation".
Only two possible reasons
a)requesting webservice is unavailable
b)Request Webservice URL is not specified with correct ip address(host name),port and path suffix

Which should all be recorded in the HTTPResponseHeader.
_________________
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
View user's profile Send private message
sravan
PostPosted: Fri Feb 24, 2012 9:52 am    Post subject: Reply with quote

Centurion

Joined: 02 Apr 2010
Posts: 104
Location: Charlotte

Hi,

We recieved simlar error -

An error occured whilst performing a TCP/IP socket operation. The socket was closed before all expected data was received, as the end of the HTTP headers have not been found.
in MB V7.

The mainframe request goes to backout queue and we have to run the job to process messages.

Is it an issue related to MB,We came to knwo there is fix in V7.
But still see this error.

Should we include retry logic with a time interval for http requests to fix this issue ?
_________________
skr_wmb
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Feb 24, 2012 10:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

1. Do not re-open old posts. This post is two years old.

2. Post your MustGather docs so we can see whats going on.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » HTTPRequest node throwing exception
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.