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 » Need help to configure HTTPRequest and HTTPInput

Post new topic  Reply to topic
 Need help to configure HTTPRequest and HTTPInput « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Tue Jun 29, 2004 8:42 pm    Post subject: Need help to configure HTTPRequest and HTTPInput Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

I want ot learn how to invoke WebServices so I built two flows , the first flow contains a HTTPRequest which I want to use to call a seocnd flow which has the HTTPInput node as the first node.

The help of HTTPRequest says "Specifies the URL for the Web service. You must provide this in the form http://<hostname>[:<port>]/[<path>]"
I specified http://localhost:7080/myservice
I think this means that I am sending the request to port 7080 on local host.

The help on HTTPInput node says "In URL Selector, enter the URL from which this node receives Web service requests". Since the request is sent to port 7080, so the node must be getting it form 7080. So I also specify
http://localhost:7080/myservice
However this did not work.

I downloaded supportpac IA81 and look at the working example4, it has http://localhost:7080/example4 on the HTTPRequest URL selector and just /example4 on the HTTPInput URL Selector. The example4 works on my windows 2000 machine at home. But it does not work on my AIX broker at work. The trace output stopped at the creation of the request message. It looks like that the HTTPInput node is not getting the request at all.

Can some one help me to understand this.
The HTTPRequest URL is localhost:7080/exampl4. It means that I am sending the request to port 7080 on the local machine to invoke something call example4. Am I right ? But what is example4 ? I cannot find a message flow called example4.
In IA81, the HTTPInput has URL selector = /example4
It seem to me that this is just a symbolic name that has to match between HTTPRequest and HTTPInput ? Am I right ?
If that is the case, it does not seem to match with what the help for HTTPInput says
"In URL Selector, enter the URL from which this node receives Web service requests".

I have ony tested Exampl4 in IA81
I have one more problem. IA81 exampl4 works on my WIN2k machine at home, But it does not work on the AIX broker at work. The trace stopped after the HTTPRequest sent the SOAP request. I t seems like the HTTPInput is not getting the request. Any idea ? Do I need to run the listener for 7080 on my AIX broker. According to the book, this listener should get started at the same time as the message flow contain the HTTPRequest node. Any suggestion on how I can get it to work on AIX ?
Back to top
View user's profile Send private message
WBI_user
PostPosted: Thu Jul 01, 2004 4:50 pm    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

The sample of IA81 is the right way to configure the HTTPRequest and HTTPInput node. I have the Web services flow working on the AIX machine after the broker is restarted. It seems that I have to deploy the WebServices flow and then restart the broker in order to get the broker to listen to the specified port. I am following up with the IBM support to see if this is a bug.
Back to top
View user's profile Send private message
sorn73
PostPosted: Mon Jul 05, 2004 6:15 am    Post subject: Reply with quote

Novice

Joined: 24 Mar 2004
Posts: 24
Location: Sweden

Interesting! I have also noticed that we need to restart at least the flow, possibly the execution group, after we have deployed a message flow with an HTTPInput node. I'm on AIX 5.1 and WBI MB 5.0 CSD 2. Have you gotten any response from IBM regarding this? Are you on CSD 2 or CSD 3?
Back to top
View user's profile Send private message
WBI_user
PostPosted: Tue Jul 06, 2004 8:40 pm    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

just submitted the problem record. Waiting for reply. I am on CSD2. Will update when I have the answer
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 » Need help to configure HTTPRequest and HTTPInput
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.