Create a file named "library_client" within www/test/wsdl. Enter following code:
<?php
try{
$sClient = new SoapClient('http://localhost/test/wsdl/library.wsdl');
$response = $sClient->doLibrary();
echo $response;
} catch(SoapFault $e){
var_dump($e);
}
?>
Point your browser to http://localhost/test/wsd/library_client.php. You may get like this:
1|PHP AJAX|Andreas#2|PHP Eclipse |George#3|PHP Prado|Junyian#4|PHP Zend Framework|Ozulian#5|PHP Web Services|Bobi#6|PHP API|Hugo#7|PHP SEO|Monteo#
Oke, everything is okey. Now, we create interface for vb.net.
| Series this article: Web Services .NET Grid: Create WSDL Document Web Services .NET Grid: Preparing Database Web Services .NET Grid: Create SOAP Server Web Services .NET Grid: Testing with SOAP client Web Services .NET Grid: Creating User Interface for VB.NET Web Services .NET Grid: Retrieve Data and Show to Data Grid Tag: web services, .net, wsdl, soap, vb.net, soap client Category: PHP Application Post : April 15th 2008 Read: 1,715 blog comments powered by Disqus |