Author |
Message
|
ank1117 |
Posted: Wed Sep 07, 2011 10:18 am Post subject: webservice call to an existing WMB flow with HTPP node |
|
|
Newbie
Joined: 13 Jul 2011 Posts: 4
|
Hi, I have an existing WMB message flow with HTTPInput node, Now my requirement is that the external client should be able to make a webservice call to this flow via HTTPInput node. Please suggest how this is possible?
Also need to see how will the message structure after receiving the input message as i have an Input XML structure defined with which i need to make a webservice call to this HTTPInput node. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Sep 07, 2011 10:21 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
You should be using SOAPInput node to enable your ESB to service Web Service calls.
HTTPInput does not perform any WS schema validation. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 07, 2011 10:25 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The external client calls the HTTPInput node the same way any other client does - using an HTTP request to the correct IP address and port #.
You should only use SOAPInput node if your "web service" is actually using SOAP, and not REST or JSON or etc.
The message structure will be the correct message structure that the flow has been configured to expect.
What, exactly, and be very very specific, are you struggling with? |
|
Back to top |
|
 |
ank1117 |
Posted: Wed Sep 07, 2011 10:42 am Post subject: |
|
|
Newbie
Joined: 13 Jul 2011 Posts: 4
|
But i am not supposed to change the existing message flow with HTTPInput node and the client has to make a webservice call to this flow. Now i have been given a custom WSDL with which i wana call this HTTPInput node? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Sep 07, 2011 10:44 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
If you attended the WM663 class, the instructor would explain how to do this:
1. Import the WSDL into the message set.
2. Drag the SOAPInput node to the canvas.
3. Configure the SOAPInput node to use the WSDL.
4. Use Trace Nodes to validate input and output.
Have you attended the class? If not, why not? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 07, 2011 10:45 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
ank1117 wrote: |
But i am not supposed to change the existing message flow with HTTPInput node and the client has to make a webservice call to this flow. Now i have been given a custom WSDL with which i wana call this HTTPInput node? |
What, *exactly*, are you struggling with? What, *exactly* have you actually done with this WSDL?
Be *very very* specific.
Do you not know what a WSDL is? Do you not know how WSDLs relate to web services? Do you not know how to use WSDLs with message broker? Do you not know how to expose your HTTPInput node to the external client?
If you can't answer these questions, you need to go back to the person who gave you the WSDL and ask *them* for help.
This forum is for *busy* *professionals*, not to provide training. |
|
Back to top |
|
 |
joebuckeye |
Posted: Fri Sep 09, 2011 6:26 am Post subject: |
|
|
 Partisan
Joined: 24 Aug 2007 Posts: 365 Location: Columbus, OH
|
If you are new to working with WSDL's I recommend you download soapUI (google will point the way) to aid in debugging/troubleshooting. |
|
Back to top |
|
 |
|