Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Bjorn S on February 10, 2012, 05:15:40 am

Title: Generating WSDL from Javascript
Post by: Bjorn S on February 10, 2012, 05:15:40 am
I have Javascript code that creates the WSDL structure (WSDL Namespace, Types, Messages, PortTypes, Bindings, Services) along with the accompanying WSDL element (stereotyped to WSDL) that holds the service definitions to create the WSDL file for. If I right-click the WSDL element in the menu and select "Generate WSDL..." and follow through the set of menus, EA creates the WSDL file just fine.

Now, how do I run the "Generate WSDL..." from within Javascript? This will enable me to fully automatically create the actual WSDL file(s) from a separate model structure.

And, of course, I'd be interested in hearing how I may run *any* of the menus from within Javascript. ;)

Thanks,

Bjorn.
Title: Re: Generating WSDL from Javascript
Post by: sandeep.abhyankar on January 11, 2017, 11:34:25 pm
Hi Bjorn , can you please share the JavaScript to create the WSDL structure in EA ?