Unfortunately, there is no WSDL descriptor for this service so documentation is given by way of an example in PHP:
Code:2>
<?php
// Setup connection to the SOAP Server. $client = new SoapClient(null, array( 'location' => "http://www.ebi.ac.uk/compneur-srv/melting/ws/", 'uri' => "compneur-srv/melting", 'trace' => 1 ));
/* * Define arguments to the application (checkout the documentation for the program) */ $args = array( 'S'=>'TGATGATAGATAG', // Sequence 'C'=>'', // Complementary sequence 'H'=>'dnadna', //Hybridisation type (dnadna, dnarna, rnarna) /* Nearest neighbour parameter set, one of: * all97a.nn, Allawi et al 1997 * bre86a.nn, Breslauer et al 1986 * fre86a.nn, Freier et al 1986 * san96a.nn, SantaLucia et al 1996 * sug95a.nn, Sugimoto et al 1995 * sug96a.nn, Sugimoto et al 1996 * xia98a.nn, Xia et al 1998 * san04a.nn, Santalucia 2004 */ 'A'=>'sug96a.nn', 'N'=>'0.5', // Salt concentration 0 <= N > 10 (you can also add other ions concentrations 'G', 'k', 't' for magnesium, potassium and tris. At less one concentration (N, G, k, or t) is required) 'P'=>'0.01', // Nucleic acid correction factor 0 < P > 0.1 'F'=>'', // Nucleic correction factor /* Salt correction, one of: * san96a.nn, SantaLucia et al 1996 * san98a.nn, SantaLucia et al 1998 * wet91a.nn, Wetmur 1991 */ 'K'=>'wet91a.nn', 'x'=>' ', // Force approximate temperature computation? (use a ' ' or ommit completely) 'D'=>'dnadnade.nn', // Parameters for dangling ends (this value or ommit). 'M'=>'dnadnamm.nn'); // Nearest neighbour parameters for mismatches (this value or ommit) 'i'=>'san05a.nn'); // Nearest neighbour parameters for inosine mismatches (this value or ommit)
$mid = $client->__soapCall("melt",array($args)); // The arguments are as above.
do{
sleep(2); // Wait a few seconds before investigating the status. /* This call takes the id generated by the 'melt' call and a bool which may be ommitted. * It either returns formatted results (including errors) or returns 'RUNNING' * You can request several different formats: * html, plain, csv and png (graph) */ $data = $client->__soapCall("checkMelt", array($mid, 'html')); }while($data == 'RUNNING');
echo $data; ?>
Nicolas Le Novère.
Last modification Wed Aug 8 21:31:59 BST 2007
 |