ObjectOutputStream dout = new ObjectOutputStream(bout);
dout.writeObject(dv);
dout.flush();
InputStream inp = new ByteArrayInputStream(bout.toByteArray());
//(inp.available() + " PAROT2 " + dv);
StreamPartSource sps = new StreamPartSource ("directValues",inp,inp.available());
Part[] parts = new Part[1];
parts[0] = new FilePart("defaultValues",sps);
/*NameValuePair[] nvp = method.getParameters();
for (int ct = 0;ct < nvp.length;ct++){
//(nvp[ct].getName() + " nvp[ct].getName(), nvp[ct].getValue() " + nvp[ct].getValue());