<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Java and PHP interoperability &#8211; a web services fable</title>
	<atom:link href="http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/</link>
	<description>Inside every large post is a small post struggling to get out.</description>
	<lastBuildDate>Mon, 17 Aug 2009 10:23:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Interoperabilitas antara Jax-WS dan Nusoap Web Services &#171; Rumah Marion Rotinsulu</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-13328</link>
		<dc:creator>Interoperabilitas antara Jax-WS dan Nusoap Web Services &#171; Rumah Marion Rotinsulu</dc:creator>
		<pubDate>Thu, 18 Jun 2009 19:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-13328</guid>
		<description>[...] jax-ws dan php di paman google anda akan di refer ke blog salah seorang pakar web service yaitu Dionysios G. Synodinos. pada tulisan Synodinos dia membuat skenario Nusoap yang bekerja sebagai web service server dan [...]</description>
		<content:encoded><![CDATA[<p>[...] jax-ws dan php di paman google anda akan di refer ke blog salah seorang pakar web service yaitu Dionysios G. Synodinos. pada tulisan Synodinos dia membuat skenario Nusoap yang bekerja sebagai web service server dan [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-13108</link>
		<dc:creator>Francesco</dc:creator>
		<pubDate>Wed, 03 Jun 2009 09:50:57 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-13108</guid>
		<description>@Dionysios

Thanks for your 2 cents :) I&#039;m going to take a look to WS02, thanks for the hint.

Unfortunately, IT IS a real-world problem, since when you try to generate a service which takes as input an array of structures, for example, you obtain a WSDL containing the following type description (or something similar):



 
 
 
  
   
   
  

 
 
  
   
    
   
  
 




and the SAP system, on the other side, cannot generate (automatically) the proxy toward your service. Instead of that, you should obtain a WSDL type description similar to this:



 
 
  
   
   
  
 

 
  
   
  
 



But then you have to &quot;teach&quot; the library to correct deserialize the incoming SOAP request coming from the SAP system. 

For this reason right now I&#039;m modifying the NuSOAP library. Since I thought it could be of some interest to other developers I tried to contact Scott Nicholson, the mantainer, but at now I didn&#039;t receive any reply. It would be helpful to test these modifications with him.

BTW, if he does not reply me, probably I&#039;ll move my architecture over a more updated library.

Thanks for your interest :)</description>
		<content:encoded><![CDATA[<p>@Dionysios</p>
<p>Thanks for your 2 cents <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I&#8217;m going to take a look to WS02, thanks for the hint.</p>
<p>Unfortunately, IT IS a real-world problem, since when you try to generate a service which takes as input an array of structures, for example, you obtain a WSDL containing the following type description (or something similar):</p>
<p>and the SAP system, on the other side, cannot generate (automatically) the proxy toward your service. Instead of that, you should obtain a WSDL type description similar to this:</p>
<p>But then you have to &#8220;teach&#8221; the library to correct deserialize the incoming SOAP request coming from the SAP system. </p>
<p>For this reason right now I&#8217;m modifying the NuSOAP library. Since I thought it could be of some interest to other developers I tried to contact Scott Nicholson, the mantainer, but at now I didn&#8217;t receive any reply. It would be helpful to test these modifications with him.</p>
<p>BTW, if he does not reply me, probably I&#8217;ll move my architecture over a more updated library.</p>
<p>Thanks for your interest <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dionysios Synodinos</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-12985</link>
		<dc:creator>Dionysios Synodinos</dc:creator>
		<pubDate>Tue, 26 May 2009 18:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-12985</guid>
		<description>@Francesco in practice you don&#039;t have to worry with 100% compliance. Most implementations (eg. JAX-WS RI) will not give you any problems for minor issues. Also common erros are usually supressed. If it is possible try a demo NuSOAPSAP WS to see if there is a real-world issue.

Having said that I&#039;m not sure if the NuSOAP project is still maintained. Maybe you should also take a look at WSO2 which seems to be carrying the torch these days.

That&#039;s my 0.02$</description>
		<content:encoded><![CDATA[<p>@Francesco in practice you don&#8217;t have to worry with 100% compliance. Most implementations (eg. JAX-WS RI) will not give you any problems for minor issues. Also common erros are usually supressed. If it is possible try a demo NuSOAPSAP WS to see if there is a real-world issue.</p>
<p>Having said that I&#8217;m not sure if the NuSOAP project is still maintained. Maybe you should also take a look at WSO2 which seems to be carrying the torch these days.</p>
<p>That&#8217;s my 0.02$</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-12984</link>
		<dc:creator>Francesco</dc:creator>
		<pubDate>Tue, 26 May 2009 15:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-12984</guid>
		<description>You mentioned that a few days ago (now, two years ago :)), NuSOAP became compatible with WS-I BP 1.0.

To me it seems that it still misses something: reading the WS-I BP 1.0 specifications:

http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement16556272

you can see that the way NuSOAP produces its WSDL in case you exchange an array (either as input or as output of your service), is exactly the INCORRECT way to codify arrays in WSDL (following WS-I).

As I wrong? Do you have any idea about how to solve this issue? I&#039;m facing traying to produce a webservice that could be consumed by a SAP installation, that only accepts WS-I BP 1.0 services...

Thanks for the attention, and for the fable :)</description>
		<content:encoded><![CDATA[<p>You mentioned that a few days ago (now, two years ago <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ), NuSOAP became compatible with WS-I BP 1.0.</p>
<p>To me it seems that it still misses something: reading the WS-I BP 1.0 specifications:</p>
<p><a href="http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement16556272" rel="nofollow">http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement16556272</a></p>
<p>you can see that the way NuSOAP produces its WSDL in case you exchange an array (either as input or as output of your service), is exactly the INCORRECT way to codify arrays in WSDL (following WS-I).</p>
<p>As I wrong? Do you have any idea about how to solve this issue? I&#8217;m facing traying to produce a webservice that could be consumed by a SAP installation, that only accepts WS-I BP 1.0 services&#8230;</p>
<p>Thanks for the attention, and for the fable <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josir</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-9597</link>
		<dc:creator>Josir</dc:creator>
		<pubDate>Fri, 30 Jan 2009 12:19:21 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-9597</guid>
		<description>Just to add, more than one year after your post, the fable is still valid. I am trying to use SOAP extension and we already have interop problem in simple types like long integer number (XSD_LONG). http://bugs.php.net/bug.php?id=45068. Really sad...</description>
		<content:encoded><![CDATA[<p>Just to add, more than one year after your post, the fable is still valid. I am trying to use SOAP extension and we already have interop problem in simple types like long integer number (XSD_LONG). <a href="http://bugs.php.net/bug.php?id=45068" rel="nofollow">http://bugs.php.net/bug.php?id=45068</a>. Really sad&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olkenava &#187; Java and PHP interoperability - a web services fable</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-2528</link>
		<dc:creator>Olkenava &#187; Java and PHP interoperability - a web services fable</dc:creator>
		<pubDate>Mon, 05 Nov 2007 15:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-2528</guid>
		<description>[...] read more &#124; digg story [...]</description>
		<content:encoded><![CDATA[<p>[...] read more | digg story [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will Fitch</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1359</link>
		<dc:creator>Will Fitch</dc:creator>
		<pubDate>Thu, 16 Aug 2007 12:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1359</guid>
		<description>@Jon

You completely missed the purpose of web services.  It&#039;s a &quot;simple&quot; way to communicate data between interfaces (here languages) through HTTP (eliminating firewall issues, etc.).  An entire application written on a J2EE platform, running an untold number of servlets isn&#039;t (and shouldn&#039;t) jump and buy a Windows box so they can &quot;easily&quot; implement web services with C#.

Here are three reasons companies use Java are: 

 1. It can run on Linux. (don&#039;t scream Mono here, it&#039;s only a good theory).
 2. It&#039;s free.
 4. It&#039;s more popular for web development

When I&#039;m writing a Windows desktop app, C# is my choice almost every time, but I&#039;m specifically targeting Windows&#039; users.</description>
		<content:encoded><![CDATA[<p>@Jon</p>
<p>You completely missed the purpose of web services.  It&#8217;s a &#8220;simple&#8221; way to communicate data between interfaces (here languages) through HTTP (eliminating firewall issues, etc.).  An entire application written on a J2EE platform, running an untold number of servlets isn&#8217;t (and shouldn&#8217;t) jump and buy a Windows box so they can &#8220;easily&#8221; implement web services with C#.</p>
<p>Here are three reasons companies use Java are: </p>
<p> 1. It can run on Linux. (don&#8217;t scream Mono here, it&#8217;s only a good theory).<br />
 2. It&#8217;s free.<br />
 4. It&#8217;s more popular for web development</p>
<p>When I&#8217;m writing a Windows desktop app, C# is my choice almost every time, but I&#8217;m specifically targeting Windows&#8217; users.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rascunho &#187; Blog Archive &#187; links for 2007-08-08</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1259</link>
		<dc:creator>rascunho &#187; Blog Archive &#187; links for 2007-08-08</dc:creator>
		<pubDate>Wed, 08 Aug 2007 20:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1259</guid>
		<description>[...] Java and PHP interoperability - a web services fable « thoughts.iterator() (tags: synodinos.wordpress.com 2007 at_tecp java webservices) [...]</description>
		<content:encoded><![CDATA[<p>[...] Java and PHP interoperability &#8211; a web services fable « thoughts.iterator() (tags: synodinos.wordpress.com 2007 at_tecp java webservices) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dionysios Synodinos</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1170</link>
		<dc:creator>Dionysios Synodinos</dc:creator>
		<pubDate>Fri, 03 Aug 2007 14:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1170</guid>
		<description>@Jon

Since the project was based on infrastructure that was already there (eg. Jetspeed portal) Java was the only solution, but even if I had to design the whole thing from scratch I would still make similar technical decisions. 

The reasons why one would go open source or Java for WS in 2007 should be self-evident :-)</description>
		<content:encoded><![CDATA[<p>@Jon</p>
<p>Since the project was based on infrastructure that was already there (eg. Jetspeed portal) Java was the only solution, but even if I had to design the whole thing from scratch I would still make similar technical decisions. </p>
<p>The reasons why one would go open source or Java for WS in 2007 should be self-evident <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Nichol</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1164</link>
		<dc:creator>Scott Nichol</dc:creator>
		<pubDate>Fri, 03 Aug 2007 04:47:33 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1164</guid>
		<description>Thanks for the detailed recount.

The first SOAP implementation I wrote was based on a SOAP 0.9.something spec.  The spec was about 4 pages.  Its spirit and intention could be easily understood, and it was quite possible for a single person to write code that implemented virtually everything in it.

Life was still pretty good with the 1.0 spec, the first submitted to W3C.  However, as multiple people wrote implementations and tried to get them to work together, it became clear that the spec needed to be enhanced, and those who had worked on RPCs before knew that some sort of interface definition was necessary (which became WSDL).

Unfortunately, at this point SOAP was hijacked by (1) lovers of all things XML and (2) lovers of big-bang distributed computing (namely DCE and DCOM technology).

I was a developer on Apache SOAP, which implemented the SOAP spec, but not even WSDL, let alone the other specs that were already being envisioned by the people who gave birth to the Apache Axis project.  As Microsoft, IBM, Sun, et al. implemented all the specs being generated, those of us who had worked on small SOAP implementations knew we had been outflanked and were fighting a losing battle.  There was no way we could keep up.

I subsequently needed SOAP for a PHP project, discovered NuSOAP, got to know Dietrich through the mailing list, contributed code, and became a developer on the project.  NuSOAP aims about as high as a small part-time team can: implement as much of SOAP 1.1 and WSDL 1.1 as people really seem to need, react to new needs and issues as best as possible, and hope that Microsoft and the rest of them don&#039;t stop supporting these earlier specs.</description>
		<content:encoded><![CDATA[<p>Thanks for the detailed recount.</p>
<p>The first SOAP implementation I wrote was based on a SOAP 0.9.something spec.  The spec was about 4 pages.  Its spirit and intention could be easily understood, and it was quite possible for a single person to write code that implemented virtually everything in it.</p>
<p>Life was still pretty good with the 1.0 spec, the first submitted to W3C.  However, as multiple people wrote implementations and tried to get them to work together, it became clear that the spec needed to be enhanced, and those who had worked on RPCs before knew that some sort of interface definition was necessary (which became WSDL).</p>
<p>Unfortunately, at this point SOAP was hijacked by (1) lovers of all things XML and (2) lovers of big-bang distributed computing (namely DCE and DCOM technology).</p>
<p>I was a developer on Apache SOAP, which implemented the SOAP spec, but not even WSDL, let alone the other specs that were already being envisioned by the people who gave birth to the Apache Axis project.  As Microsoft, IBM, Sun, et al. implemented all the specs being generated, those of us who had worked on small SOAP implementations knew we had been outflanked and were fighting a losing battle.  There was no way we could keep up.</p>
<p>I subsequently needed SOAP for a PHP project, discovered NuSOAP, got to know Dietrich through the mailing list, contributed code, and became a developer on the project.  NuSOAP aims about as high as a small part-time team can: implement as much of SOAP 1.1 and WSDL 1.1 as people really seem to need, react to new needs and issues as best as possible, and hope that Microsoft and the rest of them don&#8217;t stop supporting these earlier specs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1157</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Thu, 02 Aug 2007 23:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1157</guid>
		<description>Web Services are both simple and easy if you use ASP.NET/C#...

Why did you choose Java?</description>
		<content:encoded><![CDATA[<p>Web Services are both simple and easy if you use ASP.NET/C#&#8230;</p>
<p>Why did you choose Java?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dionysios Synodinos</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1156</link>
		<dc:creator>Dionysios Synodinos</dc:creator>
		<pubDate>Thu, 02 Aug 2007 23:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1156</guid>
		<description>Knowing even more details about my project than can be described in a a blog, I have to agree with you that there would be no theoretical reason to go with a heavy-weight solution (XML-RPC could theoretically do fine). There would be though several practical ones like the fact that many of the implementations you mention require a larger up front commitment and risk and also the fact that until the last time I had seen the available PHP implementations, they were more of a POC than production SW. After your comment I will have to revisit these projects and see if they have evolved.</description>
		<content:encoded><![CDATA[<p>Knowing even more details about my project than can be described in a a blog, I have to agree with you that there would be no theoretical reason to go with a heavy-weight solution (XML-RPC could theoretically do fine). There would be though several practical ones like the fact that many of the implementations you mention require a larger up front commitment and risk and also the fact that until the last time I had seen the available PHP implementations, they were more of a POC than production SW. After your comment I will have to revisit these projects and see if they have evolved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gaetano giunta</title>
		<link>http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1155</link>
		<dc:creator>gaetano giunta</dc:creator>
		<pubDate>Thu, 02 Aug 2007 22:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://synodinos.wordpress.com/2007/08/02/web-services-interoperability-fable-with-java-and-php/#comment-1155</guid>
		<description>I&#039;d like to mention step 6 (as other have already done int the aforementioned blog):
Nirvana - find out that using XMLRPC or REST is exactly as simple and effective as the hype that got your attention in the first place</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to mention step 6 (as other have already done int the aforementioned blog):<br />
Nirvana &#8211; find out that using XMLRPC or REST is exactly as simple and effective as the hype that got your attention in the first place</p>
]]></content:encoded>
	</item>
</channel>
</rss>
