phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


Web Services .NET Grid: Testing with SOAP client

Tag: web services, .net, wsdl, soap, vb.net, soap client   Category: PHP Application
post: 15 Apr 2008 read: 502


Web Services PHP - Grid .NET Step By Step Tutorial - Part 4: Before try to access with VB.net, we try with PHP SOAP client. Make sure everything is like we want.

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

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
mod_rewrite - Part 1: create your "fantasy" URL

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


615
posting