/* (non-Javadoc)
* @see java.net.URLConnection#getOutputStream()
*/
public OutputStream getOutputStream() throws IOException {
if (parentConfiguration || Activator.getDefault() == null || Activator.getDefault().getConfigurationLocation().isReadOnly())
throw new UnknownServiceException(NLS.bind(CommonMessages.url_noOutput, url));
//This is not optimal but connection is a private instance variable in the super-class.
URL resolved = getResolvedURL();
if (resolved != null) {
String fileString = resolved.getFile();
if (fileString != null) {