Author |
Message
|
hardcore |
Posted: Wed Feb 06, 2008 1:52 pm Post subject: Testing messageflow with HTTPInput node |
|
|
Novice
Joined: 11 Apr 2005 Posts: 22
|
Experts,
I am new to message broker webservices development, I am trying with the examples in the sample gallery. I am having trouble in testing the message flow with HTTP Input node, I read in the forum that NetTool can be used to put the messages.
Can anyone help me in how to use the NetTool (configuration) in testing the message flow.
Thanks in advance. |
|
Back to top |
|
 |
brokerDev |
Posted: Wed Feb 06, 2008 3:14 pm Post subject: |
|
|
Acolyte
Joined: 21 Jun 2006 Posts: 53
|
Hi hardcore,
You didn't elaborate on what kinds of problems you are having. For example, at what stage of testing do you experience probelms? What is the sequence of your flow? What errors do you get?
There's documentation available on the sourceforge site which should help you with configuration.
Alternatively, you could just write a simple message flow to call your webservice. Something along the lines of MQInput > Compute/JCN > HTTPRequest
Hope this is of some help. |
|
Back to top |
|
 |
hardcore |
Posted: Wed Feb 06, 2008 3:24 pm Post subject: |
|
|
Novice
Joined: 11 Apr 2005 Posts: 22
|
Hi BrokerDev, Thanks for your quick response.
I just want to know how will I put a message in to HTTP Input node, I am trying to use NetTool, when I run start-nettool.bat I get an error "Could not find main class, program will exit"
I think I need to do some configuration for the NetTool, Iam using NetTool_4.7 and JDK5
Thanks |
|
Back to top |
|
 |
jsware |
Posted: Thu Feb 07, 2008 1:12 am Post subject: |
|
|
 Chevalier
Joined: 17 May 2001 Posts: 455
|
hardcore wrote: |
error "Could not find main class, program will exit" |
This looks like an error with NetTool, not with your broker. I would recommend you review the NetTool documentation (specifically setting it up nd configuring it) that was mentioned before. There may be forums on the NetTool homepage where you can ask other NetTool experts your question. _________________ Regards
John
The pain of low quaility far outlasts the joy of low price. |
|
Back to top |
|
 |
kimbert |
Posted: Thu Feb 07, 2008 2:25 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
If you're on v6.0.2, don't ignore the Test Client ( right-click the MQInput or HttpInput node and select 'Test'). I find it very useful for simple scenarios. Obviously, you'll need NetTool or some other dedicated test tool for the more complex stuff. |
|
Back to top |
|
 |
hardcore |
Posted: Thu Feb 07, 2008 8:41 am Post subject: |
|
|
Novice
Joined: 11 Apr 2005 Posts: 22
|
Thanks Guys, I found my mistake. I was using Java EE SDK 5, which was not recognised by NetTool, now I have installed JRE 1.5. NetTool works fine with JRE 1.5. Also I found WB test client is pretty useful but it is bit slow.
Once again thanks guys for your valid suggestions in time.
Cheers! |
|
Back to top |
|
 |
|