Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

about intermediary and ultimate receiver

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)




 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Ranch Hand
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kumar,

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

Regards,
Dan
 
Kumar Raja
Ranch Hand
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
I wish to win the lottery. I wish for a lovely piece of pie. And I wish for a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic