Forum Discussion

V_V_Subrahmanya's avatar
V_V_Subrahmanya
New Contributor
16 years ago

How to access COM and Active X methods from Groovy.

Hi All,

I am new to SoapUi.I am using Soapui the non pro one.when i try to access the COM or Active X components i am getting class not resolved error.
Out of googling i came to know we need to have scriptom and groovy installed.I downloaded both of them.

Can anyone tell me the exact installation steps i need to follow inorder to incorporate these 2 into my soapui so that i can access the COM and ActiveX components.

Regards,
Shiva.
  • Hi,

    Guys can anybody throw some light on this.I really got stuck with this.

    I also have another issue.I tried loading a wsdl that i got from net.when i load this wsdl it is showing me the loading definition window for a long time but not loading anything.Do i need to make any settings before loading the wsdl. I made the http preference as 1.1.Do i need to make any other settings.

    This is the wsdl i am using.
    http://www.webservicex.net/ValidateEmail.asmx?wsdl

    Thanks in advance,
    subbu.
  • Hi subbu,


    Groovy runtime (i.e. groovy-all-*.jar) is already bundled with soapUI for providing core Groovy scripting support. You can make additional classes available to Groovy runtime if you place corresponding JARs into ext folder.

    COM/ActiveX support provided by Scriptom requires a couple of JARs (scriptom-*.jar and jacob-*.jar) to be installed in ext folder. Since these JARs depend on native (DLL) libraries in order to run, you need to copy Scriptom-*.dll used by Scriptom into working folder, i.e. where soapUI is being run from and that is bin folder.

    Please, do let us know if this worked.

    As for our other question, please create a separate thread for it so that we do not pollute this thread with unrelated topic(s).


    Cheers!
    /Nenad Nikolic a.k.a. Shonzilla
  • logesh's avatar
    logesh
    Occasional Contributor
    Hi All,

    Even i have the same issue. In short, my requiement is to send mails through outlook using groovy scritping. Have placed jar and .dll files in mentioned folders.

    Still get the same error.
    Is there any other means to mail using outlook ?

    Regards,
    Logesh