Document importDoc = environment.getDocument(nextPath);
Document wsdl = environment.getDocument(wsdlPath);
Document includeDoc = environment.getDocument(nextPath); Element nextSchema = XmlUtils.getFirstElement(includeDoc); XmlUtils.moveSubTree(nextSchema, finalSchema, includes[n]);
DeploymentDescriptor dd = createDeploymentDescriptor(); Document ddXML = env.getDocument(DescriptorConstants.DESCRIPTOR_FILE_NAME); dd.load(ddXML, env);
Document rmdDoc = env.getDocument(path);
protected void subscribeInitialConsumer() throws SoapFault { String fileName = getInitializationParameter(_CONSUMER_EPR_PARAM); // // pre-existing consumer is optional - other consumers can // still subscribe using WS-N // if (fileName != null) { Environment env = getResource().getEnvironment(); Document eprDoc = env.getDocument(fileName); Element eprXML = XmlUtils.getFirstElement(eprDoc); EndpointReference epr = new EndpointReference(eprXML); NotificationProducer wsn = (NotificationProducer)getResource().getCapability(WsnConstants.PRODUCER_URI); wsn.subscribe(epr, new TopicFilter(MuwsConstants.ADV_ME_CREATION_TOPIC), null, null); wsn.subscribe(epr, new TopicFilter(MuwsConstants.ADV_ME_DESTRUCTION_TOPIC), null, null); } } }