Description WSDL2PHP tool will generate you the client or service PHP code for your WSDL.    
       
Your WSDL      
 
 
 
 
 
 
   
       
 
<br />
<b>Warning</b>:  DOMDocument::load(http://labs.wso2.org/wsf/php/example.xml) [<a href='function.DOMDocument-load'>function.DOMDocument-load</a>]: failed to open stream: HTTP request failed! HTTP/1.1 502 Proxy Error
 in <b>/mnt/var/wsfphpscripts/wsdl2php/wsf_class_writer.php</b> on line <b>320</b><br />
<br />
<b>Warning</b>:  DOMDocument::load() [<a href='function.DOMDocument-load'>function.DOMDocument-load</a>]: I/O warning : failed to load external entity &quot;http://labs.wso2.org/wsf/php/example.xml&quot; in <b>/mnt/var/wsfphpscripts/wsdl2php/wsf_class_writer.php</b> on line <b>320</b><br />
WSDL could not be loaded.<?php
 
try {
 
    // create client in WSDL mode
    $client = new WSClient(array ("wsdl" =>"http://labs.wso2.org/wsf/php/example.xml",
                            ));
 
    // get proxy object reference form client 
    $proxy = $client->getProxy();
 
    // create input object and set values
} catch (Exception $e) {
    // in case of an error, process the fault
    if ($e instanceof WSFault) {
        printf("Soap Fault: %s\n", $e->Reason);
    } else {
        printf("Message = %s\n", $e->getMessage());
    }
}
?>
 
   
       
Rating
(4)
   

Comments

Date Author Comment
Dec 31 1969 04:00:00 PM