<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2013 14:39:27 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Creating Web Services with PHP and SOAP, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/17597</guid>
      <link>http://www.phpdeveloper.org/news/17597</link>
      <description><![CDATA[<p>
On PHPMaster.com today they've <a href="http://phpmaster.com/web-services-with-php-and-soap-2/">posted the second part</a> of their series looking at creating a SOAP web service with NuSOAP. (Part one is <a href="http://phpdeveloper.org/news/17565">here</a>)
</p>
<blockquote>
In this article we'll talk about what WSDL files are and how to use them. I'll show you how to quickly build your WSDL files with NuSOAP and incorporate a WSDL file into the SOAP server and client examples from the first part.
</blockquote>
<p>
He introduces WSDL files, the specially formatted XML definitions that tell SOAP clients what's available on the service and includes some markup as examples. Creating one from scratch ca be a hassle, so it's handy that NuSOAP generates one for you from your server class. He includes sample code to create this generated file and how to create a SOAP client pointed to the PHP script to get the result.
</p>]]></description>
      <pubDate>Tue, 28 Feb 2012 10:11:25 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Creating Web Services with PHP and SOAP, Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/17565</guid>
      <link>http://www.phpdeveloper.org/news/17565</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new tutorial posted, the first part in a series, showing how to <a href="http://phpmaster.com/web-services-with-php-and-soap-1/">create SOAP web services</a> with the help of the <a href="http://sourceforge.net/projects/nusoap/">NuSOAP</a> library.
</p>
<blockquote>
In this first of a two part series on web services I'll talk about the SOAP specification and what is involved in creating SOAP messages. I'll also demonstrate how to create a SOAP server and client using the excellent NuSOAP library to illustrate the flow of SOAP. In the second part I'll talk about the importance of WSDL files, how you can easily generate them with NuSOAP as well, and how a client may use a WSDL file to better understand your web service.
</blockquote>
<p>
He introduces you to the concepts behind SOAP, the normal structure of a SOAP-formatted XML message and what an example might look like for fetching a stock price from a remote service. He then shows how to use <a href="http://sourceforge.net/projects/nusoap/">NuSOAP</a> to create both a simple server and client to pull information about books - sample code and <a href="http://cdn.phpmaster.com/files/2012/02/soap-1-01.jpg">a screenshot</a> of the output is included.
</p>]]></description>
      <pubDate>Tue, 21 Feb 2012 09:52:20 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[David Dudok de Wit's Blog: Creating SharePoint list items with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14121</guid>
      <link>http://www.phpdeveloper.org/news/14121</link>
      <description><![CDATA[<p>
In a new post to his blog <i>David Dudok de Wit</i> has a mini-tutorial on how to get you your PHP script <a href="http://davidsit.wordpress.com/2010/03/03/creating-sharepoint-list-items-with-php/">connected with SharePoint</a> to add new items to a list (based on an <a href="http://davidsit.wordpress.com/2010/02/23/reading-a-sharepoint-list-with-php">earlier post of his</a>).
</p>
<blockquote>
If you read my previous post (<a href="http://davidsit.wordpress.com/2010/02/23/reading-a-sharepoint-list-with-php">Reading a SharePoint list with PHP</a>) you'll notice that the code is very similar. In fact, only the CAML query (which is contained in the SOAP request) and the Lists method has changed. Once again, I recommend following this simple guideline when coding a SharePoint application from PHP or Java.
</blockquote>
<p>
He lists <a href="http://msdn.microsoft.com/en-us/library/dd926627.aspx">two</a> <a href="http://msdn.microsoft.com/en-us/library/lists.lists.updatelistitems.aspx">resources</a> that can help you get started on formatting the queries and some code that, using <a href="http://sourceforge.net/projects/nusoap/">NuSOAP</a> (yes, use can use <a href="http://php.net/soap">PHP's SOAP extension</a> too), connects to the remote SharePoint server and pushes across a SOAP message (XML) to update the given list's items.
</p>]]></description>
      <pubDate>Wed, 03 Mar 2010 10:33:10 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com.au: Powerful Web Services with PHP and SOAP]]></title>
      <guid>http://www.phpdeveloper.org/news/10075</guid>
      <link>http://www.phpdeveloper.org/news/10075</link>
      <description><![CDATA[<p>
In <a href="http://www.builderau.com.au/program/php/soa/Powerful-Web-Services-with-PHP-and-SOAP/0,339028448,339288552,00.htm?feed=rss">a new article</a> from PHPBuilder.com.au today, they talk about the "powerhouse of web services", SOAP, and how to get started working with it in PHP.
</p>
<blockquote>
You've tried your hand at building mashups, experimented with a few RESTful Web services, maybe even started your own. Sure, you've got data sharing working. But how do you make your Web applications really talk to each other? In this tutorial, I'll show you how to take your Web applications to the next level with SOAP.
</blockquote>
<p>
They opt to go with the <a href="http://sourceforge.net/projects/nusoap">NuSOAP method</a> to consume another service and create your own simple one. They include a few code examples for either side and a (very) brief look at doing some debugging with what NuSOAP has to offer. One thing to note - if you have PHP5's SOAP extension compiled in and working, NuSOAP will throw an error about redeclaring a class name. This is because of a conflict between the naming of the SOAP extension's methods and NuSOAP.
</p>]]></description>
      <pubDate>Wed, 30 Apr 2008 08:43:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Web Services Implementation using PHP and SOAP]]></title>
      <guid>http://www.phpdeveloper.org/news/8913</guid>
      <link>http://www.phpdeveloper.org/news/8913</link>
      <description><![CDATA[<p>
There's a new article from PHPBuilder.com today that focuses on one of the "glue" that helps bind the web together (and is binding it more and more each day) - <a href="http://www.phpbuilder.com/columns/rajeev_rakesh_20071024.php3">web services</a>, specifically with PHP and SOAP.
</p>
<blockquote>
Web Services is a system which enables and supports interoperability. It enables applications written in different languages, located in different places, running on different operating systems, to talk to each other, exchange information and perform different operations. The building blocks of Web Services are a set of XML based standards namely SOAP (Simple Object Access Protocol), WSDL (Web Services Description Language) and UDDI (Universal Description, Discovery, and Integration).
</blockquote>
<p>
They <a href="http://www.phpbuilder.com/columns/rajeev_rakesh_20071024.php3">opted to go</a> the <a href="http://www.nusphere.com/">NuSOAP</a> route (the popular PHP4-ish way to do SOAP) but the same general ideas apply with with <a href="http://www.php.net/soap">PHP5 implementation</a> of the SOAP protocol.
</p>
<p>
They introduce web service a bit, explaining the different parts of the typical service setup then move into NuSOAP and examples of its use. Their code example sends a string ("Hello World") to the remote service that takes it in and validates it on if it's actually a string or not. If it is, all is returned well - otherwise, it returns an error.
</p>]]></description>
      <pubDate>Fri, 26 Oct 2007 10:27:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Developing SOAP Clients using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8454</guid>
      <link>http://www.phpdeveloper.org/news/8454</link>
      <description><![CDATA[<p>
DevShed has a <a href="http://www.devshed.com/c/a/PHP/Developing-SOAP-Clients-using-PHP/">new article</a> posted today - a tutorial walking you through a sort of brief history of SOAP support in PHP and some working examples of each - NuSOAP, PEAR::SOAP and PHP's SOAP extension.
</p>
<blockquote>
SOAP (Simple Object Access Protocol) provides a flexible communication layer between applications, regardless of platform and location. As long as both the server and the client speak SOAP, they can communicate. A PHP-based web application can ask a Java database application to get some information. In this article we will try to focus on different methods of developing SOAP web service clients in PHP.
</blockquote>
<p>
They start with a look at <a href="http://www.devshed.com/c/a/PHP/Developing-SOAP-Clients-using-PHP/1/">NuSOAP</a> and the creation of both a client and server (as well as an example on how to use some of its debugging. Next up is <a href="http://www.devshed.com/c/a/PHP/Developing-SOAP-Clients-using-PHP/2/">PEAR::SOAP</a>, a powerful package that simplifies much of the same functionality NuSOAP has to offer. Finally, they get to the most recent SOAP functionality for PHP, the <a href="http://www.devshed.com/c/a/PHP/Developing-SOAP-Clients-using-PHP/3/">PHP SOAP extension</a> that comes loaded with PHP5 installations by default. This includes a brief overview of its API and code examples that, in a few lines, do what takes the others twice as much.
</p>
]]></description>
      <pubDate>Wed, 15 Aug 2007 07:56:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevBuilder: Building XML Web Services with PHP NuSOAP]]></title>
      <guid>http://www.phpdeveloper.org/news/5471</guid>
      <link>http://www.phpdeveloper.org/news/5471</link>
      <description><![CDATA[<p>
Normal internet applications are great for letting users talk to servers (or other users for that matter), but not so good when one of your scripts wants to ask a remote site for some data. Enter web services - a handy interface to remote data stores that can be queried to narrow down to just what you need. PHP has several ways to go about using (and creating) these, but one of the most popular, moreso for PHP4 users, is <a href="http://dietrich.ganx4.com/nusoap/index.php">NuSOAP</a>. Using it can be a little tricky, though, so thankfully there's <a href="http://www.devbuilder.org/article/12">tutorials like this</a> on DevBuilder to get you started.
</p>
<quote>
<i>
In this article we will first try to define Web Services, their advantages and very basic architecture. Then we will walk through two examples, showing how to create Web Services with the PHP NuSoap toolkit and how to invoke that service, which was developed in Visual Basic 6.0. In the second example we show how to use Web Services with PHP. These examples demonstrate interoperability of Web Services (platform, operating systems and language independent).
</i>
</quote>
<p>
They provide a <a href="http://www.devbuilder.org/article/12">great overview</a> of what web services are/how they're used/benefits before even getting into the technical side of things. From there, it's all examples and screenshots of their example to grab information from a remote service - GeoCash from serviceobjects.net.
</p>]]></description>
      <pubDate>Tue, 30 May 2006 06:19:23 -0500</pubDate>
    </item>
  </channel>
</rss>
