Forum Discussion

ITAbteilung's avatar
ITAbteilung
Contributor
13 years ago

Extension Scripting Demo doesnt work on composite projects

Hi,

I followed the instructions at http://www.soapui.org/Developers-Corner/extending-soapui.html#3-soapui-pro-extension-scripting and figured out that this works only on non-composite projects. As soon as I save my project as composite project, the extended actions in the rightclick-menu doesn't appear any more.
Can it be avoided by choosing another actionGroup? Right now it's like that:

<tns:actionGroup id="EnabledWsdlProjectActions">

where can I find information about what different ids exist?

Best regards,
Pat

3 Replies

  • Since it is quite important for us to add functionality via extension scripting I would really appreciate to get some support on that topic.

    Regards,
    Pat
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello,

    I'm sorry for delay. If you want custom menu action be seen in composite projects add this:

    <tns:actionGroup id="CompositeWsdlProjectActions">
    <tns:actionMapping actionId="GroovyScriptAction" name="Demo" description="Reloadable Demo Action"
    param="soapui.demo.DemoAction"/>
    </tns:actionGroup>


    to *-actions.xml file. Trick is in id value CompositeWsdlProjectActions that enable it for composite projects too.

    Hope this helps,

    robert
    /Smartbear
    [SOAPUI-3932]