<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lotushints &#187; Web services</title>
	<atom:link href="http://www.lotushints.com/category/web/web-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lotushints.com</link>
	<description>Lotus Notes tips &#38; tricks you always hoped you will not need</description>
	<lastBuildDate>Wed, 14 Jul 2010 06:00:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Web services and arrays in LotusScript</title>
		<link>http://www.lotushints.com/2010/03/web-services-and-arrays-in-lotusscript/</link>
		<comments>http://www.lotushints.com/2010/03/web-services-and-arrays-in-lotusscript/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 06:00:16 +0000</pubDate>
		<dc:creator>Vladimir Kocjancic</dc:creator>
				<category><![CDATA[Best practices]]></category>
		<category><![CDATA[Web services]]></category>
		<category><![CDATA[LotusScript]]></category>

		<guid isPermaLink="false">http://www.lotushints.com/?p=490</guid>
		<description><![CDATA[Recently, I was working on an agent that used a web service to export data. Now, I don&#8217;t know if you noticed, but for some reason, consuming services is way easier in LotusScript than it is in Java. As far as I know, and I could be wrong, you need to import Axis in Java [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I was working on an agent that used a web service to export data. Now, I don&#8217;t know if you noticed, but for some reason, consuming services is way easier in LotusScript than it is in Java. As far as I know, and I could be wrong, you need to import Axis in Java to do anything with a Web service consumer.</p>
<p><span id="more-490"></span></p>
<p>In LotusScript, consuming web services is plain easy. You just import the WSDL, which can be located either on your file system or directly on the web and you are good to go.</p>
<p>Sounds too good to be true? It is. There are couple of limitations, that will make you swear like a gypsy on a bad day.</p>
<ol>
<li>Variables and function names must not be longer than 46 characters.</li>
<li>There is no way in hell your code will know how to process an array, that was passed as a result.</li>
</ol>
<p>Don&#8217;t get me wrong. This is most certainly not a problem when Web service itself is pretty simple. However, it becomes an annoyance when you start using complex 3rd party Web services.</p>
<p><strong>How to get around those?</strong></p>
<p>For 3rd party services, I guess it depends from case to case. For one web service, we actually had to come up with adapter web service written in C#, that would translate interfaces needed to something that could be used in LotusScript. I guess we could have used Java, but that caused some memory leaks.</p>
<p>If you are doing your own service, just make sure, that you don&#8217;t return any arrays and that your variables are according to the consensus of LotusScript and youa re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lotushints.com/2010/03/web-services-and-arrays-in-lotusscript/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Web Services on ND8 vs ND7</title>
		<link>http://www.lotushints.com/2009/01/web-services-on-nd8-vs-nd7/</link>
		<comments>http://www.lotushints.com/2009/01/web-services-on-nd8-vs-nd7/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 08:00:21 +0000</pubDate>
		<dc:creator>Vladimir Kocjancic</dc:creator>
				<category><![CDATA[Lotus Domino]]></category>
		<category><![CDATA[Lotus Notes]]></category>
		<category><![CDATA[Object-oriented development]]></category>
		<category><![CDATA[Upgrades]]></category>
		<category><![CDATA[Web services]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[LotusScript]]></category>

		<guid isPermaLink="false">http://www.lotushints.com/?p=160</guid>
		<description><![CDATA[One would think, creating and running web services on ND8 should not be incompatible with ND7 process. Wrong. There are a few quite important differences when creating web services on ND8 instead of ND7. You can now create clients. The one we&#8217;ve all been waiting for since ND7 came out. Web services created/built on ND8 [...]]]></description>
			<content:encoded><![CDATA[<p>One would think, creating and running web services on ND8 should not be incompatible with ND7 process. Wrong. There are a few quite important differences when creating web services on ND8 instead of ND7.</p>
<ol>
<li>You can now create clients. The one we&#8217;ve all been waiting for since ND7 came out.</li>
<li>Web services created/built on ND8 don&#8217;t work on ND7 anymore! So, keep in mind that if you are running web services on ND7, you shouldn&#8217;t upgrade your designer to release 8 just yet.</li>
<li>You can now use Java libraries when creating web services in Java. You couldn&#8217;t in ND7.</li>
<li>You can now have port class defined in a script library when creating web services using LotusScript. This was not possible in ND7.</li>
<li>You can now return empty array. if you wanted to do this in ND7, you had to create a class, containing an array and then return object of that class.</li>
<li>More SOAP error handling elements.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.lotushints.com/2009/01/web-services-on-nd8-vs-nd7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
