This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to find in Metro tube which servlet or web service sent request to another web service? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "How to find in Metro tube which servlet or web service sent request to another web service?" Watch "How to find in Metro tube which servlet or web service sent request to another web service?" New topic
Author

How to find in Metro tube which servlet or web service sent request to another web service?

Petr jcmldev
Greenhorn

Joined: Jun 22, 2012
Posts: 1
Hi Guys,

I have following question regarding use of Metro tubes:

In SOA system composed of number of Web Services deployed on multiple GlassFish servers (with Metro container); I have a tube library which is loaded on start of GlassFish and for each request message sent by any servlet or Web Service to another Web Service needs to detect address of the destination service (that is the easy bit) and which servlet or Web Service sent the request (here is the problem). This information is not contained in the packet. I would expect it should be possible to find it in the context object ClientTubelineAssemblyContext and getContainer(), however, so far I have not found out how.

Any help will be appreciated
Petr
 
GeeCON Prague 2014
 
subject: How to find in Metro tube which servlet or web service sent request to another web service?