简体   繁体   English

通过wso2 esb代理的工作日服务

[英]Workday service proxied through wso2 esb

I was wondering if anyone else has found a relatively easy way of proxying a workday service to limit the operations to one or two operations. 我想知道是否有其他人找到了代理工作日服务的相对简单的方法来将操作限制为一个或两个操作。 Our Workday service we want to proxy has almost 200 operations in it and the WSDL is over 52,000 lines. 我们想要代理的Workday服务有近200个操作,WSDL超过52,000行。 We would like to use ESB as a hub for our enterprise web services, but have not found an easy way to expose one or two operations, as we don't want to expose the world to everyone at this point. 我们希望使用ESB作为我们企业Web服务的中心,但是没有找到一种简单的方法来公开一个或两个操作,因为我们现在不想向所有人公开这个世界。 Manually trying to trim a 52,000 line wsdl down to under 100 lines is a little daunting if it needs to be done for a couple dozen services and the wsdl is updated at least twice a year. 如果需要为几十个服务完成并且wsdl每年至少更新两次,那么手动尝试将52,000行wsdl减少到100行以下是有点令人生畏的。

Has anyone had similar experiences or suggestions on tools that may be able to help create a custom wsdl to publish from our proxied service? 有没有人对可以帮助创建自定义wsdl以从我们的代理服务发布的工具有类似的经验或建议? We don't have any java code to define the service and generate a wsdl. 我们没有任何Java代码来定义服务并生成wsdl。

Am I wrong thinking that I can limit the operations of my proxied service by creating a custom wsdl to expose only those operations we want for the given proxy? 我错误地认为我可以通过创建自定义wsdl来限制我的代理服务的操作,以仅公开我们想要给定代理的那些操作吗?

Any suggestions would be appreciated. 任何建议,将不胜感激。

You're right thinking that you can limit your service's operations like that. 您认为可以限制服务的运营是正确的。 You have two way to create your "custom" wsdl : 你有两种方法来创建你的“自定义”wsdl:

Use tools like altova xmlsply for exemple and comment the operations you don't want to expose 使用altova xmlsply等工具作为示例,并注释您不想公开的操作

Develop a script with ant for exemple and use xsl to automatically update your wsdl 用例如ant开发一个脚本,并使用xsl自动更新你的wsdl

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM