• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

design for integration two web services

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,

I have a design scenario wherein there are two separate web services (WS1 and WS2). Both these web services have business scenarios wherein they need to be consumed as silos. There is a new business scenario wherein I have to integrate the output of WS1 and pass it as an input to WS2.
I want to keep the web services as is and don't want to make changes to their structure or inner workings. I want to create some sort of a wrapper on top of these web services where in the incoming request hit this wrapper layer and then coordinates the task of integrating WS1 and WS2.
The client told me they have an ESB in place. Is the ESB the right candidate for such type of an integration task or if you know about better ideas please suggest.

Thanks,
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Basically, you need an application that will properly respond to the incoming request.

You can call this an "application", you can call it a "component", you can call it a "wrapper layer", you can call it a "composite service", whatever. What you call it really does not mean anything.

The application will execute web service 1 and pass the returned results to web service 2. There is no need to alter the mechanisms of either service for this.

In terms of an enterprise service bus (ESB), there are many different implementations for each ESB product. Typically, an ESB is for efficiently locating and managing services only. A business process server is the tool that will integrate business services, not an ESB. You need to evaluate the client's particular ESB product to see if it can satisfy your requirements without developing an application.

If I had to make a bet, I would say that you will need to develop a new application for this business logic, and that it is not possible with their ESB product. See if they have a business process server in action. Also check out the Business Process Modelling Language (BPML) for more insight on how to efficently integrate services.

Good luck!

 
Mohit Sinha
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Frank.
The ESB at the client place is Oracle ESB which I understand is the same as the recently acquired BEA Aqua Logic Service Bus.
The client currently does not have a BPEL or Process Server capabilities.

Say If i have to design a composite service component in java (or any other better way) which coordinates the below mentioned 2 web services and then call that composite service component from the Oracle ESB.

What are the best practices for designing this composite service component in the absence of OOTB utilities like BPEL or Process server.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The following contain rich information that will help you understand many of the critical factors of service design:

Enterprise SOA: Service-Oriented Architecture Best Practices
Paperback: 408 pages
Publisher: Prentice Hall
Language: English
ISBN-10: 0131465759
ISBN-13: 978-0131465756

Service-Oriented Architecture (SOA) Compass: Business Value, Planning, and Enterprise Roadmap
Hardcover: 272 pages
Publisher: IBM Press
Language: English
ISBN-10: 0131870025
ISBN-13: 978-0131870024

Good luck!
 
reply
    Bookmark Topic Watch Topic
  • New Topic