Forum Discussion
SmartBear_Suppo
Alumni
17 years agoHello,
Take a look at this page.
You should be able to open an existing project and add all your requests using something along these lines:
Regards,
Dain
eviware support
Take a look at this page.
You should be able to open an existing project and add all your requests using something along these lines:
//Open an existing project and get the relevant operation:
WsdlProject project = new WsdlProject("soapui-project.xml");
WsdlInterface iface = (WsdlInterface) project.getInterfaceByName("Your Interface");
WsdlOperation operation = (WsdlOperation) iface.getOperationByName("Your Operation");
//loop through your requests and:
WsdlRequest request = operation.addNewRequest("<Request name>");
request.setRequestContent("<insert your request content here>");
//and don't forget to save...
project.save();
Regards,
Dain
eviware support