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 » Problem with HTTPRequest node

Post new topic  Reply to topic
 Problem with HTTPRequest node « View previous topic :: View next topic » 
Author Message
PRKUMAR
PostPosted: Mon Nov 05, 2012 5:18 am    Post subject: Problem with HTTPRequest node Reply with quote

Apprentice

Joined: 04 Sep 2012
Posts: 36

Hi,
I am designing a simple flow with following nodes:
mqinput -> compute -> httprequest -> compute -> mqoutput

I am getting the below exception when I executing the flow:
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = 'F:\build\S610_P\src\WebServices\WSLibrary\ImbWSRequest.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 536 (INTEGER)
(0x03000000:NameValue):Function = 'ImbWSRequest::makeWSRequest' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 3152 (INTEGER)
(0x03000000:NameValue):Text = 'A Web Service request has detected a SOCKET error whilst invoking a web service located at host &1, on port &2, on path &3.' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'localhost' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 2 (INTEGER)
(0x03000000:NameValue):Text = '7080' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '/testhttp' (CHARACTER)
)
(0x01000000:Name ):SocketException = (
(0x03000000:NameValue):File = 'F:\build\S610_P\src\CommonServices\ImbBasicSocket.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 476 (INTEGER)
(0x03000000:NameValue):Function = 'ImbBasicSocket::connectTimeout' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 3150 (INTEGER)
(0x03000000:NameValue):Text = 'An error occurred whilst performing a socket operation: getsockopt' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '::connect::select()' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 2 (INTEGER)
(0x03000000:NameValue):Text = '10061' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 14 (INTEGER)
(0x03000000:NameValue):Text = 'No connection could be made because the target machine actively refused it.
' (CHARACTER)
)
)
)
)

The URL which I had given in httprequest node is: http://localhost:7080/testhttp
Back to top
View user's profile Send private message
wbi_telecom
PostPosted: Mon Nov 05, 2012 6:37 am    Post subject: Reply with quote

Disciple

Joined: 15 Feb 2006
Posts: 188
Location: Harrisburg, PA

Your request is timing out. Do you have any serivce processing requests at the URL you have defined in your HTTPRequst node ? Is that service running?

Cheers,
Back to top
View user's profile Send private message
PRKUMAR
PostPosted: Mon Nov 05, 2012 6:44 am    Post subject: Reply with quote

Apprentice

Joined: 04 Sep 2012
Posts: 36

service processing requests? can you please explain? I have set only the url property in httprequest node and remaining all are default values.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Nov 05, 2012 6:47 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You tried to make a request to the localhost machine.

The localhost machine said you can't make requests to that port.
Back to top
View user's profile Send private message
PRKUMAR
PostPosted: Mon Nov 05, 2012 7:04 am    Post subject: Reply with quote

Apprentice

Joined: 04 Sep 2012
Posts: 36

so can we use mqsichangeproperties to change it to different port and try it again?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Nov 05, 2012 7:12 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

PRKUMAR wrote:
so can we use mqsichangeproperties to change it to different port and try it again?


Yes, you can.

But there's no reason to expect that will solve the problem.

You should determine *why* the localhost refused the connection.
Back to top
View user's profile Send private message
ganesh
PostPosted: Mon Nov 05, 2012 7:28 am    Post subject: Reply with quote

Master

Joined: 18 Jul 2010
Posts: 294

Quote:
The URL which I had given in httprequest node is: http://localhost:7080/testhttp


If it is an another webservice message flow (local to your machine) you are trying to invoke make sure it is up and running.
Back to top
View user's profile Send private message
gunjand
PostPosted: Mon Nov 05, 2012 3:45 pm    Post subject: Reply with quote

Novice

Joined: 21 May 2009
Posts: 23

Check if service is running or try to invoke using soapui or any other htttp client.
Back to top
View user's profile Send private message
tip.1020
PostPosted: Tue Nov 06, 2012 1:35 am    Post subject: Re: Problem with HTTPRequest node Reply with quote

Novice

Joined: 25 Oct 2012
Posts: 10

PRKUMAR wrote:
Hi,
I am designing a simple flow with following nodes:
mqinput -> compute -> httprequest -> compute -> mqoutput

I am getting the below exception when I executing the flow:
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = 'F:\build\S610_P\src\WebServices\WSLibrary\ImbWSRequest.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 536 (INTEGER)
(0x03000000:NameValue):Function = 'ImbWSRequest::makeWSRequest' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 3152 (INTEGER)
(0x03000000:NameValue):Text = 'A Web Service request has detected a SOCKET error whilst invoking a web service located at host &1, on port &2, on path &3.' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'localhost' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 2 (INTEGER)
(0x03000000:NameValue):Text = '7080' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '/testhttp' (CHARACTER)
)
(0x01000000:Name ):SocketException = (
(0x03000000:NameValue):File = 'F:\build\S610_P\src\CommonServices\ImbBasicSocket.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 476 (INTEGER)
(0x03000000:NameValue):Function = 'ImbBasicSocket::connectTimeout' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 3150 (INTEGER)
(0x03000000:NameValue):Text = 'An error occurred whilst performing a socket operation: getsockopt' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '::connect::select()' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 2 (INTEGER)
(0x03000000:NameValue):Text = '10061' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 14 (INTEGER)
(0x03000000:NameValue):Text = 'No connection could be made because the target machine actively refused it.
' (CHARACTER)
)
)
)
)

The URL which I had given in httprequest node is: http://localhost:7080/testhttp


Have you tried using any other URL which you might have used before?
Also what is the response that you are expecting when you are posting to this url?
Back to top
View user's profile Send private message Send e-mail
nukalas2010
PostPosted: Tue Nov 06, 2012 10:44 pm    Post subject: Reply with quote

Master

Joined: 04 Oct 2010
Posts: 220
Location: Somewhere in the World....

check the connection using telnet..

telnet localhost 7080

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

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