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 » Webservice and TcpipClientNodes

Post new topic  Reply to topic
 Webservice and TcpipClientNodes « View previous topic :: View next topic » 
Author Message
sapana
PostPosted: Wed Jul 04, 2007 9:30 pm    Post subject: Webservice and TcpipClientNodes Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Jul 05, 2007 4:21 am    Post subject: Reply with quote

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
View user's profile Send private message
sapana
PostPosted: Thu Jul 05, 2007 10:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
sapana
PostPosted: Fri Aug 03, 2007 1:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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