|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Webservice and TcpipClientNodes |
« View previous topic :: View next topic » |
Author |
Message
|
sapana |
Posted: Wed Jul 04, 2007 9:30 pm Post subject: Webservice and TcpipClientNodes |
|
|
Apprentice
Joined: 16 Apr 2007 Posts: 33 Location: Pune
|
Hi,
I have a flow that receives a web-service request and sends it to another service on TCP port. I used TcpipClientOutput & TcpipClientInput nodes for this.
(HTTPInput -> Compute -> TcpipClientOutput
TcpipClientInput -> Compute -> HTTPReply)
But the HTTP reply information (like RequestIdentifier which the HTTPReply node uses) is lost.
What is the best way of dealing with such flows?
I tried a workaround : sending the HTTP request identifier to the TCP service and getting back the same value. But still the flow fails at HTTPReply node.
The Message->Properties->ReplyProtocol property has 'MQ' value. And I could not alter this value.Is this ok? |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jul 05, 2007 4:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
This question seems familiar somehow...
This isn't any different, conceptually, than a message flow that sends an MQ Request and gets a response using an MQInput, instead of an MQGet.
You start a new instance of the flow when the TCPClientInput node gets called.
This means that you get a new Environment, and etc.
You'll need to use one of the normal mechanisms for saving state between flow instances - aggregation, ESQL shared variables, queues, databases, etc. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
sapana |
Posted: Thu Jul 05, 2007 10:27 pm Post subject: |
|
|
Apprentice
Joined: 16 Apr 2007 Posts: 33 Location: Pune
|
Hi,
I managed to get the request identifier in the TcpipClientInput flow and stored it in local environment as required. Still it crashes at HTTPReply node.
Checked the event viewer for error log which doesnt help much.
Is this because the Message->Properties->ReplyProtocol property has 'MQ' value. And I could not alter this value to 'HHTP_SOAP'.
What is the significance of this ReplyProtocol property? When is the value checked? |
|
Back to top |
|
 |
sapana |
Posted: Fri Aug 03, 2007 1:38 am Post subject: |
|
|
Apprentice
Joined: 16 Apr 2007 Posts: 33 Location: Pune
|
The problem is now solved. The ReplyProtocol field still has MQ value, but that is not a problem |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|