简体   繁体   English

TIBCO-动态生成WSDL

[英]TIBCO - Generate WSDL Dynamically

I have a WebService that is a service dispacher and it has a Body with the type anyType, so that way I have only one webservice and my client only needs to know the schema to put in the Body for the specific service that he is calling. 我有一个WebService,它是一个服务调度程序,并且具有类型为AnyType的Body,因此,我只有一个Webservice,我的客户端只需要知道要为要调用的特定服务在Body中放入的架构。

Now the problem is that everytime I create a new service or modify an existing one, I need to send the new schema for them. 现在的问题是,每次创建新服务或修改现有服务时,都需要为它们发送新的架构。 I need a way so I can generate the WSDL with the body replaced with the schema of the desired service, so I don't have to resend the schema everytime it changes. 我需要一种方法,以便可以生成带有替换为所需服务的架构的主体的WSDL,因此不必每次更改架构都重新发送。

Thanks in advance! 提前致谢!

BTW I'm using Tibco Designer, if it matters :P 顺便说一句,我正在使用Tibco Designer,如果有关系的话:P

Create an XSLT that expects the generic WSDL as an input and takes a path to a schema as a parameter. 创建一个XSLT,该XSLT期望将通用WSDL作为输入,并采用到模式的路径作为参数。 Use the XSLT to generate the WSDL you want for your consumers. 使用XSLT为您的使用者生成所需的WSDL。

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

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