how to pass arguments to outputFormat in MolConvertWS?

User 74d30c678b

31-08-2009 13:09:18

How do I add the export options to outputFormat? Using PHP, I expected this would work:


$return = $soap->convert(array('targetStructure' => $smilestring, 'outputFormat' => 'png:w100,h100,H_off')); 

I get SOAP errors (cannot export) when trying this (5.2.4 Webservices installed).

Any help is appreciated.
Thanks and best regards,
Daniel


 

User c1ce6b3d19

01-09-2009 09:59:40

Daniel,


Currently, the MolConvertWS does not recognize the colon (':') additional formatting in output format as needing base64 encoding.  It tries to return the image in a basic string and will likely fail during transport.


This will be fixed in the 5.2.5 release. 


 


Jonathan Lee