Author |
Message
|
rakesh567 |
Posted: Sat Jan 26, 2008 5:45 am Post subject: HTTPInput node wmb testing |
|
|
Novice
Joined: 26 Jan 2008 Posts: 18
|
Please i need this information urgent.
1>If we are using HTTP InputNode with XML domain.
can we use set outputroot.xml.....=inputroot.xml....
2>how can i put the test message to http input node.
i read in thread its through nettool we can.
but what is the option we can use there.
Thanks on advance.
Please reply,,
reagrds,
rakesh. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Jan 26, 2008 11:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Don't use XML. Use the XMLNS domain or XMLNSC.
XML is deprecated and will not support namespaces...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
rakesh567 |
Posted: Sat Jan 26, 2008 12:53 pm Post subject: |
|
|
Novice
Joined: 26 Jan 2008 Posts: 18
|
Thanks for the reply..
Thant means can i use Outputroot.XMLNSC...=InputRoot.XMLNSC... to map the code.
And also i wanna to know the testing procedure for this(may be through nettool.
my flow will be like
HTTPInputNode---->compute----->HTTPReply. |
|
Back to top |
|
 |
hakanhu |
Posted: Tue Jan 29, 2008 5:29 am Post subject: |
|
|
 Newbie
Joined: 30 Jan 2007 Posts: 7
|
Hello,
set a Path suffix for the URL on your HTTP Input Node e.g: /service
And if you then want to test locally try http://localhost:7080/service to put a request to your node.
Regards,
Hakanhu |
|
Back to top |
|
 |
rakesh567 |
Posted: Tue Jan 29, 2008 12:54 pm Post subject: |
|
|
Novice
Joined: 26 Jan 2008 Posts: 18
|
thanks for the reply.
how can i make sure that message reaches the input node.
i have set the path.
In net tool what should i need to do.. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jan 29, 2008 12:58 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You need to configure your HTTPInput node to include whatever path you want AFTER the servername and port number.
So in a typical URL, you have "http://servername:portnumber/my/path/to/service".
The HTTPInput node will be configured with "/my/path/to/service".
Servername will be the name of the machine running broker - if you are using your machine, you can use "localhost". Port number is the number of the port that you've specified for bipHTTPListener when you created the broker. By default this is 7080.
You then need to make sure that bipHTTPListener is running.
You also want to restart broker twice after deploying anything that changes the list of urls it processes - i.e. after deploying a flow with a new HTTPInput node or with a changed HTTPInput node for the URL.
You then need to understand how to use nettool to call "http://servername:port/my/path/to/service".
You then need to understand how to determine what data your flow receives. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|