<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP SOAP vs. SDO</title>
	<atom:link href="http://www.trachtenberg.com/blog/2006/10/12/php-soap-vs-sdo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trachtenberg.com/blog/2006/10/12/php-soap-vs-sdo/</link>
	<description>Thoughts on PHP, eBay, and too many technical topics for my family's liking.</description>
	<lastBuildDate>Thu, 18 Feb 2010 23:21:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Greg Whitescarver</title>
		<link>http://www.trachtenberg.com/blog/2006/10/12/php-soap-vs-sdo/comment-page-1/#comment-23951</link>
		<dc:creator>Greg Whitescarver</dc:creator>
		<pubDate>Tue, 21 Nov 2006 20:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/blog/2006/10/12/php-soap-vs-sdo/#comment-23951</guid>
		<description>SDO is still a baby.  Performance is sure to improve over the next year or so, giving you just enough time to fix your WSDL ;-)   When all is said and done, SDO is a lot more than a PEAR extension... you&#039;re comparing an apple to a fruit stand.  Such an awesome abstraction between the class interface and the message protocol is exactly the kind of technology that is propelling the web forward as a distributed computing (read: &quot;value&quot;) platform.

By the way, thanks for a great presentation at Zend Conference 2006.</description>
		<content:encoded><![CDATA[<p>SDO is still a baby.  Performance is sure to improve over the next year or so, giving you just enough time to fix your WSDL ;-)   When all is said and done, SDO is a lot more than a PEAR extension&#8230; you&#8217;re comparing an apple to a fruit stand.  Such an awesome abstraction between the class interface and the message protocol is exactly the kind of technology that is propelling the web forward as a distributed computing (read: &#8220;value&#8221;) platform.</p>
<p>By the way, thanks for a great presentation at Zend Conference 2006.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Trachtenberg</title>
		<link>http://www.trachtenberg.com/blog/2006/10/12/php-soap-vs-sdo/comment-page-1/#comment-16000</link>
		<dc:creator>Adam Trachtenberg</dc:creator>
		<pubDate>Mon, 16 Oct 2006 21:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/blog/2006/10/12/php-soap-vs-sdo/#comment-16000</guid>
		<description>Hello Graham --

I&#039;m glad my post was useful -- I am still exploring everything you can do with SDO, so I am really just stumbling around for now.

I&#039;m familiar with ext/soap&#039;s classmapping feature -- I&#039;m using it now with the eBay API to create my interface. Can you provide me with a simple PHP 5 code example of how I might be able to hook into this using SDO as part of a Web services client?

I won&#039;t worry for now about double WSDL parsing and performance. That&#039;s something that I&#039;m sure can be worked out, particularly given that ext/soap can store a parsed WSDL file in memory if speed is critical. (That patch came from Yahoo!, so I am sure it is &quot;fast enough&quot; for most people.) I bet SDO could leverage that (or steal some ideas from it) if things came down to it.

Besides, our WSDL is so large that it&#039;s often a good test for regressions and performance. I know a number of other Web services tools companies and applications have found it useful. I think Borland includes it as part of their unit testing for Delphi. 

-adam</description>
		<content:encoded><![CDATA[<p>Hello Graham &#8211;</p>
<p>I&#8217;m glad my post was useful &#8212; I am still exploring everything you can do with SDO, so I am really just stumbling around for now.</p>
<p>I&#8217;m familiar with ext/soap&#8217;s classmapping feature &#8212; I&#8217;m using it now with the eBay API to create my interface. Can you provide me with a simple PHP 5 code example of how I might be able to hook into this using SDO as part of a Web services client?</p>
<p>I won&#8217;t worry for now about double WSDL parsing and performance. That&#8217;s something that I&#8217;m sure can be worked out, particularly given that ext/soap can store a parsed WSDL file in memory if speed is critical. (That patch came from Yahoo!, so I am sure it is &#8220;fast enough&#8221; for most people.) I bet SDO could leverage that (or steal some ideas from it) if things came down to it.</p>
<p>Besides, our WSDL is so large that it&#8217;s often a good test for regressions and performance. I know a number of other Web services tools companies and applications have found it useful. I think Borland includes it as part of their unit testing for Delphi. </p>
<p>-adam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham</title>
		<link>http://www.trachtenberg.com/blog/2006/10/12/php-soap-vs-sdo/comment-page-1/#comment-15968</link>
		<dc:creator>Graham</dc:creator>
		<pubDate>Mon, 16 Oct 2006 14:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.trachtenberg.com/blog/2006/10/12/php-soap-vs-sdo/#comment-15968</guid>
		<description>Hi Adam,

I&#039;m really glad you found the time to take a look at SDO and give it a try with the eBay API.  Your feedback is very helpful and gives us a few areas to focus on.  Some specific comments below:

&gt;&gt; However, it will not directly consume a SOAP message because 
&gt;&gt; the WSDL doesnâ€™t include any mention of the SOAP envelope wrapper. 

In PHP 5.2 ext/soap has been extended to support a typemap capability.  This can be used to register serialization/deserialization functions for each complex type on the Web service interface.  We use this in our Service Component Architecture (see http://osoa.org/display/PHP/SCA+with+PHP) implementation to enable SDOs to be used for complex types on Web service calls.  The typemap functions get called by ext/soap to convert between the xml for a complex type and an object (in our case an SDO).

The big downside to this approach is that currently the WSDL will be loaded twice! - once by ext/soap and once by SDO.  This doesn&#039;t bode well for large WSDLs, based on your later comments around performance.

&gt;&gt; Oddly, this corresponds perfectly with our â€œXML API,â€ so I could use
&gt;&gt;  that to retrieve properly formatted data that I can pass directly to
&gt;&gt; SDO. 

This sounds like something we&#039;d like to give a try :-)

&gt;&gt; When I feed that to SDO, it takes 8.5 seconds to process the XML
&gt;&gt; Schema data. Yikes! 

Yikes indeed!  Thanks for pointing this out.  Performance is not something we&#039;ve had any feedback on previously, so the eBay scenario will help us a lot here.

Cheers, Graham.</description>
		<content:encoded><![CDATA[<p>Hi Adam,</p>
<p>I&#8217;m really glad you found the time to take a look at SDO and give it a try with the eBay API.  Your feedback is very helpful and gives us a few areas to focus on.  Some specific comments below:</p>
<p>&gt;&gt; However, it will not directly consume a SOAP message because<br />
&gt;&gt; the WSDL doesnâ€™t include any mention of the SOAP envelope wrapper. </p>
<p>In PHP 5.2 ext/soap has been extended to support a typemap capability.  This can be used to register serialization/deserialization functions for each complex type on the Web service interface.  We use this in our Service Component Architecture (see <a href="http://osoa.org/display/PHP/SCA+with+PHP)" rel="nofollow">http://osoa.org/display/PHP/SCA+with+PHP)</a> implementation to enable SDOs to be used for complex types on Web service calls.  The typemap functions get called by ext/soap to convert between the xml for a complex type and an object (in our case an SDO).</p>
<p>The big downside to this approach is that currently the WSDL will be loaded twice! &#8211; once by ext/soap and once by SDO.  This doesn&#8217;t bode well for large WSDLs, based on your later comments around performance.</p>
<p>&gt;&gt; Oddly, this corresponds perfectly with our â€œXML API,â€ so I could use<br />
&gt;&gt;  that to retrieve properly formatted data that I can pass directly to<br />
&gt;&gt; SDO. </p>
<p>This sounds like something we&#8217;d like to give a try :-)</p>
<p>&gt;&gt; When I feed that to SDO, it takes 8.5 seconds to process the XML<br />
&gt;&gt; Schema data. Yikes! </p>
<p>Yikes indeed!  Thanks for pointing this out.  Performance is not something we&#8217;ve had any feedback on previously, so the eBay scenario will help us a lot here.</p>
<p>Cheers, Graham.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
