Forum Discussion

nalininair1's avatar
nalininair1
New Contributor
16 years ago

Run SOAP projects in CVS via Java

I have 2 issues. 

1. My problem is that I have to run all the the SOAP projects within CVS via a Java program. To explain better,
WsdlProject wsdlPjt = new WsdlProject("C:/Test-soapui-project.xml") works perfectly fine.

But I need to access it like
WsdlProject wsdlPjt = new WsdlProject("com/test") where com.test is the package name.

How can that be done?

2. How can I access the SOAP workspace?I tried "SoapUI.getWorkspace()" but it returns null. How can I access it so that I could just iterate through the projects and run it via Java? Also the projects in it should be the relative paths and not absolute ones. I tried doing
${workspaceDir}\Test-soapui-project.xml

in the default-soapui-workspace.xml file but it was unsuccessful
No RepliesBe the first to reply