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 » Dummy webservice

Post new topic  Reply to topic
 Dummy webservice « View previous topic :: View next topic » 
Author Message
brokerDev
PostPosted: Mon Aug 07, 2006 2:32 am    Post subject: Dummy webservice Reply with quote

Acolyte

Joined: 21 Jun 2006
Posts: 53

Would be grateful if anyone could suggest how to set up a dummy webservice on my desktop so that I can interact and call webservices from a message flow.

I use WBIMB v5.

Thanks
Back to top
View user's profile Send private message
mqmatt
PostPosted: Mon Aug 07, 2006 2:49 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

You could set up another broker with an HTTPInput -> ... -> HTTPReply node, and connect to that as your dummy webservice.

Chapter 21 of the V5 Broker Migration redbook included a sample of how to do this. See http://www.redbooks.ibm.com/abstracts/sg246995.html

-Matt
Back to top
View user's profile Send private message
brokerDev
PostPosted: Mon Aug 07, 2006 2:57 am    Post subject: Reply with quote

Acolyte

Joined: 21 Jun 2006
Posts: 53

Many thanks for that Matt. It looks like that might be what I need.

Cheers
Back to top
View user's profile Send private message
brokerDev
PostPosted: Mon Aug 07, 2006 6:34 am    Post subject: Reply with quote

Acolyte

Joined: 21 Jun 2006
Posts: 53

Hi,

I have followed the example given in the redbook. I'm experiencing an issue though: I'm getting a timeout. I am running toolkit on my desktop but using another server as the host. I did replace the hostname in the properties window of the HTTP nodes with the hostname of the server.

Is there anything you can suggest to help?

Thanks
Back to top
View user's profile Send private message
mqmatt
PostPosted: Mon Aug 07, 2006 7:09 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Are you connecting using the correct port number on the broker?
Use mqsichangebroker -P to set the port on which you want the broker to listen, and be sure to reference that port in the URL when connecting to the web service.
Using netstat you should be able to verify that the broker is indeed listening on the port you specify.

Also be sure to set the URL selector correctly (e.g. "/wshost").
Back to top
View user's profile Send private message
brokerDev
PostPosted: Mon Aug 07, 2006 7:55 am    Post subject: Reply with quote

Acolyte

Joined: 21 Jun 2006
Posts: 53

After I deploy the bars, syslog shows that the listener port is 1234. However, when I do a 'netstat', I can see no mention of that port number.

I'm now therefore not quite sure which port number I should be using.

Also, not quite sure what you mean by "set the URL selector correctly (e.g. "/wshost")."

Cheers
Back to top
View user's profile Send private message
MSAT
PostPosted: Tue Aug 08, 2006 10:40 pm    Post subject: Reply with quote

Acolyte

Joined: 17 Aug 2005
Posts: 62
Location: Bengalooru

Hi

If u r broker is running on the Windows server/machine then once u deploy the bar file on to broker u will get a message in the System Event Viewer--Application indicating the HTTP listener started or not. And also u can check in the Windows task manager to get to know whether the HTTP listener is running or not.

And if the port number u r using is already been used by some other application then you will get a warning/error message in the System event viewer.

Bye
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Dummy webservice
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.