Ich würde so gerne diesen Webservice nutzen, der einen Graphen visuall optimal layoutet. Entwprechend der WSDL sieht das ganze auch einfach aus:
http://cmap.ihmc.us/xml/LayoutWebService.html
Du übergibst die Graphdaten, und bekommst Graphdaten inklusive der optimalen X/Y-Koordinaten zurück. Bitte aufpassen: der Webservice verlangt die Graphdaten in einem speziellen XML-Verschnitt (CMAP genannt), ein Mini-Sample findet sich hier:
http://cmap.ihmc.us/xml/PlantsSimple.cxl
OK, könnte mir jemand helfen, den Webservice mal zu testen? Ich krieg es nicht hin, sonder erhalte immer Fehlermeldungen.... wieso??:
*********************************************
<?php
//This is the XML data of the sample graph put in one long string
$myCmap = '... [[[hier also der ganze XML vom Sample das oben genannt wurde]]]' ;
//Here we call the WSDL to use the soap webservice correctly
$client = new SoapClient('http://cmap.ihmc.us/xml/LayoutWebService.wsdl');
//Now we call the function 'layout' of the webservice and hand over the string
$result = $client->layout($myCmap);
//The returned result is displayed
echo $result;
?>
*********************************************