Author |
Message
|
bkiran1983 |
Posted: Thu May 13, 2010 3:04 am Post subject: HTTPRequest node throwing exception |
|
|
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 |
|
 |
fatherjack |
Posted: Thu May 13, 2010 3:16 am Post subject: Re: HTTPRequest node throwing exception |
|
|
 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 |
|
 |
bkiran1983 |
Posted: Thu May 13, 2010 6:32 am Post subject: |
|
|
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 |
|
 |
Svp |
Posted: Thu May 13, 2010 6:41 am Post subject: |
|
|
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 |
|
 |
smdavies99 |
Posted: Thu May 13, 2010 12:45 pm Post subject: |
|
|
 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 |
|
 |
sravan |
Posted: Fri Feb 24, 2012 9:52 am Post subject: |
|
|
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 |
|
 |
lancelotlinc |
Posted: Fri Feb 24, 2012 10:12 am Post subject: |
|
|
 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 |
|
 |
|