GeeCON Prague 2014*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes about intermediary and ultimate receiver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "about intermediary and ultimate receiver" Watch "about intermediary and ultimate receiver" New topic
Author

about intermediary and ultimate receiver

vasu chowdary
Ranch Hand

Joined: Mar 15, 2008
Posts: 90
Hi i am very new to webservices.I am getting more confusion about intermediary and ultimate receiver.I have implemented a small application in that i will send a soap request to documentium web service to generate PDF.

java system--------------->Documentium System(service)

As per my knowledge Documentium System is ultimate receiver.correct?As per my understanding intermediary will reside in between and sender and ultimate receiver.Below one is my view about intermediary

javasystem------>webservice1(intermediary)------->webservice2(intermediary)------->Documentium service(Ultimate receiver)


is above representation correct?will intermediary and ultimate receiver reside in same system?what i am asking is

javasystem------------>Documentium service(intermediary+ultimatereceiver)




Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Your understanding seems correct to me.
The only doubt I have is that an ultimate receiver is never an intermediary.
In your case, you only have one ultimate receiver, the documentium service.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 519
    
    2

I apologize for poking my nose here...

But I was just curious to know, if the intermediaries need to be another webservices (like JAX-WS or some other way). I thought, the intermediaries are the handlers which basically implement either LogicalHandler or SOAPHandler (in the case of SOAPBinding). Please correct me, if I'm wrong.


Regards
KumarRaja

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Good question!
Web service intermediaries can be, for instance, an ESB that routes web service requests to the appropriate recipient(s), a queue that stores requests for later processing etc. These are more standalone applications that may exist relatively independent of a web service or web service client.
Personally, I see handlers as filters or AOP-for-webservices, being part of a web service or web service client.
Best wishes!
Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 519
    
    2

Ivan Krizsan wrote:Hi!
Good question!
Web service intermediaries can be, for instance, an ESB that routes web service requests to the appropriate recipient(s), a queue that stores requests for later processing etc. These are more standalone applications that may exist relatively independent of a web service or web service client.
Personally, I see handlers as filters or AOP-for-webservices, being part of a web service or web service client.
Best wishes!


Thanks Ivan and also from the diagram given in Service End Point Design, Flow of WebService, the handlers at server side are listed between webservice port and webservice end point. From the explanation above, ESB or Queues must be residing before reaching the port of webservice. Please correct me, if I'm wrong.
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1180
Kumar,

Interestingly, the chapter you referred to, doesn't mention the intermediary word/concept...

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 519
    
    2

Dan Drillich wrote:Kumar,

Interestingly, the chapter you referred to, doesn't mention the intermediary word/concept...

Regards,
Dan


Hi Dan,

Yes the chapter did not talk about intermediary, but I was trying to correlate the thread's topic and my understanding from the chapter. Basically I was trying to map what I read in the chapter with what is being discussed in this thread.
 
Don't get me started about those stupid light bulbs.
 
subject: about intermediary and ultimate receiver