ActiveVOSDeploymentDescriptor { public void addXsdImport(String locationInDeployment, String xsdNamespace) { if(pdd.getReferences() == null) { pdd.addNewReferences(); } SchemaType xsdRef = pdd.getReferences().addNewSchema(); xsdRef.setLocation(locationInDeployment); xsdRef.setNamespace(xsdNamespace); } 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 testAddXsdImport() throws Exception { String testName = "testAddXsdImport"; File f = copyPddToTestCaseFile(testName); ActiveVOSDeploymentDescriptor pdd = new ActiveVOSDeploymentDescriptor(f); pdd.addXsdImport("mylocation.xsd", "ns"); pdd.save(); String actual = normalize(FileUtil.readFile(f)); String expected = normalize(getExpected(testName)); assertEquals(expected, actual); }