<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/wordpress-mu-1.0" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: SOAP in/out variables bring memories of C-style buffers</title>
	<link>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/</link>
	<description></description>
	<pubDate>Wed, 25 Nov 2009 03:00:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=wordpress-mu-1.0</generator>

	<item>
		<title>by: Mandar</title>
		<link>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-416</link>
		<pubDate>Mon, 22 Jan 2007 16:57:46 +0000</pubDate>
		<guid>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-416</guid>
					<description>I have done SOAP, home grown XML-RPC and WS etc. for a while now and I totally agree that there is probably no need to use the in/out param types with newer languages.  

However, I see a reason why they are in there, The whole approach in WFC is that you have this interface contract which has to work irrespective of the transport/protocol used for the RPC which suggests that for completeness they may have had to add the support for in/out params as it is a valid method definition construct and one that is extensively used in COM.  Up until now SOAP or rather all XML based RPC dictated how you could define the methods or rather classes without a proper interface definition, albeit, this changed in WFC which allows interfaces.  One of my peeve pain points is not being able to use the data currency types already defined within a business layer model that go in as params to the WebService.  Workarounds available include replacing the using/or imports of the relevant namespaces for the data type of params but these require additional work.  Ideally I'd rather see support for reuse of existing classes or option to do so as needed.  I have found SOAP-WS more useful for inter-application RPC mechanism in a distruibuted application development rather than an application developed using a 3rd party WS through UDDI for which generated data types seem appropriate.</description>
		<content:encoded><![CDATA[<p>I have done SOAP, home grown XML-RPC and WS etc. for a while now and I totally agree that there is probably no need to use the in/out param types with newer languages.  </p>
<p>However, I see a reason why they are in there, The whole approach in WFC is that you have this interface contract which has to work irrespective of the transport/protocol used for the RPC which suggests that for completeness they may have had to add the support for in/out params as it is a valid method definition construct and one that is extensively used in COM.  Up until now SOAP or rather all XML based RPC dictated how you could define the methods or rather classes without a proper interface definition, albeit, this changed in WFC which allows interfaces.  One of my peeve pain points is not being able to use the data currency types already defined within a business layer model that go in as params to the WebService.  Workarounds available include replacing the using/or imports of the relevant namespaces for the data type of params but these require additional work.  Ideally I&#8217;d rather see support for reuse of existing classes or option to do so as needed.  I have found SOAP-WS more useful for inter-application RPC mechanism in a distruibuted application development rather than an application developed using a 3rd party WS through UDDI for which generated data types seem appropriate.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Sean Walker</title>
		<link>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-415</link>
		<pubDate>Mon, 22 Jan 2007 16:47:59 +0000</pubDate>
		<guid>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-415</guid>
					<description>I'm not sure what you mean about Java not using in/out type parameters. Its pretty common for a calling method to pass in an object whose state is used and modified by a called method. Perhaps what you mean is that JAX-WS has not addressed in/out parameters to make them viable?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure what you mean about Java not using in/out type parameters. Its pretty common for a calling method to pass in an object whose state is used and modified by a called method. Perhaps what you mean is that JAX-WS has not addressed in/out parameters to make them viable?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Björn Caroll</title>
		<link>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-414</link>
		<pubDate>Mon, 22 Jan 2007 16:18:35 +0000</pubDate>
		<guid>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-414</guid>
					<description>I have been writing in python and I miss the possibility to return tuples in Java (as you can do in pyhton).
That is "(x,y) = f()"
Of course you can define your own "return of f class" but the smoothness of simply define which variables the return value should be mapped to is a lot easier.
Perhaps the Java team can be convinced to add this "syntactic suger" into Java. Any one else that would like that?</description>
		<content:encoded><![CDATA[<p>I have been writing in python and I miss the possibility to return tuples in Java (as you can do in pyhton).<br />
That is &#8220;(x,y) = f()&#8221;<br />
Of course you can define your own &#8220;return of f class&#8221; but the smoothness of simply define which variables the return value should be mapped to is a lot easier.<br />
Perhaps the Java team can be convinced to add this &#8220;syntactic suger&#8221; into Java. Any one else that would like that?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jeff</title>
		<link>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-413</link>
		<pubDate>Mon, 22 Jan 2007 15:17:45 +0000</pubDate>
		<guid>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-413</guid>
					<description>Per,
Haven't you tried Axis2(http://ws.apache.org/axis2) or WSO2 WSAS(http://www.wso2.org)? They are much better compared to Axis, and contain better functionality.

--Jeff</description>
		<content:encoded><![CDATA[<p>Per,<br />
Haven&#8217;t you tried Axis2(http://ws.apache.org/axis2) or WSO2 WSAS(http://www.wso2.org)? They are much better compared to Axis, and contain better functionality.</p>
<p>&#8211;Jeff
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Gael vander Schelden</title>
		<link>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-412</link>
		<pubDate>Mon, 22 Jan 2007 15:15:59 +0000</pubDate>
		<guid>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-412</guid>
					<description>I have implemented a SOAP service long time ago in Delphi using msxml and http. And what i did use is to use some technique to pass result of one action as parameters to other following action in the same request. So I could create 2 objects and link them in the same request. That was very powerfull but I m not sure you are talking about this.</description>
		<content:encoded><![CDATA[<p>I have implemented a SOAP service long time ago in Delphi using msxml and http. And what i did use is to use some technique to pass result of one action as parameters to other following action in the same request. So I could create 2 objects and link them in the same request. That was very powerfull but I m not sure you are talking about this.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Per</title>
		<link>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-411</link>
		<pubDate>Tue, 16 Jan 2007 22:50:15 +0000</pubDate>
		<guid>http://tssblog.blogs.techtarget.com/2007/01/11/soap-inout-variables-bring-memories-of-c-style-buffers/#comment-411</guid>
					<description>When I deal with SOAP/XML and WS stuff i always use Axis or Castor. So I don't have to deal with the SOAP stuff, after setting it up. And it usually works great.</description>
		<content:encoded><![CDATA[<p>When I deal with SOAP/XML and WS stuff i always use Axis or Castor. So I don&#8217;t have to deal with the SOAP stuff, after setting it up. And it usually works great.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
