<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4490583017097788604</id><updated>2011-07-30T09:09:30.904-07:00</updated><category term='NuSOAP'/><category term='WS-Addressing'/><category term='interop'/><category term='MTOM'/><category term='WS-Policy'/><category term='UsernameToken'/><category term='REST'/><category term='Web Services'/><category term='WSF/PHP'/><category term='Axis2/C'/><category term='PHP SOAP extension'/><category term='Timestamp'/><category term='Axis2'/><title type='text'>Manjula's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>40</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-4774562044652661280</id><published>2009-07-17T09:27:00.000-07:00</published><updated>2009-07-17T10:01:46.628-07:00</updated><title type='text'>Good bye ! WSO2</title><content type='html'>Today is my last day at &lt;a href="http://wso2.com/"&gt;WSO2&lt;/a&gt;. I will be leaving to US for my higher studies in August.&lt;br /&gt;I joined WSO2 in September 2006. I did all my work in WSO2 C platform. I worked mainly on &lt;a href="http://ws.apache.org/axis2/c/"&gt;Axis2/c&lt;/a&gt;, &lt;a href="http://ws.apache.org/rampart/c/"&gt;Rampart/C &lt;/a&gt;, &lt;a href="http://ws.apache.org/sandesha/sandesha2/c/"&gt;Sandesha2/C&lt;/a&gt; Apache projects. Adding WS-Policy, WS-Security Policy support C stack, rewriting the Axis2/C MTOM support, Fixing bugs and interop issues in Sandesha2/C and  contributing to Ramaprt/C on building and processing security header are some of the major contributions I have done. I also worked on some customer projects and involved in some new stuff during my last few weeks. I learned a lot involving in these work.&lt;br /&gt;&lt;br /&gt;WSO2 is a great place to work. During my three year stay I never felt it is boring to come to the office. Sometimes when people are doing jobs they are eagerly waiting for clock to become 5pm or the day to be Friday. But honestly speaking during my stay I never felt that. I always felt that time had gone very fast when I was in WSO2. Whenever you feel that time is going very fast that means you are involved in some interesting work or you are not bored with what you are doing. I always felt that hours, days , weeks and months are rushing when I was in WSO2.&lt;br /&gt;&lt;br /&gt;I should thank &lt;a href="http://sanjiva.weerawarana.org/"&gt;Dr Sanjiva Weerawarna &lt;/a&gt;for the opportunity provided for me. His encouragements, guidance, leadership is really great. I am getting the chance to do higher studies mainly because of Dr. Sanjiva.&lt;br /&gt;&lt;br /&gt;I should also thank &lt;a href="http://samisa-abeysinghe.blogspot.com/"&gt;Samisa&lt;/a&gt;. I really like to work under his guidance. I learned lots of technical stuff and non technical stuff from him.&lt;br /&gt;&lt;br /&gt;Almost all the WSO2 colleagues are really helpful and friendly. Thank you every one for the support and kindness you showed to me during my tenure at WSO2.&lt;br /&gt;&lt;br /&gt;I wish WSO2 very best in coming years.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-4774562044652661280?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/4774562044652661280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=4774562044652661280' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4774562044652661280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4774562044652661280'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2009/07/good-bye-wso2.html' title='Good bye ! WSO2'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-9042123098654578884</id><published>2009-05-20T03:59:00.000-07:00</published><updated>2009-05-20T04:39:26.057-07:00</updated><title type='text'>We have done it! Come and learn from us</title><content type='html'>Our great army completely eliminated LTTE terrorism from our mother land. Five years back it was a task people thought that we were never going to achieve. Five years back if you ask ten people, can we beat LTTE from the war eight would say no you couldn't. But today it again proved that what majority thought was wrong. During the 2005 presidential election campaign I remember how certain media act on behalf of some candidates whose opinion was that LTTE cannot be eliminated from a war.&lt;br /&gt;&lt;br /&gt;There are lots of things we can learn from this victory. For me the main thing is when there are right people in the right places there is nothing impossible. First of all we have elected the most suitable person who got the help from patriot people as our president. Then the president give the responsibility of this huge campaign to the most suitable military leaders. The right vision and the great plan gave the invaluable gift to the mother land.&lt;br /&gt;&lt;br /&gt;The other thing is the current president didn't win the election by a big margin compared to some other previous leaders. But he did the task that all the others failed to do. This tells that people you trust most the time are not the real champions. It is some other who you may not think will become the man of the match.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-9042123098654578884?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/9042123098654578884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=9042123098654578884' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/9042123098654578884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/9042123098654578884'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2009/05/we-have-done-it-come-and-learn-from-us.html' title='We have done it! Come and learn from us'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-816167491691773499</id><published>2009-03-03T08:23:00.000-08:00</published><updated>2009-03-03T08:33:25.564-08:00</updated><title type='text'>Carbon and SOA platform</title><content type='html'>Carbon &lt;a href="http://wso2.org/downloads"&gt;1.5.1&lt;/a&gt; is out. This is a bug fix release of Carbon 1.5.0. &lt;br /&gt;WSO2 Carbon provides all the features a &lt;a href="http://soa-platform.blogspot.com/2009/02/soa-platform-released.html"&gt;SOA platform&lt;/a&gt; requires.A SOA platforms enables,&lt;br /&gt;&lt;br /&gt;1. Creating Services&lt;br /&gt;2. Connecting Services&lt;br /&gt;3. Composing Services&lt;br /&gt;4. Governing Services.&lt;br /&gt;&lt;br /&gt;WSO2 Carbon enable all these very smoothly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-816167491691773499?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/816167491691773499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=816167491691773499' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/816167491691773499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/816167491691773499'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2009/03/carbon-and-soa-platform.html' title='Carbon and SOA platform'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-3688773438733632452</id><published>2009-02-11T08:10:00.000-08:00</published><updated>2009-02-11T09:28:01.445-08:00</updated><title type='text'>Component based SOA - WSO2 Carbon</title><content type='html'>WSO2 Carbon is the new way of creating your SOA Middleware. It contains everything you want to build your Middleware. With WSO2 Carbon,&lt;br /&gt;&lt;br /&gt;1 You can use minimal set of features you want.&lt;br /&gt;2.Later you can easily extend the functionality with minimal effort.&lt;br /&gt;3.You can add your own functionality&lt;br /&gt;4. You can add other third party functionality &lt;br /&gt;&lt;br /&gt;For more details see &lt;a href="http://pzf.fremantle.org/2009/02/wso2-carbon-part-1.html"&gt;paul's&lt;/a&gt; this blog post.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-3688773438733632452?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/3688773438733632452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=3688773438733632452' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/3688773438733632452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/3688773438733632452'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2009/02/component-based-soa-wso2-carbon.html' title='Component based SOA - WSO2 Carbon'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-5791634152800541656</id><published>2009-02-04T03:18:00.000-08:00</published><updated>2009-02-04T03:23:42.824-08:00</updated><title type='text'>Freedom</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.gifs.net/Animation11/Geography_and_History/International_Flags/sri_lanka.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 270px; height: 148px;" src="http://www.gifs.net/Animation11/Geography_and_History/International_Flags/sri_lanka.gif" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-5791634152800541656?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/5791634152800541656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=5791634152800541656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5791634152800541656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5791634152800541656'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2009/02/freedom.html' title='Freedom'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-4035061025524075213</id><published>2008-11-19T07:31:00.001-08:00</published><updated>2008-11-19T07:45:01.554-08:00</updated><title type='text'>An Open Source SOA case study</title><content type='html'>Open source software is a nice solution for economic slow down. You don't need to spent bulk amount of money for commercial license. With open source software we can achieve the same quality and some times more features. &lt;a href="http://wso2.com/about/news/open-source-lets-developers-speed-soa-development-despite-economic-slowdown/"&gt;Case study&lt;/a&gt; in &lt;a href="http://wso2.com/"&gt;WSO2&lt;/a&gt; &lt;a href="http://wso2.org/"&gt;Oxygen Tank&lt;/a&gt; is a nice example of how WSO2 products provide real SOA value to your business.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-4035061025524075213?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/4035061025524075213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=4035061025524075213' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4035061025524075213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4035061025524075213'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/11/open-source-soa-case-study.html' title='An Open Source SOA case study'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-3623943087954628549</id><published>2008-10-28T09:28:00.000-07:00</published><updated>2008-10-28T09:37:16.605-07:00</updated><title type='text'>RESTful PHP Web Services</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://images.packtpub.com/images/full/1847195520.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 540px; height: 666px;" src="http://images.packtpub.com/images/full/1847195520.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://samisa-abeysinghe.blogspot.com/"&gt;Samisa&lt;/a&gt; has written a book on RESTful PHP Web Services. Samisa was the chief architect behind &lt;a href="http://wso2.org/projects/wsf/php"&gt;WSO2 WSF/PHP&lt;/a&gt;. So this book is collection of invaluable experiences on PHP Web Services.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-3623943087954628549?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/3623943087954628549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=3623943087954628549' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/3623943087954628549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/3623943087954628549'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/10/restful-php-web-services.html' title='RESTful PHP Web Services'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-5939399278626485553</id><published>2008-10-22T05:50:00.000-07:00</published><updated>2008-10-22T05:55:10.580-07:00</updated><title type='text'>Axis2/C with WS-Addressing Submission version.</title><content type='html'>An &lt;a href="http://ws.apache.org/axis2/c/"&gt;Axis2/C&lt;/a&gt; client can send WS-Addressing submission version headers in the SOAP request. It is just adding a property to the axis2_options_t . Following code segment demonstrate that.&lt;br /&gt;&lt;br /&gt;axutil_property_t *property  = NULL;&lt;br /&gt;property = axutil_property_create(env);&lt;br /&gt;axutil_property_set_scope(property, env, AXIS2_SCOPE_APPLICATION);&lt;br /&gt;axutil_property_set_value(property, env,AXIS2_WSA_NAMESPACE_SUBMISSION);&lt;br /&gt;axis2_options_set_property(options, env, AXIS2_WSA_VERSION, property);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-5939399278626485553?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/5939399278626485553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=5939399278626485553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5939399278626485553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5939399278626485553'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/10/axis2c-with-ws-addressing-submission.html' title='Axis2/C with WS-Addressing Submission version.'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-4529642350592252591</id><published>2008-10-04T09:17:00.000-07:00</published><updated>2008-10-04T09:50:55.868-07:00</updated><title type='text'>Three years for Axis2/C</title><content type='html'>&lt;a href="http://samisa-abeysinghe.blogspot.com/2008/09/apache-axis2c-three-years.html"&gt;This blog post&lt;/a&gt; of Samisa shows the first commit to &lt;a href="http://ws.apache.org/axis2/c"&gt;Apache Axis2/C&lt;/a&gt;. It is also 2 years for my work to Axis2/C. As my understanding Axis2/C enables many  things in SOA world. Following are some key things. &lt;br /&gt;&lt;br /&gt;1. It enables legacy systems written in C/C++ to be exposed as web services.&lt;br /&gt;2. It allows you to write C/C++ clients to consume web services written in .NET , JAVA&lt;br /&gt;&lt;br /&gt;So you may be thinking why we need Axis2/C, We can use &lt;a href="http://www.cs.fsu.edu/~engelen/soap.html"&gt;gSOAP&lt;/a&gt; a very popular web services framework. But the real strength in Axis2/C is the WS-* support. See this &lt;a href="http://wso2.org/library/articles/feature-comparrision-wsf-c-gsoap"&gt; article &lt;/a&gt; by Damitha for more details.&lt;br /&gt;&lt;br /&gt;3. It opened the door for many scripting language users to enter the SOA world. Not only simple web services, but with a great quality of service with WS-* support. &lt;a href="http://wso2.org/projects/wsf/php"&gt;WSO2 WSF/PHP&lt;/a&gt; &lt;a href="http://wso2.org/projects/wsf/ruby"&gt;WSO2 WSF/RUBY&lt;/a&gt; are some great examples of this.&lt;br /&gt;&lt;br /&gt;So for what else Axis2/C can be used ? For me it will be really useful when it comes to embedding. Because you can't use JAVA for embedding in many systems due to the high memory froot print. In that case C is the ideal and the solution. So do you want Web services embedded there ? So then why not trying Axis2/C ? Because it is written in C.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-4529642350592252591?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/4529642350592252591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=4529642350592252591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4529642350592252591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4529642350592252591'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/10/three-years-for-axis2c.html' title='Three years for Axis2/C'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-2647921350249129548</id><published>2008-09-28T09:19:00.000-07:00</published><updated>2008-09-28T10:11:56.778-07:00</updated><title type='text'>Finding Interoperability issues</title><content type='html'>During last few weeks I was involved in doing interoperability testing of &lt;a href="http://wso2.org/projects/wsf/c"&gt;WSF/C &lt;/a&gt;stack with .NET WCF. Actually what I understood was most of the times interoperability testing fails due to small errors like namespace mismatching, wrong payload, and ect. Actually the problem is most of the WS frameworks including .NET does not clearly indicate the error in some occasions. This makes the interoperability tester's work really hard.&lt;br /&gt;&lt;br /&gt;Following are tips we can follow when some thing went wrong during interoperability testing.&lt;br /&gt;&lt;br /&gt;1.Check the errors and log messages from the WS- frameworks &lt;br /&gt;   - This helps some times but in some situations the exceptions are misleading&lt;br /&gt;2.Always send the messages through a message capturing tool&lt;br /&gt;3.Always check the payload of the SOAP message is according to the schema.&lt;br /&gt;4.Check the namespaces of the message elements.&lt;br /&gt;5.Check specially the WS-Addressing elements in the message&lt;br /&gt;6.Compare same framework's client-server messages with interoperability testing messages.&lt;br /&gt;7.If your client is not working try to interop with your own service.&lt;br /&gt;8.If the error cannot be found then ask from those framework authors.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-2647921350249129548?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/2647921350249129548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=2647921350249129548' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2647921350249129548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2647921350249129548'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/09/finding-interoperability-issues.html' title='Finding Interoperability issues'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-4817482169385200542</id><published>2008-09-20T02:30:00.000-07:00</published><updated>2008-09-20T02:58:50.276-07:00</updated><title type='text'>Axis2/C and Sandesha2/C</title><content type='html'>&lt;a href="http://ws.apache.org/sandesha/sandesha2/c/"&gt;Sandesha2/C&lt;/a&gt; is the Web services Reliable Messaging module for &lt;a href="http://ws.apache.org/axis2/c/"&gt; Axis2/C&lt;/a&gt;. Actually Sandesha2/C is the fist module written for Axis2/C. Due to the complexity of RM protocol stabilizing Sandesha2/C became very hard during the past 2 years. But Sandesha2/C did a great deal for Axis2/C. Because most of the bugs at code level as well as architectural level in Axis2/C were exposed because of Sandesha2/C.Even though there aren't much people using Sandesha2/C like &lt;a href="http://ws.apache.org/rampart/c/"&gt;Ramaprt/C&lt;/a&gt; in order to stabilize Axis2/c the contribution from Sandesha2/C is invaluable.&lt;br /&gt;&lt;br /&gt;I with &lt;a href="http://damithakumarage.wordpress.com/"&gt;Damitha&lt;/a&gt; worked on Sandesha2/C for interop with .net. We added Reliable messaging policy support both 1.0 and 1.1. Most of the .net interop test cases are passed now. And Sandesha2/C is very very stable now. It also adds reliability to &lt;a href="http://wso2.org/projects/wsf/php"&gt;WSO2 WSF/PHP 2.0&lt;/a&gt; . If you haven't try Web Services reliability with Sandesha2/c i think now it is the time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-4817482169385200542?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/4817482169385200542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=4817482169385200542' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4817482169385200542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4817482169385200542'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/09/axis2c-and-sandesha2c.html' title='Axis2/C and Sandesha2/C'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-3438885208679717931</id><published>2008-09-15T09:09:00.000-07:00</published><updated>2008-09-15T09:25:37.741-07:00</updated><title type='text'>Sending WS-Addressing reference Parameters with Axis2/C</title><content type='html'>After fixing some bugs I was able to send &lt;a href="http://www.w3.org/TR/2006/REC-ws-addr-core-20060509/"&gt;WS-Addressing&lt;/a&gt; reference parameters from &lt;a href="http://ws.apache.org/axis2/c/"&gt;Axis2/C&lt;/a&gt;. Problem was in the receiving end where it just ignores the reference parameters. You can send reference parameters now targeting the endpoint address or something you want in the reply message.&lt;br /&gt;&lt;br /&gt;/*First create the axiom_node,*/&lt;br /&gt;&lt;br /&gt;axiom_node_t *ref_param = your_ref_param_node_creation_func(env);&lt;br /&gt;&lt;br /&gt;/*To send a ref_param targeting the endpoint*/&lt;br /&gt;&lt;br /&gt;axis2_endpoint_ref_add_ref_param(to_epr, env, ref_param);&lt;br /&gt;&lt;br /&gt;/*To send a ref_param inside reply_to header */&lt;br /&gt;axis2_endpoint_ref_add_ref_param(reply_to_epr, env, ref_param);&lt;br /&gt;&lt;br /&gt;In the latter case you will see the ref_param in the reply as a top level addressing header.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-3438885208679717931?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/3438885208679717931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=3438885208679717931' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/3438885208679717931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/3438885208679717931'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/09/sending-ws-addressing-reference.html' title='Sending WS-Addressing reference Parameters with Axis2/C'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-3842629368056568729</id><published>2008-09-12T23:30:00.000-07:00</published><updated>2008-09-12T23:41:29.410-07:00</updated><title type='text'>WSO2 WSF/PHP 2.0 released</title><content type='html'>&lt;a href="http://nandikajayawardana.blogspot.com/"&gt;Nandika&lt;/a&gt; has announced the release of &lt;a href="http://wso2.org/projects/wsf/php"&gt;WSO2 WSF/PHP 2.0&lt;/a&gt;. You can download the release from &lt;a href="http://wso2.org/projects/wsf/php"&gt;here&lt;/a&gt;. This is a very feature rich release. Following is the feature list.&lt;br /&gt;&lt;br /&gt;Key Features&lt;br /&gt;============&lt;br /&gt;&lt;br /&gt;1. Client API to consume Web services&lt;br /&gt;      * WSMessage class to handle message level options&lt;br /&gt;      * WSClient class with both one way and two way service invocation support&lt;br /&gt;      * Option of using functions in place of object oriented API with ws_request&lt;br /&gt;&lt;br /&gt;2. Service API to provide Web services&lt;br /&gt;      * WSMessage class to handle message level options&lt;br /&gt;      * WSService class with support for both one way and two way operations&lt;br /&gt;      * Option of using functions in place of object oriented API with ws_reply&lt;br /&gt;&lt;br /&gt;3. Attachments with MTOM&lt;br /&gt;      * Binary optimized&lt;br /&gt;      * Non-optimized (Base64 binary)&lt;br /&gt;&lt;br /&gt;4. WS-Addressing&lt;br /&gt;      * Version 1.0&lt;br /&gt;      * Submission&lt;br /&gt;&lt;br /&gt;5. WS-Security&lt;br /&gt;      * UsernameToken and Timestamp&lt;br /&gt;      * Encryption&lt;br /&gt;      * Signing&lt;br /&gt;      * WS-SecurityPolicy based configuration&lt;br /&gt;      * WS-Secure Conversation&lt;br /&gt;&lt;br /&gt;6. WS-Reliable Messaging&lt;br /&gt;      * Single channel one way and two way reliable messaging&lt;br /&gt;&lt;br /&gt;7. WSDL Generation for Server Side&lt;br /&gt;      * WSDL generation based on annotations and function signatures, and serving on ?wsdl or wsdl2 requests&lt;br /&gt;&lt;br /&gt;8. WSDL mode support for both client and server side&lt;br /&gt;      * Write services and client based on a given WSDL&lt;br /&gt;      * WS-Addressing and WS-SecurityPolicy is supported in WSDL mode&lt;br /&gt;      * MTOM is now supported with WSDL mode&lt;br /&gt; &lt;br /&gt;9. REST Support&lt;br /&gt;      * Expose a single service script both as SOAP and REST service&lt;br /&gt;&lt;br /&gt;10. Provide easy to use classes for common services&lt;br /&gt;      * Consume some well known services such as Yahoo search and Flickr and Amazon services using predefined classes&lt;br /&gt;&lt;br /&gt;11. wsdl2php.php script. This script can generate PHP classes for services and clients for a given WSDL to be used with WSDL Mode .&lt;br /&gt;&lt;br /&gt;12. Data Services API&lt;br /&gt;    PHP Data Services API that enables exposing database queries as web services.&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;--------------------------------&lt;br /&gt;Major Changes Since Last Release&lt;br /&gt;================================&lt;br /&gt;* Added PKCS12 Keystore Support&lt;br /&gt;* Added Secure Conversation Support&lt;br /&gt;* Added Replay Detection Support&lt;br /&gt;* Contract First Web Services support for MTOM&lt;br /&gt;* SWA ( Soap With Attachments ) Support added&lt;br /&gt;* MTOM Attachment caching support added&lt;br /&gt;* HTTP Chunking support added&lt;br /&gt;* REST API Improved to support HTTP verbs GET,DELETE,PUT and POST&lt;br /&gt;* New PHP Data Services Solution&lt;br /&gt;* WS-RM 1.1 added&lt;br /&gt;* Many Bug Fixes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-3842629368056568729?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/3842629368056568729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=3842629368056568729' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/3842629368056568729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/3842629368056568729'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/09/wso2-wsfphp-20-released.html' title='WSO2 WSF/PHP 2.0 released'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-7369247923728090627</id><published>2008-07-30T08:55:00.000-07:00</published><updated>2008-07-30T09:21:46.588-07:00</updated><title type='text'>Finding and resolving Axis2/C realted issues</title><content type='html'>While working with &lt;a href="http://ws.apache.org/axis2/c/"&gt;Axis2/C&lt;/a&gt; and related projects for last  couple years following are some steps to follow in order as a developer when you encounter something not working as expected..&lt;br /&gt;&lt;br /&gt;1. Capture the messages using a tool like &lt;a href="http://ws.apache.org/commons/tcpmon/"&gt;TCPMON&lt;/a&gt;   and check. &lt;br /&gt;2. Check the log and see whether there are log messages as errors.&lt;br /&gt;3. If it crashes, run in the debug mode and check the back trace.&lt;br /&gt;4. If the back trace is not giving enough information then debug the suspected code segments&lt;br /&gt;5. Run through a memory profiling tool like valgrind or purify and check for following,&lt;br /&gt;    - Invalid frees&lt;br /&gt;    - Invalid Writes&lt;br /&gt;    - Invalid Reads&lt;br /&gt;&lt;br /&gt;6. If you have to debug in a loop or in a threaded environment try putting additional printfs and log messages to capture the culprit.&lt;br /&gt;&lt;br /&gt;7. If none of this help then get the support from some other developer or put a mail describing the problem to the mailing list&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-7369247923728090627?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/7369247923728090627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=7369247923728090627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/7369247923728090627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/7369247923728090627'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/07/finding-and-resolving-axis2c-realted.html' title='Finding and resolving Axis2/C realted issues'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-1457268340020363985</id><published>2008-07-23T08:42:00.000-07:00</published><updated>2008-07-23T08:50:53.973-07:00</updated><title type='text'>WSO2 WSF/RUBY 1.1.0 released</title><content type='html'>WSF/Ruby is the Ruby language extension to WSO2 WSF/C. This enables you to consume/provide Web services both with REST and with the power of WS-* stack including WS-Reliable Messaging, WS-Security, WS-Addressing and MTOM Attachments.&lt;br /&gt;&lt;br /&gt;For more information, please visit project home page,&lt;br /&gt;&lt;a href="http://wso2.org/projects/wsf/ruby"&gt;http://wso2.org/projects/wsf/ruby&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can download this release from &lt;a href="http://wso2.org/downloads/wsf/ruby"&gt;http://wso2.org/downloads/wsf/ruby&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-1457268340020363985?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/1457268340020363985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=1457268340020363985' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/1457268340020363985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/1457268340020363985'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/07/wso2-wsfruby-110-released.html' title='WSO2 WSF/RUBY 1.1.0 released'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-76850448756118573</id><published>2008-07-06T11:01:00.000-07:00</published><updated>2008-07-06T11:15:52.981-07:00</updated><title type='text'>Yet again We are the Asian Champions</title><content type='html'>We (Sri Lanka) won the Cricket Asia cup 2008. Remember we were the winners last time.We &lt;a href="http://content-sl.cricinfo.com/asiacup/engine/current/match/335358.html"&gt;beat India by 100 runs in today's match to grab the trophy &lt;/a&gt;. After 39 years old Sanath Jayasooriya's marvelous innings I thought it is all over when Virendra Shewag was cruising along nicely. But the new find Ajantha Medins turned it over. He bowls off breaks, leg breaks, quickers and Indians are really helpless. At the end without bowling his complete 10 overs he grabbed 6 wickets for just 13 runs. It was absolutely an exhibition of spin bowling from young Mendis. Ajantha Mendis is a cricketer from my home town Moratuwa. So it makes me more happy. So after sometime we have something to cheer about!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-76850448756118573?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/76850448756118573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=76850448756118573' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/76850448756118573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/76850448756118573'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/07/yet-again-we-are-asian-champions.html' title='Yet again We are the Asian Champions'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-2732302898078619845</id><published>2008-06-28T08:55:00.000-07:00</published><updated>2008-06-28T09:27:15.203-07:00</updated><title type='text'>Difficulties with MTOM Caching</title><content type='html'>I am putting a great effort these days in order to get something working on &lt;a href="http://www.w3.org/TR/soap12-mtom/"&gt;MTOM&lt;/a&gt; caching stuff. I have completed most of the things in both sending and receiving ends.The main reason for the difficulties in this implementation is some of the limitations in &lt;a href="http://ws.apache.org/axis2/c/"&gt;Axis2/C&lt;/a&gt; http transport.First  of all HTTP chunk transfer encoding is not working properly with Axis2/C. The main reason for MTOM caching support is prevent loading the entire attachment to the memory at once. So in that case when we send the attachment we need to send it as chunked. But Axis2/C transport is implemented in such a manner that it creates the whole sending buffer at once and copying the whole data to it. We can send this data as chunk but that is not what we need because we have loaded the whole data to memory. &lt;br /&gt;&lt;br /&gt;So in the MTOM case I did following.&lt;br /&gt;&lt;br /&gt;1. Defined a new type called axiom_mime_output_part. This will wrap a buffer or a file. In the case of file it will keep the file names and sizes. &lt;br /&gt;2. when building the SOAP message with attachment instead of loading to the memory an array_list of these mime_output_parts are created.&lt;br /&gt;3. In the transport we send each item in the array_list as chunks&lt;br /&gt;&lt;br /&gt;I was able to get this to work with axis2_simple_http_server. But when I tried this with Apache it seems that Apache does not give any information to Axis2/C whether it is reading from a chunk stream or not. But for the newly implemented mime_parsing algorithm to work this detail is crucial. So I am now looking at a solution for this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-2732302898078619845?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/2732302898078619845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=2732302898078619845' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2732302898078619845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2732302898078619845'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/06/difficulties-with-mtom-caching.html' title='Difficulties with MTOM Caching'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-4146148618474865583</id><published>2008-05-18T22:05:00.000-07:00</published><updated>2008-05-18T22:32:17.110-07:00</updated><title type='text'>Today is Vesak Day</title><content type='html'>Today is Vesak Full moon day. Today is the day lord Buddha's birth, enlightenment and death happened. Actually today is day a new teaching had started. There are lot we can learn from lord Buddha's teaching. You may be a student, a leader, a teacher, a parent, a child... or a normal human being there is lot you can learn from lord Buddha's teaching. Lord Buddha is great when it comes to describing something with real world examples. I have read many of them during the past years. Following is a simple but a generic truth about people which is explained in a nice manner which I read recently.&lt;br /&gt;&lt;br /&gt;There are four types of clouds.&lt;br /&gt;&lt;br /&gt;1. Clouds which thunder and lighting but do not give any rain.&lt;br /&gt;2. Clouds which thunder and lighting and give rain.&lt;br /&gt;3. Clouds which do not thunder or lightning but give rain.&lt;br /&gt;4. Clouds which do not thunder or lighting and do not give any rain.&lt;br /&gt;&lt;br /&gt;Similarly there are four types of People&lt;br /&gt;&lt;br /&gt;1. People who shout but do not do anything as they shout.&lt;br /&gt;2. People who shout and do as they shout.&lt;br /&gt;3. People who do not shout but do lots of things.&lt;br /&gt;4. People who do not shout and do not do anything.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-4146148618474865583?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/4146148618474865583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=4146148618474865583' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4146148618474865583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4146148618474865583'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/05/today-is-vesak-day.html' title='Today is Vesak Day'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-5360190452392491070</id><published>2008-05-10T08:17:00.000-07:00</published><updated>2008-05-10T08:53:11.135-07:00</updated><title type='text'>Axis2/C 1.4 released</title><content type='html'>&lt;a href="http://nethu.org/"&gt; Dinesh&lt;/a&gt; has announced the release of &lt;a href="http://ws.apache.org/axis2/c/download.cgi"&gt; Axis2/C 1.4&lt;/a&gt;. The major change in this release is the change of default parser as Guththila. Guththila is a XML parser developed by Axis2/C developers which has advantages when using for SOAP. See &lt;a href="http://wso2.org/library/3532"&gt; this&lt;/a&gt; if you want to get an understanding of Axis2/C's performance when used with Guththila.&lt;br /&gt;&lt;br /&gt;This release also has a changed on how Axis2/C httpd module deals with APR memory pools. In this release Axis2/C creating an APR local pool and it takes the ownership and deletes it when the request is over. We have introduced this because in a production environment to handle large requests this will be useful. But we still need to do a performance test on this.You are welcome to do a performance test between Axis2/C 1.4 and 1.3 when used with Apache2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-5360190452392491070?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/5360190452392491070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=5360190452392491070' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5360190452392491070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5360190452392491070'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/05/axis2c-14-released.html' title='Axis2/C 1.4 released'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-5094389553832496439</id><published>2008-05-04T09:52:00.000-07:00</published><updated>2008-05-04T10:00:58.188-07:00</updated><title type='text'>Axis2/C new articles</title><content type='html'>I have written an article on &lt;a href="http://wso2.org/library/3412"&gt;Overcoming memory related issues in Axis2/C &lt;/a&gt; . This will give you some tips to solve some of the memory related issues in Axis2/C.&lt;br /&gt;&lt;br /&gt;Recently there is a good article on &lt;a href="http://wso2.org/library/3532"&gt;Axis2/C performance.&lt;/a&gt; It is comparing &lt;a href="http://ws.apache.org/axis2/c/"&gt; Axis2/C&lt;/a&gt; with &lt;a href="http://ws.apache.org/axis2/"&gt;Axis2/Java&lt;/a&gt; for performance. And it also has a good comparison on the performance of Guththila XML parser vs libxml2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-5094389553832496439?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/5094389553832496439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=5094389553832496439' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5094389553832496439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5094389553832496439'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/05/axis2c-new-articles.html' title='Axis2/C new articles'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-6846426449463108937</id><published>2008-03-12T02:57:00.000-07:00</published><updated>2008-03-12T03:06:00.143-07:00</updated><title type='text'>WSF/PHP Demo site</title><content type='html'>Dimuthu has announced the availability of&lt;a href="http://wso2.org/projects/wsf/php"&gt;WSF/PHP &lt;/a&gt;  &lt;a href="http://labs.wso2.org/wsf/php"&gt; Demo site.&lt;/a&gt; It really is nice peace of work. It shows all the capabilities of WSO2 Web services framework for PHP. Since WSF/PHP is becoming the framework for doing web services in PHP this demo site will be a huge guidance for most of the users.&lt;br /&gt;You can post suggestions and possible improvements to the demo site via WSO2 WSF/PHP user mailing list wsf-php-user@wso2.org.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-6846426449463108937?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/6846426449463108937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=6846426449463108937' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/6846426449463108937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/6846426449463108937'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/03/wsfphp-demo-site.html' title='WSF/PHP Demo site'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-4759630748225429094</id><published>2008-03-05T20:01:00.000-08:00</published><updated>2008-03-05T20:14:45.834-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Axis2/C'/><title type='text'>Axis2/C 1.3 released</title><content type='html'>We have released &lt;a href="http://ws.apache.org/axis2/c/"&gt;Axis2/C&lt;/a&gt; 1.3 recently. Lot of important Jira issues are fixed in this release .&lt;a href="http://issues.apache.org/jira/secure/ConfigureReport.jspa?projectOrFilterId=project-12310180&amp;periodName=daily&amp;daysprevious=48&amp;cumulative=true&amp;versionLabels=major&amp;selectedProjectId=12310180&amp;reportKey=com.atlassian.jira.ext.charting%3Acreatedvsresolved-report&amp;Next=Next"&gt;This&lt;/a&gt; shows the enthusiasm of Axis2/C developers. Actually Axis2/C user community is growing rapidly. It can be sensed from the the &lt;a href="http://ws.apache.org/axis2/c/lists_issues.html"&gt; mailing lists.&lt;/a&gt; The most important factor is that many people used it in production environments. And it is a proof of the stability and robustness of Axis2/C. I am pretty sure that 1.3 release will surely help those users who used it in their production environments and will attract new users.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-4759630748225429094?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/4759630748225429094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=4759630748225429094' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4759630748225429094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/4759630748225429094'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/03/axis2c-13-released.html' title='Axis2/C 1.3 released'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-5514605572407461548</id><published>2008-02-27T09:34:00.000-08:00</published><updated>2008-02-27T09:52:40.488-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Axis2/C'/><title type='text'>Axis2/C can handle large attachments</title><content type='html'>With great deal of hard work I was able to reduce the memory consumption in large attachments.Thanks Samisa and Dumindu for valuable ideas. Uthiyashankar helped a lot to fix some problems in Windows.For complete view of the problem and solution follow &lt;a href="https://issues.apache.org/jira/browse/AXIS2C-994"&gt; this.&lt;/a&gt; Even though the work is tough when ever I finished such work I feel a great deal of satisfaction. And I also see now there are lots of users for &lt;a href="http://ws.apache.org/axis2/c/"&gt;Axis2/C&lt;/a&gt; .It generates great amount of pleasure for whole Axis2/C team. And I am also happy that I was able to fix this issue and it is shipped with 1.3 release. I am also hoping to implement caching support for large attachments. If you have any suggestions on how to do that wait a second and be kind enough to put a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-5514605572407461548?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/5514605572407461548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=5514605572407461548' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5514605572407461548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5514605572407461548'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/02/axis2c-can-handle-large-attachments.html' title='Axis2/C can handle large attachments'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-8190236319429739726</id><published>2008-02-17T09:52:00.000-08:00</published><updated>2008-02-17T09:55:23.156-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='REST'/><category scheme='http://www.blogger.com/atom/ns#' term='WSF/PHP'/><title type='text'>Important things about WSF/PHP</title><content type='html'>In &lt;a href="http://nethu.org/2008/02/14/5-important-things-to-know-about-wsfphp/"&gt; this&lt;/a&gt; blog entry Dinesh is talking about 5 important things about &lt;a href="http://wso2.org/projects/wsf/php"&gt;WSF/PHP&lt;/a&gt;. They are,&lt;br /&gt;&lt;br /&gt;1. Open source Apache license&lt;br /&gt;2. WS-* suppoort&lt;br /&gt;3  Attachment capability&lt;br /&gt;4  REST support&lt;br /&gt;5. Interoperability&lt;br /&gt;&lt;br /&gt;I like to add another thing. That is the various types of distributions WSF/PHP supports. Select the most suitable distribution from &lt;a href="http://wso2.org/downloads/wsf/php"&gt; WSF/PHP dpwnloads page.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-8190236319429739726?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/8190236319429739726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=8190236319429739726' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/8190236319429739726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/8190236319429739726'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/02/important-things-about-wsfphp.html' title='Important things about WSF/PHP'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-2751312464694324307</id><published>2008-02-07T07:59:00.000-08:00</published><updated>2008-02-07T08:39:40.194-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MTOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Axis2/C'/><title type='text'>Axis2/C, Handling large attachment with Apache2</title><content type='html'>&lt;a href="http://nethu.org"&gt;Dinesh&lt;/a&gt; has put a blog on the &lt;a href="http://nethu.org/2008/02/05/axis2c-handling-large-attachment-with-apache2/"&gt; topic&lt;/a&gt;. Thanks Dinesh for that. Actually I am currently working on it. The main problem is why httpd does not release the memory after processing the request. &lt;br /&gt;In &lt;a href="http://ws.apache.org/axis2/c/"&gt; Axis2/C &lt;/a&gt; &lt;a href="http://www.w3.org/TR/soap12-mtom/"&gt; MTOM &lt;/a&gt; implementation when a new buffer is read from the stream it reallocates the whole buffer for every read. Because of this string manipulation logic inside mime_parser seems bit simple. Now I am trying to manipulate the string without reallocating the whole buffer, instead keeping the buffers in an array. It seems really tough. Because string searching in two buffers seems really tricky. With a great deal of hard work I was able to send a 40M attachment using the new logic from simple_axis2_server.But httpd send only 39M. I am analyzing the problem. I noticed a huge gain in memory usage with the new logic. If you have any idea on improving this logic (inside axis2c/axiom/src/attachments/mime_parser.c) please let us know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-2751312464694324307?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/2751312464694324307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=2751312464694324307' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2751312464694324307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2751312464694324307'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/02/axis2c-handling-large-attachment-with.html' title='Axis2/C, Handling large attachment with Apache2'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-2902971165886129620</id><published>2008-01-31T09:46:00.000-08:00</published><updated>2008-01-31T10:13:26.737-08:00</updated><title type='text'>Good bye Buddhika!</title><content type='html'>Today is &lt;a href="http://buddhika-semasinghe.blogspot.com/"&gt; Buddhika&lt;/a&gt;'s last day at WSO2. Actually it is a really sad day for me. My friendship with him during the last 5 years was unforgettable. We shared all the happiness, sorrow , problems , loneliness with each other.&lt;br /&gt;&lt;br /&gt;I met him in 2003 during our first year at department of computer science and Engineering. Both of us took the same subjects, we were in the same place when doing internship and were in the same group for our final year project. Funny thing was during our final year both of us were selected to the same companies for jobs. Finally we decided to choose WSO2.&lt;br /&gt;&lt;br /&gt;Buddhika did a great job for &lt;a href="http://wso2.org/downloads/wsf/php/"&gt;WSF/PHP&lt;/a&gt; project. His contributions surely helped WSF/PHP to become a world class SOAP Engine for PHP.&lt;br /&gt;&lt;br /&gt;Working with him is really funny, you never feel tired or boring. I also learned a lot from him related to technical matters and personal matters.&lt;br /&gt;&lt;br /&gt;There is a saying ,&lt;br /&gt;"DO A JOB YOU LOVE AND LOVE THE JOB YOU DO". I think reason for Buddhika's leaving may be the first part of that statement. I don't know.&lt;br /&gt;&lt;br /&gt;Any way I wish him best of luck and a bright career at his new working place.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-2902971165886129620?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/2902971165886129620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=2902971165886129620' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2902971165886129620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2902971165886129620'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/good-bye-buddhika.html' title='Good bye Buddhika!'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-5896553454410190973</id><published>2008-01-30T08:56:00.000-08:00</published><updated>2008-01-30T09:13:09.757-08:00</updated><title type='text'>Amazon Online Shopping with Web Service Framework for PHP</title><content type='html'>&lt;a href="http://wso2.org/projects/wsf/php"&gt; WSF/PHP &lt;/a&gt; is really powerful. &lt;a href="http://wso2.org/library/3077"&gt; Amazon online Web Services for PHP &lt;/a&gt; describes how you can consume Amazon web services with your own PHP aplication with far more ease&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-5896553454410190973?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/5896553454410190973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=5896553454410190973' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5896553454410190973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5896553454410190973'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/amazon-online-shopping-with-web-service.html' title='Amazon Online Shopping with Web Service Framework for PHP'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-1295043960083864740</id><published>2008-01-29T08:38:00.000-08:00</published><updated>2008-01-29T09:03:44.626-08:00</updated><title type='text'>Change in my life</title><content type='html'>For the first time in my life I have started an affair with a girl. I also hope this to be the last time. Last two months was really stressful. It is not a straightaway yes. I also see continuing with it also not an easy job due to various reasons not from my side but from her side. But I will try my best and it needs lots of patience, may be weeks may be months I don't know.&lt;br /&gt;&lt;br /&gt;I also see some difference in my thinking style. Because before this incident when I was traveling from train or in my free time I was thinking about something related to my work. For an example it may be a bug in the code or some thing I don't understand. Trust me I was able to solve some of the problems as a result of that. But during the past few weeks on those situations my mind is going through this new experience. I will try to escape from this because I like my previous thinking style.&lt;br /&gt;&lt;br /&gt;Hope time will change this, because it is the best solution for these types of situations.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-1295043960083864740?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/1295043960083864740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=1295043960083864740' title='27 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/1295043960083864740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/1295043960083864740'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/change-in-my-life.html' title='Change in my life'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>27</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-484997240897989108</id><published>2008-01-28T08:56:00.000-08:00</published><updated>2008-01-28T09:05:47.962-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP SOAP extension'/><category scheme='http://www.blogger.com/atom/ns#' term='NuSOAP'/><category scheme='http://www.blogger.com/atom/ns#' term='WSF/PHP'/><title type='text'>What is more flexible ?</title><content type='html'>&lt;a href="http://phpwebservices.blogspot.com/2008/01/hello-world-service-with-php-soap.html"&gt; Here &lt;/a&gt; is a Hello world Service with PHP SOAP extension , NuSOAP and WSF/PHP . Those are the 3 most popular PHP Web Services framework. So which is more flexible.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-484997240897989108?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/484997240897989108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=484997240897989108' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/484997240897989108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/484997240897989108'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/what-is-more-flexible.html' title='What is more flexible ?'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-2466311052297135465</id><published>2008-01-24T07:08:00.000-08:00</published><updated>2008-01-24T07:15:15.123-08:00</updated><title type='text'>What is Missing in PHP SOAP Extension?</title><content type='html'>PHP SOAP extension is good for simple web services. But to use the power of real web services in PHP &lt;a href="http://wso2.org/projects/wsf/php"&gt;WSF/PHP&lt;/a&gt; is the real solution. Limitations of PHP SOAP   extension very well explained &lt;a href="http://phpwebservices.blogspot.com/"&gt; here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-2466311052297135465?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/2466311052297135465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=2466311052297135465' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2466311052297135465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2466311052297135465'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/what-is-missing-in-php-soap-extension.html' title='What is Missing in PHP SOAP Extension?'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-3198945161689299072</id><published>2008-01-23T08:14:00.000-08:00</published><updated>2008-01-23T08:18:51.909-08:00</updated><title type='text'>Everything about PHP WebServices</title><content type='html'>PHP WebServices are getting popular thanks to &lt;a href="http://wso2.org/projects/wsf/php"&gt; WSF/PHP&lt;/a&gt;. So if you want to know about any thing on PHP WebServices , &lt;a href="http://phpwebservices.blogspot.com/"&gt; this&lt;/a&gt; is the place.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-3198945161689299072?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/3198945161689299072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=3198945161689299072' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/3198945161689299072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/3198945161689299072'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/everything-about-php-webservices.html' title='Everything about PHP WebServices'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-7023215314301871331</id><published>2008-01-21T06:30:00.000-08:00</published><updated>2008-01-21T06:59:21.194-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='WSF/PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Timestamp'/><title type='text'>Why We need a Timestamp in a SOAP message</title><content type='html'>A common concern in message-oriented systems relates to the timeliness of data. If the data is too old, it may get thrown out. If two contradicting messages arrive, the related timestamps may be used to decide which message gets executed and which one is ignored. To handle the time-related issues that showed up in WS-Security the wsu:Timestamp element, along with a few helper elements, was defined.&lt;br /&gt;&lt;br /&gt;By knowing the creation and expiration time, a receiver can decide if the data is new enough for its own use or if the data has become so stale that the message should be discarded. Following elements are used in a Timestamp.&lt;br /&gt;&lt;br /&gt;wsu:Created: Contains the time that the message was created.&lt;br /&gt;wsu:Expires: Set by a sender or intermediary, this identifies when the message expires.&lt;br /&gt;&lt;br /&gt;Adding a timestamp to your SOAP message using &lt;a href="http://wso2.org/downloads/wsf/php"&gt; Web Services framework for PHP&lt;/a&gt; is really easy.You only need to add following lines to your PHP script.&lt;br /&gt;&lt;br /&gt;/*sec array is the array in which you specify security options*/&lt;br /&gt;&lt;br /&gt;$sec_array = array("includeTimeStamp" =&gt; TRUE );&lt;br /&gt;&lt;br /&gt;/*The valid time period of the message in seconds.*/&lt;br /&gt;$sec_token = new WSSecurityToken(array("ttl" =&gt; 300));&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-7023215314301871331?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/7023215314301871331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=7023215314301871331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/7023215314301871331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/7023215314301871331'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/why-we-need-timestamp-in-soap-message.html' title='Why We need a Timestamp in a SOAP message'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-7245714300164827061</id><published>2008-01-19T08:41:00.000-08:00</published><updated>2008-01-19T08:56:10.154-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WS-Addressing'/><category scheme='http://www.blogger.com/atom/ns#' term='Axis2/C'/><category scheme='http://www.blogger.com/atom/ns#' term='WSF/PHP'/><title type='text'>WS-Addressing with WSF/PHP</title><content type='html'>&lt;a href="http://www.w3.org/Submission/ws-addressing/"&gt; Web Services addressing&lt;/a&gt; is one of the fundamental specifications which drives Web Services platform. There are lot of reasons why you need Web Services Addressing. For a detailed description see &lt;a href="http://wso2.org/library/2605"&gt; this&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://wso2.org/downloads/wsf/php"&gt; WSO2 WSF/PHP&lt;/a&gt; fully support WS-Addressing. It inherits this from &lt;a href="http://ws.apache.org/axis2/c/"&gt; Axis2/C&lt;/a&gt; Web Service engine. Adding Addressing support in WSF/PHP is really simple.&lt;br /&gt;&lt;br /&gt;You only need to add following lines to your PHP script when you are invoking a Web Service.&lt;br /&gt;&lt;br /&gt;Assuming some one want to set Addressing action and endpoint uri using addressing. Then first add the following.&lt;br /&gt;&lt;br /&gt;$reqMessage = new WSMessage($requestPayloadString,&lt;br /&gt;     array( "to" =&gt; "http://localhost/samples/echo_service_addr.php",&lt;br /&gt;     "action" =&gt; "http://php.axis2.org/samples/echoString"));&lt;br /&gt;&lt;br /&gt;Then enable WS-Addressing.&lt;br /&gt;&lt;br /&gt;$client = new WSClient(array("useWSA" =&gt; TRUE));&lt;br /&gt;&lt;br /&gt;Similarly you can set FaulTto, ReplyTo and other addressing parameters as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-7245714300164827061?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/7245714300164827061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=7245714300164827061' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/7245714300164827061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/7245714300164827061'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/ws-addressing-with-wsfphp.html' title='WS-Addressing with WSF/PHP'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-551784323594611340</id><published>2008-01-16T09:40:00.000-08:00</published><updated>2008-01-16T09:53:54.640-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Axis2'/><category scheme='http://www.blogger.com/atom/ns#' term='interop'/><category scheme='http://www.blogger.com/atom/ns#' term='WSF/PHP'/><title type='text'>WSF/PHP interop with .net</title><content type='html'>&lt;a href="http://wso2.org/projects/wsf/php"&gt; WSF/PHP&lt;/a&gt; has passed many interop testing. Specially with .net web services and  &lt;a href="http://ws.apache.org/axis2/"&gt;Axis2&lt;/a&gt; web services. Specially WSF/PHP security stuff and MTOM stuff are well tested in most of .net interop testing events. For more details on this see WSF/PHP &lt;a href="http://wso2.org/project/wsf/php/roadmap.html"&gt; Road Map.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-551784323594611340?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/551784323594611340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=551784323594611340' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/551784323594611340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/551784323594611340'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/wsfphp-interop-with-net.html' title='WSF/PHP interop with .net'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-5390414147513858856</id><published>2008-01-15T03:56:00.000-08:00</published><updated>2008-01-15T04:22:01.264-08:00</updated><title type='text'>Signing the SOAP message</title><content type='html'>When sending SOAP messages to web services Integrity protection is crucial. That is the service invoker should be confident that his messages is not altered way through. The Problem is this useful facility does not offered by most of the PHP Web service frame works. &lt;a   href="http://wso2.org/projects/wsf/php"&gt;WS02 WSF/PHP&lt;/a&gt; not only offers  this facility but also in a really easy manner.&lt;br /&gt;&lt;br /&gt;You need to add only the following lines to your web services client script to enable signature.&lt;br /&gt;&lt;br /&gt;/*signers public key*/&lt;br /&gt; $my_cert = ws_get_cert_from_file("location/of/the/key");&lt;br /&gt;&lt;br /&gt;/*Telling the framework to sign the message body*/&lt;br /&gt; $sec_array = array("sign"=&gt;TRUE)&lt;br /&gt;&lt;br /&gt;For more details on creating the PHP script see &lt;a href="http://wso2.org/library/2814"&gt; this .&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-5390414147513858856?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/5390414147513858856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=5390414147513858856' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5390414147513858856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5390414147513858856'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/signing-soap-message.html' title='Signing the SOAP message'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-5431484101120445390</id><published>2008-01-14T09:06:00.000-08:00</published><updated>2008-01-14T09:52:01.866-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='WS-Policy'/><category scheme='http://www.blogger.com/atom/ns#' term='WSF/PHP'/><title type='text'>WS-Policy support in WSF/PHP</title><content type='html'>&lt;a href="http://specs.xmlsoap.org/ws/2004/09/policy/ws-policy.pdf"&gt; Web Services Policy&lt;/a&gt; is the standard way of publishing non functional requirements of a Web Service. For an example the only way of telling that a service needs all the incoming messages to it be signed is through Web Service Policy. &lt;a href="http://wso2.org/projects/wsf/php"&gt; WSO2 WSF/PHP&lt;/a&gt; is the only Web Services framework for PHP which suppoorts WS-Policy in an easy to use way.&lt;br /&gt;&lt;br /&gt;You don't need to understand complex policy grammar. It is just PHP scripting. Follwing is an easy approach.&lt;br /&gt;&lt;br /&gt;/*The Payload to be sent*/&lt;br /&gt;$reqPayloadString = &lt;ns1:echo xmlns:ns1="http://php.axis2.org/samples"&gt;&lt;text&gt;Hello World!&lt;/text&gt;&lt;/ns1:echo&gt;&lt;br /&gt;&lt;br /&gt;try {&lt;br /&gt;/*The certificates need for security*/&lt;br /&gt;&lt;br /&gt;/*Reciever's Public Key*/&lt;br /&gt;    $rec_cert = ws_get_cert_from_file("../keys/bob_cert.cert");&lt;br /&gt;&lt;br /&gt;/*Sender's Private Key*/&lt;br /&gt;    $pvt_key = ws_get_key_from_file("../keys/alice_key.pem");&lt;br /&gt;&lt;br /&gt;/*construction of Message using the endpoint Address*/&lt;br /&gt;    $reqMessage = new WSMessage($reqPayloadString,&lt;br /&gt;                                array("to" =&gt; "http://localhost/samples/security/encryption/service.php",&lt;br /&gt;                                      "action" =&gt; "http://php.axis2.org/samples/echoString"));&lt;br /&gt;&lt;br /&gt;/*The configurations need for security. Actually these are assertions found in Security Policy*/&lt;br /&gt;    $sec_array = array("encrypt" =&gt; TRUE,&lt;br /&gt;                       "algorithmSuite" =&gt; "Basic256Rsa15",&lt;br /&gt;                       "securityTokenReference" =&gt; "IssuerSerial");&lt;br /&gt;&lt;br /&gt;/*construction of actual Policy object.*/&lt;br /&gt;    $policy = new WSPolicy(array("security" =&gt; $sec_array));&lt;br /&gt;    $sec_token = new WSSecurityToken(array("privateKey" =&gt; $pvt_key,&lt;br /&gt;                                           "receiverCertificate" =&gt; $rec_cert));&lt;br /&gt;&lt;br /&gt;/*construction of WSClient to Send the message*/&lt;br /&gt;    $client = new WSClient(array("useWSA" =&gt; TRUE,&lt;br /&gt;                                 "policy" =&gt; $policy,&lt;br /&gt;                                 "securityToken" =&gt; $sec_token));&lt;br /&gt;&lt;br /&gt;/*sending the message*/&lt;br /&gt;    $resMessage = $client-&gt;request($reqMessage);&lt;br /&gt;&lt;br /&gt;    printf("Response = %s \n", $resMessage-&gt;str);&lt;br /&gt;&lt;br /&gt;If you have policy file instead of options , you just need to construct the policy object as follows.&lt;br /&gt;&lt;br /&gt;$policy_xml = file_get_contents("policy.xml");&lt;br /&gt;$policy = new WSPolicy($policy_xml);&lt;br /&gt;&lt;br /&gt;So WS-Policy are now not complex things for PHP users willing to do Web Services.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-5431484101120445390?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/5431484101120445390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=5431484101120445390' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5431484101120445390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5431484101120445390'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/ws-policy-support-in-wsfphp.html' title='WS-Policy support in WSF/PHP'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-2891487748731045630</id><published>2008-01-13T07:05:00.000-08:00</published><updated>2008-01-13T08:19:55.931-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='UsernameToken'/><category scheme='http://www.blogger.com/atom/ns#' term='WSF/PHP'/><title type='text'>Authenticating Users in PHP Web Services.</title><content type='html'>User authentication is very important in Web services. &lt;a href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0.pdf"&gt; Web Services Security Username token profile &lt;/a&gt; is the widely used standard used in Web Services for client authentication. &lt;a href="http://wso2.org/downloads/wsf/php/1.0.0/"&gt; WSO2 WSF/PHP&lt;/a&gt; provides Username token based authentication really easy. You may have a MYSQL based user details with their passwords. By just providing a callback function as following It is really easy to authenticate users before invoking the business logic.&lt;br /&gt;&lt;br /&gt;/* The business logic */&lt;br /&gt;&lt;br /&gt;function echoFunction($inMessage) {&lt;br /&gt;&lt;br /&gt;        $returnMessage = new WSMessage($inMessage-&gt;str);&lt;br /&gt;&lt;br /&gt;        return $returnMessage;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/*Password Callback function&lt;br /&gt;function get_my_password_function($username)&lt;br /&gt;{&lt;br /&gt;        //logic to get password from any source (ex: using mysql database&lt;br /&gt;        // etc)&lt;br /&gt;        &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;$operations = array("echoString" =&gt; "echoFunction");&lt;br /&gt;$actions = array("http://php.axis2.org/samples/echoString" =&gt; "echoString");&lt;br /&gt;$sec_array = array("useUsernameToken" =&gt; TRUE);&lt;br /&gt;&lt;br /&gt;$policy = new WSPolicy(array("security"=&gt;$sec_array));&lt;br /&gt;$sec_token = new WSSecurityToken(array("passwordCallback" =&gt; "get_my_password_function",&lt;br /&gt;                                       "passwordType" =&gt; "Digest"));&lt;br /&gt;&lt;br /&gt;$svr = new WSService(array("operations" =&gt; $operations,&lt;br /&gt;                           "actions" =&gt; $actions,&lt;br /&gt;                           "policy" =&gt; $policy,&lt;br /&gt;                           "securityToken" =&gt; $sec_token));&lt;br /&gt;&lt;br /&gt;$svr-&gt;reply();&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;     &lt;br /&gt;For more clarification see &lt;a href="http://wso2.org/project/wsf/php/1.0.0/docs/manual.html"&gt; WSF/PHP user manual&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-2891487748731045630?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/2891487748731045630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=2891487748731045630' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2891487748731045630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/2891487748731045630'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/authenticating-users-in-php-web.html' title='Authenticating Users in PHP Web Services.'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-7370957138501517368</id><published>2008-01-07T07:37:00.000-08:00</published><updated>2008-01-07T07:53:05.610-08:00</updated><title type='text'>WSO2 Web Services Framework for PHP v1.2.0 Released</title><content type='html'>Nandika has announced the release of &lt;a href="http://wso2.org/downloads/wsf/php"&gt;WSO2 WSF/PHP v 1.2.0 &lt;/a&gt;. Actually if you see the &lt;a href="http://wso2.org/project/wsf/php/1.2.0/features.html"&gt; feature list&lt;/a&gt; it is not only about sending a simple SOAP message to the other end. It is the only web services frame work in PHP which is capable of secure , Reliable Web services. And the only one capable of Attachments. This release have a very rich WSDL support. Even WS-Addressing and WS-Security Policy support through WSDL mode.&lt;br /&gt;&lt;br /&gt;So Web services are not for developers any more. Little PHP script is sufficient now. Do you have a WSDL or location of a WSDL? Then why not try WSF/PHP ?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-7370957138501517368?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/7370957138501517368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=7370957138501517368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/7370957138501517368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/7370957138501517368'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/wso2-web-services-framework-for-php.html' title='WSO2 Web Services Framework for PHP v1.2.0 Released'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-418894286270137556</id><published>2008-01-05T04:35:00.000-08:00</published><updated>2008-01-06T03:55:00.229-08:00</updated><title type='text'>Different Work</title><content type='html'>I am doing some different work these days. Actually it is regarding &lt;a href="https://issues.apache.org/jira/browse/AXIS2C-858"&gt; Axis2C-858. &lt;/a&gt; I am doing hours of testing with the help of &lt;a href="http://samisa-abeysinghe.blogspot.com/"&gt;Samisa&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;I am also assigned to work on &lt;a href="http://ws.apache.org/axis2/c/"&gt;Axis2/C&lt;/a&gt;. I have been working on many projects after joining &lt;a href="http://wso2.org/"&gt; WSO2&lt;/a&gt;. I worked on WS-Security, WS-Security Policy, WS-Policy, WS-Reliable messaging, WS-client etc. &lt;br /&gt;&lt;br /&gt;During the last 3 months I was debugging debugging and debugging to find many problems in &lt;a href="http://ws.apache.org/sandesha/sandesha2/c/"&gt; Sandesha2/C&lt;/a&gt;. I think the issues I found in Sandesha2/c will surely help it to stabilize.&lt;br /&gt;&lt;br /&gt;During first six month of 2007 I was coding , coding and coding in Neethi/C and &lt;a href="http://ws.apache.org/rampart/c/"&gt;Rampart/C&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Now I am testing, testing and testing hours. So different experiences!.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-418894286270137556?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/418894286270137556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=418894286270137556' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/418894286270137556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/418894286270137556'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/different-work.html' title='Different Work'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490583017097788604.post-5796490650114005703</id><published>2008-01-01T08:56:00.000-08:00</published><updated>2008-01-05T04:18:38.399-08:00</updated><title type='text'>2007 - A success</title><content type='html'>At the beginning of 2008 I just thought to write the first blog as a review about 2007. Actually 2007 was a great year. It is an year which ended up in great success after 2001. 2001 is an special year . Because it is the year in which I did my Advanced Level exam. That year was special because I can remember at the beginning of that year I was scoring around 40% for my Mathematics paper. But due to the hard work during that year I was able to get around 90% and at the examination got a distinction. It was really memorable.&lt;br /&gt;&lt;br /&gt;2007 was great because I worked really hard during this year at WSO2 and that gave me tremendous experience for my carrier. I worked on lots of different projects with great pleasure and learned a lot. Actually I am really proud to be a member of WSO2 C team. &lt;br /&gt;&lt;br /&gt;I was able to do great deal of repair work for my little house with the help of family members. Actually when I see my mother, father and sister living there comfortably than earlier it generates great amount of pleasure and satisfaction.&lt;br /&gt;&lt;br /&gt;I got ADSL last week. So now I can blog frequently.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4490583017097788604-5796490650114005703?l=manjula-peiris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manjula-peiris.blogspot.com/feeds/5796490650114005703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4490583017097788604&amp;postID=5796490650114005703' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5796490650114005703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490583017097788604/posts/default/5796490650114005703'/><link rel='alternate' type='text/html' href='http://manjula-peiris.blogspot.com/2008/01/review-of-2007.html' title='2007 - A success'/><author><name>Manjula</name><uri>http://www.blogger.com/profile/05682401528708609655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
