public ModifyResponse modify(Modify modify) throws DiscoveryException {
  Message req=createRequest();
  req.setSOAPBody(DiscoSDKUtils.parseXML(modify.toString()));
  return new ModifyResponse(getResponse(req));
}

public ModifyResponse modify ( Modify modify ) throws DiscoveryException { Message req = createRequest ( ) ; req . setSOAPBody ( DiscoSDKUtils . parseXML ( modify . toString ( ) ) ) ; return new ModifyResponse ( getResponse ( req ) ) ; }
modifies discovery resource offering .
