PDA

View Full Version : Service Composition Best Practice?



jwoolf330
Nov 10th, 2006, 06:53 PM
Hi All-

I'm looking for feedback on the best way to compose existing web services into an aggregate web service using spring-ws. Maybe an example will be better...

(using spring-ws) I have several web services defined and working well:

GetBreadEndpoint
GetPastramiEndpoint
GetCheeseEndpoint

All of them are great individually, but what I'd really like to have is a sandwich web service, say, a

MakeSandwichEndpoint

that calls each of the above web services and uses their results to make a sandwich message.

Using Sping-WS, what is the best way to achieve this? That is, what is the preffered method or best practice when it comes to composing a Spring-WS web service from several other Spring-WS web services?

Any feedback is much appreciated as I'm fairly hungry. ;)

Thanks,
John