ActiveVOSDeploymentDescriptor { public void addWsdlImport(String locationInDeployment, String wsdlNamespace) { if(pdd.getReferences() == null) { pdd.addNewReferences(); } WsdlType wsdlRef = pdd.getReferences().addNewWsdl(); wsdlRef.setLocation(locationInDeployment); wsdlRef.setNamespace(wsdlNamespace); } ActiveVOSDeploymentDescriptor(File file); void addPartnerLink(String name, String partnerEndpoint,
			String partnerPortName, QName partnerService, String myEndPoint); void addWsdlImport(String locationInDeployment, String wsdlNamespace); void addXsdImport(String locationInDeployment, String xsdNamespace); void save();  }
@Test public void testAddWsdlImport() throws Exception { String testName = "testAddWsdlImport"; File f = copyPddToTestCaseFile(testName); ActiveVOSDeploymentDescriptor pdd = new ActiveVOSDeploymentDescriptor(f); pdd.addWsdlImport("mylocation", "ns"); pdd.save(); String actual = normalize(FileUtil.readFile(f)); String expected = normalize(getExpected(testName)); assertEquals(expected, actual); }