User 2dfc6cbd47
05-12-2012 10:09:42
Hi
I try to get formula from smiles code in php page , and my code is like this
<php
$serverChemaxon ='http://192.168.0.2:8180';
$soap = new SoapClient($serverChemaxon.'/axis2/services/ChemicalTerms?wsdl', array('trace' => 1));
$simles="C1CC2"
$soapReturnData = $soap->evaluate(array('target' => $simles, 'expression' => "formula"));
echo $soapReturnData->return;
?>
Is it the correct way to get formula from smiles , if else can you give me an example
tks