开发者

webservice calling another webservice

Does anyone know how to call one webservice from another webservice? Is it even possible? I am using weblogic but it doesnt really go into details with regards to how the WSDLs would chan开发者_如何学编程ge from the invoking web service to the second one.

Any tips on how I would call one form another would be appreicated.

thanks

Mark


I can't speak for web logic, but for Web services, and of course it is possible to call Web services from Web services. The WSDL does not change at all since it only describes the public interface of your service, which does not change if you decide to out-source the internal logic to another service. What you probably need to do is to generate a Web service client based on the WSDL of the second service. This generated code can then be used by the first service.

As an alternative you may want to look into WS-BPEL. It is a domain specific language for composite services, i.e. for stitching multiple WSDL services together in order to provide a higher-level WSDL service. Eclipse BPEL Designer could be starting point for the modelling tool, Apache ODE for the runtime.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜