<?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>Dimuthu's Blog &#187; Tools</title>
	<atom:link href="http://www.dimuthu.org/tag/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dimuthu.org</link>
	<description>Waiting for your comments</description>
	<lastBuildDate>Wed, 07 Jul 2010 12:42:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<image>
  <link>http://www.dimuthu.org</link>
  <url>http://www.dimuthu.org/favicon.ico</url>
  <title>Dimuthu's Blog</title>
</image>
		<item>
		<title>WSO2 Releases Eclipse IDE Tooling for WSAS and BPS</title>
		<link>http://www.dimuthu.org/blog/2009/08/24/wso2-releases-eclipse-ide-tooling-for-wsas-and-bps/</link>
		<comments>http://www.dimuthu.org/blog/2009/08/24/wso2-releases-eclipse-ide-tooling-for-wsas-and-bps/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 11:33:17 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[SOA]]></category>
		<category><![CDATA[bps]]></category>
		<category><![CDATA[eclipse tools]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[wsas]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1019</guid>
		<description><![CDATA[Saminda Wijerathna the lead of the WSO2 tooling team, announced the release of a new version of IDE tools for WSO2 WSAS and BPS. These tools will help you to write web services or web service clients and test them within your Eclipse IDE. You can download the tools and the related documentation from http://wso2.org/downloads/tools/eclipse. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://samindaw.wordpress.com/">Saminda Wijerathna</a> the lead of the WSO2 tooling team, announced the release of a new version of IDE tools for <a href="http://wso2.org/projects/wsas/java">WSO2 WSAS</a> and <a href="http://wso2.org/projects/bps">BPS</a>. These tools will help you to write web services or web service clients and test them within your Eclipse IDE.</p>
<p>You can download the tools and the related documentation from <a href="http://wso2.org/downloads/tools/eclipse">http://wso2.org/downloads/tools/eclipse</a>.</p>
<p>Here are the key features of the set of IDE tools,</p>
<ul>
<li>Create Web services</li>
<li> Create web service client</li>
<li> Convert WSDL 1.1 to 2.0</li>
<li> Module and service validators</li>
<li> Creating wsdl from a java class</li>
<li> Create Axis2 archives</li>
<li> Hot update a Web service</li>
<li> Debug Web services</li>
<li> Test Web services</li>
<li> Conversion of WSDL 1.1 to 2.0 can now be done vice versa as well.</li>
<li> Creating Bpel archives for deploy</li>
<li> Start WSAS 3.0.x inside Eclipse</li>
<li> Run multiple instances of WSAS inside eclipse</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2009/08/24/wso2-releases-eclipse-ide-tooling-for-wsas-and-bps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online Tools for PHP Web Services Developers</title>
		<link>http://www.dimuthu.org/blog/2008/09/28/online-tools-for-php-web-services-developers/</link>
		<comments>http://www.dimuthu.org/blog/2008/09/28/online-tools-for-php-web-services-developers/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 10:19:02 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[DataServices]]></category>
		<category><![CDATA[WSDL]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wsf/php]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[.dbs]]></category>
		<category><![CDATA[data services]]></category>
		<category><![CDATA[DataService]]></category>
		<category><![CDATA[dbs2php]]></category>
		<category><![CDATA[demo site]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[php2wsdl]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[wsdl2php]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=401</guid>
		<description><![CDATA[PHP Web Services Demo Site contains a set of nice tools that help development of web services in PHP. WSDL2PHP tool &#8211; This allow you to generate PHP code for your WSDL. Note that this need your wsdl to be in a URL that it can access. PHP2WSDL tool &#8211; Here you can paste your [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://labs.wso2.org/wsf/php">PHP Web Services Demo Site</a> contains a set of nice tools that help development of web services in PHP.</p>
<ul>
<li><a href="http://labs.wso2.org/wsf/php/wsdl2phptool.php">WSDL2PHP tool</a> &#8211; This allow you to generate PHP code for your WSDL. Note that this need your wsdl to be in a URL that it can access.</li>
<li><a href="http://labs.wso2.org/wsf/php/php2wsdltool.php">PHP2WSDL tool</a> &#8211; Here you can paste your annotated PHP code and get the WSDL (both version 1.1 and 2.0) generated.  You can find the annotation syntax <a href="http://wso2.org/project/wsf/php/2.0.0/docs/wsdl_generation_api.html">in here</a>.</li>
<li><a href="http://labs.wso2.org/wsf/php/dbs2phptool.php">DBS2PHP tool</a> &#8211; WSO2 has Data Services library implemented in both Java and PHP. In <a href="http://wso2.org/projects/solutions/data-services/java">Java Data Services</a> you give the <a href="http://wso2.org/wiki/display/wsf/Data+Services+and+Resources">configuration via an XML</a> (in .dbs extension). Whereas in PHP you give the configuration via <a href="https://wso2.org/wiki/display/wsfphp/API+for+Data+Services+Revised">a simple PHP code which use arrays</a> to feed the configuration parameters. If you are more familiar in writing XML than PHP, you can first write the XML and then convert it to PHP using DBS2PHP tool.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2008/09/28/online-tools-for-php-web-services-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Hack Axis2 Codegen templates from an Axis2 Binary</title>
		<link>http://www.dimuthu.org/blog/2008/09/13/how-to-hack-axis2-codegen-templates-from-a-axis2-binary/</link>
		<comments>http://www.dimuthu.org/blog/2008/09/13/how-to-hack-axis2-codegen-templates-from-a-axis2-binary/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 14:35:17 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[Tutorial/Guide]]></category>
		<category><![CDATA[WSDL]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[axis2/c]]></category>
		<category><![CDATA[codegen]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wsdl2c]]></category>
		<category><![CDATA[xml schema]]></category>
		<category><![CDATA[Axis2/Java]]></category>
		<category><![CDATA[binary]]></category>
		<category><![CDATA[Custom templates]]></category>
		<category><![CDATA[Skeleton]]></category>
		<category><![CDATA[Stub]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=255</guid>
		<description><![CDATA[I have been working for Axis2/C codegen tool for sometime now and I found lot of users who want to edit the codegen templates for a more optimized code specific to their use cases. This is mainly because codegen tool generates a very general code (For an example lot of unused variables generated for some [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working for <a href="http://ws.apache.org/axis2/c/">Axis2/C</a> codegen tool for sometime now and I found lot of users who want to edit the codegen templates for a more optimized code specific to their use cases. This is mainly because codegen tool generates a very general code (For an example lot of unused variables generated for some WSDLs, but they are used in some other WSDLs) where as mostly &#8216;C&#8217; people prefer to be as optimized as possible. Axis2 Java templates are more stable and not needed to customized as much as C templates, but Java developers too may find it is really useful to edit them in a case they need some customizations.</p>
<p>Both Axis2 C and Java tools comes with <a href="http://ws.apache.org/axis2/">Axis2/Java project</a>. So you may already have downloaded the latest <a href="http://ws.apache.org/axis2/download.cgi">Axis2/Java release</a> or <a href="http://builder.wso2.org/browse/AXIS2-NIGHTLY">the Axis2/Java nightly build</a>. As per title you can do this customization not only in the source but also in the binary pack. So I assume you have the binary pack.</p>
<p>Codegen tool mainly comes within two jars inside the lib directory of your Axis2/Java pack. (Here xxxx should be replaced with the particular jar version, it can be 1.4, 1.4.1 or SNAPSHOT)</p>
<ul>
<li>axis2-codegen-xxxx.jar &#8211; The core classes of the codegen (This is where WSDL2C and WSDL2Java classes reside)</li>
<li>axis2-adb-codegen-xxxx.jar &#8211; This is the library containing the adb component of the codegen tool. ADB (Axis2 Data Binding) is the native databinding format of Axis2 which convert your xml schema to a more programmer friendly set of java classes or &#8216;C&#8217; structures. The XSD2Java class comes in this jar.</li>
</ul>
<p><strong>Editing the Stub and Skeleton templates</strong></p>
<p>When you unpack the axis2-codegen-xxxx.jar</p>
<pre>jar xf axis2-codegen-xxxx.jar</pre>
<p>you can find the template for Stub and Skel in org/apache/axis2/wsdl/template/c or org/apache/axis2/wsdl/template/java directories.</p>
<ul>
<li>Stub For C &#8211; org/apache/axis2/wsdl/template/c/StubSourceTemplate.xsl (source) and org/apache/axis2/wsdl/template/c/StubHeaderTemplate.xsl (header)</li>
<li>Skeleton for C &#8211; org/apache/axis2/wsdl/template/c/SkelSourceTemplate.xsl (source) and org/apache/axis2/wsdl/template/c/SkelHeaderTemplate.xsl (header)</li>
<li>Stub For Java &#8211; org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl</li>
<li>Skel For Java &#8211; org/apache/axis2/wsdl/template/java/MessageReceiverTemplate.xsl (Message Reciever) and org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl (skeleton)</li>
</ul>
<p>These templates are written is XSL. Even if you are an XSL expert, you may find little difficult to understand whole lot of codes in there. But if you really know what you need to change, you can track back the lines (may be using comment or some specific static set of code). So you don&#8217;t actually need to know any XSL to do these little customizations.</p>
<p>After you do the change simply pack the classes (which are in the &#8216;org&#8217; directory) as the jar with the same name.</p>
<pre>jar cf axis2-codegen-xxxx.jar org</pre>
<p><strong>Editing the ADB templates</strong></p>
<p>You can similarly observe the axis2-adb-codegen-xxxx.jar. All the templates are in the org/apache/axis2/schema/template/ directory.</p>
<ul>
<li>C ADB templates &#8211; org/apache/axis2/schema/template/CADBBeanTemplateHeader.xsl (Source) and org/apache/axis2/schema/template/CADBBeanTemplateHeader.xsl (Header)</li>
<li>Java ADB template &#8211; org/apache/axis2/schema/template/ADBBeanTemplate.xsl</li>
</ul>
<p>You will find the template for the Java classes and C structures there. In C code generation if you find some variables are not used throughout your WSDLs, you can remove directly if from the templates. And some constants which are defined to allocate memory can be changed to suit to your application.</p>
<p>Anyway after all these notes, I have to say it is not really recommended to hack a code specific to your application. If you found a change general to all the applications you better submit the patch to the Axis2 community, so others too can use it. Otherwise whenever you do a upgrade you have to do this again on your own. But I hope these tips may be useful specially when you are working with ADB to do your own experiments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2008/09/13/how-to-hack-axis2-codegen-templates-from-a-axis2-binary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
