<?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>Thu, 24 May 2012 20:13:45 -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[Matthew Turland's Blog: Splitting PHP Class Files]]></title>
      <guid>http://www.phpdeveloper.org/news/13903</guid>
      <link>http://www.phpdeveloper.org/news/13903</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i>, in trying to solve a problem from work, needed a way to split out some code into two files to simplify and make it easier to use them individually.
</p>
<blockquote>
The issue I ran into was due to all the generated PHP classes being housed in a single file. I had to process two WSDL files that had several identical user-defined types in common. As a result, I couldn't simply include the two PHP files generated from them because PHP doesn't allow you to define two classes with the same name.
</blockquote>
<p>
He used the <a href="http://php.net/tokenizer">tokenizer</a> extension to create a simple command-line script that did the splitting for him. This script could potentially be used for splitting out other kinds of files too - "unpacking" them from their combined state. You can <a href="http://github.com/elazar/php-class-splitter/blob/master/php-class-splitter.php">download the latest version</a> from <i>Matthew</i>'s github account.
</p>]]></description>
      <pubDate>Mon, 25 Jan 2010 13:23:56 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: A Look Into Web Services]]></title>
      <guid>http://www.phpdeveloper.org/news/13365</guid>
      <link>http://www.phpdeveloper.org/news/13365</link>
      <description><![CDATA[<p>
New from PHPBuilder.com today there's an article from <i>Curtis Dicken</i> <a href="http://www.phpbuilder.com/columns/curtis_dicken10082009.php3">introducing web services</a>, specifically SOAP-based ones, in PHP applications.
</p>
<blockquote>
Today, whether you realize it or not, websites all around the world use web services to distribute and receive data. In this article we will take a look at what web services are and the basic concepts on how they are implemented and used. 
</blockquote>
<p>
He starts with the basics - XML and how messages are structured, then on to the SOAP format and an example of a simple message sending domain name information to the remote server. He briefly covers WSDL files (the description for the web service's functionality) and UDDI (Universal Description, Discovery and Integration), a structure to provide a directory of SOAP services for developers to choose from.
</p>]]></description>
      <pubDate>Fri, 09 Oct 2009 11:47:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Bogdan Albei's Blog: Quickstart web services with SOAP and Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/12554</guid>
      <link>http://www.phpdeveloper.org/news/12554</link>
      <description><![CDATA[<p>
In <a href="http://bogdan-albei.blogspot.com/2009/05/quickstart-web-services-with-soap-and.html">this recent post</a> to his blog <i>Bogdan Albei</i> looks at using the Zend Framework to "quickstart" the development of a simple web service.
</p>
<blockquote>
Web services are software systems designed to support interoperable machine-to-machine interaction over a network. Nowadays if you want to connect external systems, you probably want or have to use web services. What I will discuss here is how to get your own SOAP web service up in minutes.
</blockquote>
<p>
<i>Bogdan</i> looks at creating a simple controller with actions for displaying a WSDL file and for handling actions that might come in. Sample code is provided as well as <a href="http://www.box.net/shared/jy8daftmp9">example code</a>.
</p>]]></description>
      <pubDate>Sat, 23 May 2009 21:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Danne Lundqvist's Blog: SOAP structures in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11339</guid>
      <link>http://www.phpdeveloper.org/news/11339</link>
      <description><![CDATA[<p>
<i>Danne Lundqvist</i> is <a href="http://www.dotvoid.com/2008/10/soap-structures-in-php/">frustrated with the SOAP functionality</a> that comes native with PHP on one very specific subject - its handling of SOAP structures.
</p>
<blockquote>
Handling SOAP structures in PHP can sometimes be really annoying. If an interface is defined in the WSDL as returning an array I can't be sure that I will get an array. If there is only one element in the array PHP tries to be clever and turn the wanted array into an object which, too me, isn't really smart. I don't know if this is a problem/limitation on the client side, server side or if it is just me doing something stupid in the wsdl.
</blockquote>
<p>
He gives an example of the WSDL that was requested and the differing results from a call that returned one Map item verses several (how the objects were returned). In asking for help, it looks like he got some in the comments - an attribute called SOAP_SINGLE_ELEMENT_ARRAYS that can be added to the configuration array when creating the SoapClient object.
</p>]]></description>
      <pubDate>Tue, 04 Nov 2008 09:33:14 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Web Services Blog: What is Missing in PHP SOAP Extension?]]></title>
      <guid>http://www.phpdeveloper.org/news/9487</guid>
      <link>http://www.phpdeveloper.org/news/9487</link>
      <description><![CDATA[<p>
On the PHP Web Services blog today, <i>Sami</i> <a href="http://phpwebservices.blogspot.com/2008/01/what-is-missing-in-php-soap-extension.html">asks</a> "what's missing from PHP's SOAP extension" that needs to be added or corrected.
</p>
<blockquote>
PHP SOAP extension is good to get started, to play around with. However, it falls much short in meeting the enterprise demands in the SOA era.
</blockquote>
<p>
He <a href="http://phpwebservices.blogspot.com/2008/01/what-is-missing-in-php-soap-extension.html">talks about</a> things missing (like binary file features and lots of security features). He also notes something that most PHP developers love about the extension - the WSDL parsing that makes it so easy to simply call a remote service without having to go through the pain of hacking through it yourself.
</p>]]></description>
      <pubDate>Thu, 24 Jan 2008 11:22:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tony Bibbs' Blog: PHP5 SOAP Still Has Ways to Go]]></title>
      <guid>http://www.phpdeveloper.org/news/7941</guid>
      <link>http://www.phpdeveloper.org/news/7941</link>
      <description><![CDATA[<p>
<i>Tony Bibbs</i> <a href="http://www.tonybibbs.com/article.php/PHP5SOAPHasWaysToGo">takes a look</a> at an increasingly popular bit of functionality in PHP5, the SOAP extension, and notes that it still has a "ways to go".
</p>
<blockquote>
In my latest round of web services work in PHP5 I was creating a PHP5 client that interacts with our Java-based ERP. The client needs to be a combination of a couple of WSDL's into one, nice, compact and powerful client. It should be noted this client will be distributed via the State of Iowa PEAR channel so it will undoubted by used by other project in our organization and throughout state government so the result needs to have a lot more fit-and-finish than would be typical.
</blockquote>
<p>
He <a href="http://www.tonybibbs.com/article.php/PHP5SOAPHasWaysToGo">mentions his expectations</a> for PHP's usage of the protocol, including the automatic generation of variables/methods/etc to help the developer use the remote application easier.
</p>]]></description>
      <pubDate>Thu, 31 May 2007 08:44:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[WS02 Oxygen Tank: PHP SOAP Extension]]></title>
      <guid>http://www.phpdeveloper.org/news/7595</guid>
      <link>http://www.phpdeveloper.org/news/7595</link>
      <description><![CDATA[<p>
From the WS02 Oxygen Tank website, there's <a href="http://www.wso2.org/library/1060">a new tutorial</a> focused on the use of the PHP SOAP extension in an application:
</p>
<blockquote>
This article by Samisa Abeysinghe explains the SOAP extension that can be useful in providing and consuming Web services using PHP. He details the classes of extension, two implementation models of Web services, and also lists a 'Hello World with SOAP Extension'.
</blockquote>
<p>
True to the summary, they <a href="http://www.wso2.org/library/1060">start with</a> an introduction to what SOAP is an how the communication with it is performed (via a handy graphic). They move from there on to the different parts of the SOAP connection in PHP - SoapServer, SoapFault, SoapHeader, SoapParams, and the SoapVal classes. 
</p>
<p>
They explain what WSDL is and how to can help and move quickly into their "Hello World" example - a simple SOAP server that returns, what else, "Hello world" to the calling script (providing both the client and server sides of the equation). They include the raw response so you can get an idea of what kind of message is being passed back and forth.
</p>]]></description>
      <pubDate>Tue, 10 Apr 2007 13:18:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Netmag.co.uk: Make your own Soap]]></title>
      <guid>http://www.phpdeveloper.org/news/7060</guid>
      <link>http://www.phpdeveloper.org/news/7060</link>
      <description><![CDATA[<p>
From Netmag.co.uk comes <a href="http://www.netmag.co.uk/zine/develop/make-your-own-soap">a new tutorial</a> looking at working with SOAP messages and responses with PHP:
</p>
<blockquote>
This issue, we're going to look at my favourite member of the .net trinity: 'Develop'. When working with Google, we had to use Soap and WSDL, two of the simplest methods of defining a strict API for others to build on. We already used the excellent SoapClient class, but there's an equally excellent SoapServer class that also works with WSDL, and we can combine them to share our content with the world, all thanks to PHP.
</blockquote>
<p>
They <a href="http://www.netmag.co.uk/zine/develop/make-your-own-soap">start with</a> a look at a sample WSDL document, briefly explaining what the parts are. Following that there's the simple PHP code allows the built-in PHP SOAP functionality (in PHP5) to create a SOAP server that will output/use that WSDL file when clients connect and a simple client that uses the file to define what it can do.
</p>]]></description>
      <pubDate>Tue, 09 Jan 2007 09:12:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Davey Shafik's Blog: Sneak Peek: Zend_Service_Server - name and framework subject to change]]></title>
      <guid>http://www.phpdeveloper.org/news/5916</guid>
      <link>http://www.phpdeveloper.org/news/5916</link>
      <description><![CDATA[<p>
<i>Davey Shafik</i> has posted a <a href="http://pixelated-dreams.com/archives/235-Sneak-Peek-Zend_Service_Server-name-and-framework-subject-to-change.html">bit of a sneak peak</a> at the code for the Zend_Service_Server he's been working up for one of the frameworks - maybe the <a href="http://framework.zend.com">Zend</a>'s.
</p>
<blockquote>
OK, so I spent this weekend in a coding frenzy, the outcome of this, can be summed up with the [following] small snippet of code. This is just the typical public facing API, of course there is much more to this. I'm waiting to hear some feedback from specific people before I either contribute it to the Zend Framework or release it elsewhere.
</blockquote>
<p>
The <a href="http://pixelated-dreams.com/archives/235-Sneak-Peek-Zend_Service_Server-name-and-framework-subject-to-change.html">basic idea</a> seems to be a more automated system to handle web services, including REST, SOAP, and XML-RPC handling.
</p>]]></description>
      <pubDate>Mon, 31 Jul 2006 17:59:10 -0500</pubDate>
    </item>
  </channel>
</rss>

