publish(url,buildMessage(null,dom));
}
private static void publish(String url, SOAPMessage soapMsg) throws Exception{
EmitterTask et = EmitterTask.createEmitterTask(soapMsg, new java.net.URL(url));
et.run();
}
/*
* This Method publishes for a special Subscription, cause it has a
* ResourcePropertie in his EPR