Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 71030 invoked from network); 15 May 2006 13:00:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 May 2006 13:00:24 -0000 Received: (qmail 19567 invoked by uid 500); 15 May 2006 12:59:55 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 19255 invoked by uid 500); 15 May 2006 12:59:54 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 79868 invoked by uid 500); 15 May 2006 05:53:14 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 79865 invoked by uid 99); 15 May 2006 05:53:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 May 2006 22:53:13 -0700 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 14 May 2006 22:53:06 -0700 Received: (qmail 91999 invoked by uid 65534); 15 May 2006 05:52:46 -0000 Message-ID: <20060515055246.91997.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r406543 [3/6] - in /webservices/axis2/trunk/java/xdocs/latest: ./ adb/ adb/images/ images/ images/archi-guide/ images/userguide/ jibx/ resources/ resources/schemas/ Date: Mon, 15 May 2006 05:51:47 -0000 To: axis2-cvs@ws.apache.org From: chatra@apache.org X-Mailer: svnmailer-1.0.8 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Propchange: webservices/axis2/trunk/java/xdocs/latest/images/clip_image016.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/clip_image018.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/clip_image018.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/clip_image018.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/clip_image020.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/clip_image020.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/clip_image020.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/clip_image022.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/clip_image022.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/clip_image022.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/clip_image024.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/clip_image024.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/clip_image024.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/clip_image026.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/clip_image026.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/clip_image026.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/codegen.gif URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/codegen.gif?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/codegen.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/correlator.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/correlator.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/correlator.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/deploymetncomponent.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/deploymetncomponent.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/deploymetncomponent.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/editserviecpara.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/editserviecpara.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/editserviecpara.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/engine1.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/engine1.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/engine1.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/faultmsg.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/faultmsg.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/faultmsg.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/faultservice.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/faultservice.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/faultservice.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/globalchain.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/globalchain.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/globalchain.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/happyaxis.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/happyaxis.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/happyaxis.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image001.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image001.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image001.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image002.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image002.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image002.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image003.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image003.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image003.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image004.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image004.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image004.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image005.gif URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image005.gif?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image005.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image005.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image005.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image005.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image006.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image006.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image006.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image007.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image007.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image007.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image008.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image008.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image008.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image009.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image009.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image009.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image010.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image010.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image010.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image011.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image011.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image011.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image012.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image012.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image012.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/image013.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/image013.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/image013.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/inactivate.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/inactivate.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/inactivate.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/maven.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/maven.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/maven.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/module.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/module.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/module.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/moduleengage.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/moduleengage.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/moduleengage.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/modules.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/modules.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/modules.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/new.gif URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/new.gif?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/new.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/om2.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/om2.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/om2.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/om3.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/om3.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/om3.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/parameters.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/parameters.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/parameters.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/select_service_for_handler.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/select_service_for_handler.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/select_service_for_handler.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/send.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/send.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/send.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/sendAsync.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/sendAsync.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/sendAsync.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/sendRecievce.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/sendRecievce.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/sendRecievce.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/sendRecieveAsync.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/sendRecieveAsync.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/sendRecieveAsync.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/sendRecieveWithListnere.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/sendRecieveWithListnere.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/sendRecieveWithListnere.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/serverSide.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/serverSide.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/serverSide.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/service.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/service.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/service.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/serviceHandlers.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/serviceHandlers.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/serviceHandlers.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/servicegroups.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/servicegroups.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/servicegroups.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/userguide/DirectoryStructure.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/userguide/DirectoryStructure.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/userguide/DirectoryStructure.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/userguide/ModuleView.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/userguide/ModuleView.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/userguide/ModuleView.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/userguide/MyServiceDeployed.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/userguide/MyServiceDeployed.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/userguide/MyServiceDeployed.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/userguide/ServiceDeployed.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/userguide/ServiceDeployed.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/userguide/ServiceDeployed.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/userguide/ServiceItems.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/userguide/ServiceItems.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/userguide/ServiceItems.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/userguide/TestClient.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/userguide/TestClient.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/userguide/TestClient.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/userguide/http-get-ws.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/userguide/http-get-ws.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/userguide/http-get-ws.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/viewphases.jpg URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/viewphases.jpg?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/viewphases.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/images/wom.png URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/images/wom.png?rev=406543&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/axis2/trunk/java/xdocs/latest/images/wom.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/axis2/trunk/java/xdocs/latest/index.html URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/index.html?rev=406543&view=auto ============================================================================== --- webservices/axis2/trunk/java/xdocs/latest/index.html (added) +++ webservices/axis2/trunk/java/xdocs/latest/index.html Sun May 14 22:51:17 2006 @@ -0,0 +1,300 @@ + + + + + Axis2 1.0 Documentation + + + +

Apache Axis2 Version 1.0 Documentation

+ + + + + + + + + + + + + + + + + + + + + + +

Getting Started with Axis2

+
DocumentDescription
Installation GuideDetailed instructions on installation methods, information on + system prerequisites & distribution packages.
User's GuideDescribing how to write & deploy Web services, writing Web + services clients, details on module & samples
Web Administrator's GuideDetailed instructions on administration console of Axis2 Web + application, with the know how to configure Axis2 at run time.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

Tools References

+
DocumentDescription
Code Generator + Tool- Command Line & Ant TaskLists command line & Ant task references. How to build file + using custom Ant task and invoking Code Generator from Ant
Code Generator + Wizard - eclipse Plug-inExplains the usage of the code generator eclipse plug-in for + WSDL2Java and/or Java2WSDL operations
Service + Archive Generator Wizard - eclipse Plug-inDescribes functionality of eclipse plugin service archive generator + tool
Code + Generator Wizard- IntelliJ IDEA Plug-inGuide on the usage of IDEA code generation plug-in to create + service archives and generate java class files from WSDL files
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Additional References

+
DocumentDescription
Axis2 + Wiki
Axis2 Architecture GuideIntroduction to Axis2's modular architecture
Migrating from Axis 1.x to Axis 2Guiding Axis 1.x users to switch to Axis2
AXIOM TutorialAn introduction to Axis2's Object Model
REST SupportIntroduction on Representational State Transfer
MTOM Guide -Sending Binary Data with + SOAPDescribes sending binary data using SOAP Message Transmission + Optimization Mechanism
Axis2 Configuration GuideExplains the three configurations-global, service and module in + Axis2
Online Java DocsJava API documentation
ADB How-toGuide on Axis2 Databinding Framework
Tweaking the ADB Code + GeneratorExplains available mechanisms to extend ADB
ADB Integration with + Axis2Guide to writing an extension using the integrator in order to + integrate ADB with Axis2
JiBX Integration With + Axis2Guide to using JiBX with Axis2 in order to expose existing Java + code as a Web service and to implement a client for an existing Web + service
WS-Security + How-toGuide to engaging and configuring WSS4J security module
Web Services Policy Support In + Axis2Introduction to the role of Web services policy in Axis2
SOAP Monitor How-toGuide on utility used to see SOAP messages being used to invoke Web + services along with the results of those messages.
TCP TransportGuide to send and receive SOAP Messages via TCP in Axis2
Mail TransportExplains how to invoke a service using a Mail transport
Mail Transport + ConfigurationGuide to configure Axis2 in order to get mail transport working
HTTP TransportsDescription on HTTP sender and HTTP receiver in Axis2
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Articles and Tutorials- Axis2

+
DocumentAuthor(s)
Axis2 + - The Future of Web ServicesSrinath Perera, Ajith Ranabahu
Introducing + Axis2, the Next Generation of the Apache Web Service StackSrinath Perera
Web + Services Messaging with Apache Axis2: Concepts and TechniquesSrinath Perera, Ajith Ranabahu
Axis2 + Execution FrameworkDeepal Jayasinghe
Axis2 + Deployment ModelDeepal Jayasinghe
Understanding + Axis2 Deployment ArchitectureDeepal Jayasinghe
Inside + the Axis2 Code generatorAjith Ranabahu
Utilizing + a Non-Java Web Service with Axis2Deepal Jayasinghe
Avoiding + Mistakes Made Using Axis2Deepal Jayasinghe
Setting + up Apache Axis2 in eclipse IDERuchith Fernando
Introducing + Axis2Eran Chinthaka, Chathura Herath
Accelerating + Web Services Development with Axis2Deepal Jayasinghe, Ajith Ranabahu
Migrating + Apache Axis apps to Axis2 using Apache GeronimoTyler Anderson
+
+ + + + + + + + + + + + + + + + + + + +

Articles and Tutorials- AXIOM

+
DocumentAuthor(s)
Fast + and Lightweight Object Model for XMLAn Introduction to AXIOM, the Open Source API for Working with + XML
Get the + most out of XML processing with AXIOMExplaining the flexibilities of AXIOM in developerworks.
+ + Added: webservices/axis2/trunk/java/xdocs/latest/installationguide.html URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/installationguide.html?rev=406543&view=auto ============================================================================== --- webservices/axis2/trunk/java/xdocs/latest/installationguide.html (added) +++ webservices/axis2/trunk/java/xdocs/latest/installationguide.html Sun May 14 22:51:17 2006 @@ -0,0 +1,352 @@ + + + + Axis2 Installation Guide + + + + +

Apache Axis2 Installation Guide

+ +

-Axis2 Version 1.0

+ +

This document will give you information on Axis2 distribution packages, +system prerequisites & setting up environment variables and tools +followed by detailed instructions on installation methods.

+ +

Send your feedback to: axis-dev@ws.apache.org. Prefix +subject with [Axis2]. To subscribe to mailing list see here.

+ +

Contents

+ + + +

Download Axis2

+ +

Axis2 is distributed in several convenient distribution packages and can +be installed either as a standalone server or as part of a J2EE compliant +servlet container. Axis2 is distributed under the Apache License, version +2.0. You can download Axis2 here. Latest release of +Axis2 is version 1.0.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Distribution NameDescriptionItems
Minimal Distribution - BinaryThis distribution is aimed at advanced users who will be embedding + Axis2. It will contain the minimal runtime required to act as a Web + service client and/or a server (axis2-kernel-1.0.jar will contain + compiled versions of common and core modules.)
    +
  • axis2-kernel-1.0.jar, axis2-adb-1.0.jar
  • +
  • third party distributable libraries
  • +
  • README.TXT and release-notes.html
  • +
+
Minimal Distribution - Source

This will contain the sources of + Axis2 minimal distribution. One can generate a binary distribution + from this by typing $maven dist-min-bin. + (Set up Axis2 environment before + running this command)

+
    +
  • sources of Axis2 common, java2wsdl , adb and core modules
  • +
  • README.TXT and release-notes.html
  • +
+
Standard Distribution - BinaryThis is the complete version of Axis2 and will contain useful + samples as well. Useful for some one to get familiar with Axis2. + (Since WS-Addressing implementation module is engaged in to Axis2, by + default, this distribution will contain addressing.mar. But the + other modules that are being developed within Axis2 will not be + included here and are available to be downloaded separately from here.)
    +
  • all the content of minimal-binary distribution
  • +
  • Contents of codegen and doom modules
  • +
  • Samples
  • +
  • addressing-1.0.mar
  • +
+
Standard Distribution - SourceThis will contain the sources of Axis2 standard distribution. One + can generate a binary distribution from this by typing $maven dist-standard-bin. (Set up Axis2 environment before running this + command)
    +
  • all the content of minimal-source distribution
  • +
  • Contents of codegen and doom modules
  • +
  • Samples
  • +
+
WAR (Web Archive) DistributionThis will be the web application of Axis2 which can be deployed in + most of the servlet containers.
    +
  • all the contents of the minimal distribution
  • +
  • Admin Web Application
  • +
+
Documents DistributionThis will contain all the documentation in one package.
    +
  • xdocs
  • +
  • javadocs
  • +
+
Plugin DistributionThis will contain the plugins that are created for Eclipse and + IDEA.
    +
  • IntelliJ IDEA plugins
  • +
  • Eclipse plugins
  • +
+
+ + +

System Requirements

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Java Runtime + +

Environment

+
1.4 (It has not been fully tested on the latest JRE 1.5) + +

For instructions on setting up the JRE in different operating + systems, visit http://java.sun.com

+
Maven1.0.2 or higher in Maven 1.x series (download). Please + download maven 1.x version. Axis2 is not compatible with maven2 + yet. + +

Required only for building Axis2 from source distribution

+
MemoryNo minimum requirement
DiskNo minimum requirement. + +

Approximately 20 MB will be used for war distribution

+
Operating systemTested on Windows XP, Linux, Mac OS X, Fedora core, Ubuntu, + Gentoo
+ +

All the required jars are shipped with the binary distribution.

+ +

Running the Maven build will automatically download the required jars when +using source distribution.

+ + +

Setting Up the Environment and Tools

+ + +

Maven

+ +

The Axis2 build is based on Maven . Hence the only prerequisite to build Axis2 from +source distribution is to have Maven installed. Extensive instruction guides +are available at the Maven site.This guide however contains the easiest path +for quick environment setting. Advanced users who wish to know more about +Maven can visit here .

+
    +
  • MS Windows
  • +
+
    +
  1. Download and run the Windows installer package
  2. +
  3. Set the 'Environment Variables' ( create system variable MAVEN_HOME and + edit path. eg: "C:\Program Files\Apache Software Foundation\maven-1.0.2"; + path %MAVEN_HOME%\bin)
  4. +
  5. Make sure that system variable JAVA_HOME is set to the location of your + JDK, eg. C:\Program Files\Java\jdk1.5.0_02
  6. +
  7. Run maven --version to verify that it is correctly installed.
  8. +
+ +

clip_image002 (15K)

+
    +
  • Unix based OS (Linux etc)
  • +
+ +

The tar ball or the zip archive is the best option. Once the archive is +downloaded expand it to a directory of choice and set the environment +variable MAVEN_HOME and add MAVEN_HOME/bin to the path as well. More +instructions for installing Maven in Unix based operating systems can be +found here .

+ +

Once maven is properly installed you can start building Axis2.

+ + +

The Axis2 Source Distribution

+ +

The source distribution is available as a zipped archive. +All the necessary build scripts are included with the source distribution. +Once the source archive is expanded into a directory of choice, moving to the +particular directory and running maven command will build the Axis2 jar +file.

+ +

clip_image004 (43K)
+

+ +

Once the command completes, the binaries (jar files in this case) can be +found at a newly created "target" directory.

+ +

Note: For the first Maven build (if the maven repository is not +built first) it will take a while since required jars need to be downloaded. +However this is a once only process and will not affect any successive +builds.

+ +

The default maven build will however build only the Axis2 +jar file. To obtain a WAR (Web Archive), "maven war" command should be +issued. This will create a complete WAR with the name axis2.war inside the +target directory.

+ +

Once this build step is complete, the binaries are ready to be +deployed.

+ + +

Installing Axis2 in a Servlet Container

+
    +
  1. Download Axis2 war file
  2. +
  3. Drop the war in the webapps folder. Most servlet containers will + automatically install war. (some servlet containers may require a restart + in order to capture the new web application. Refer your servlet container + documentation for more information about this.)
  4. +
  5. Once the WAR is successfully installed, test it by pointing the web + browser to the http:// <host :port>/ axis2. It + should produce the following page which is the Axis2 Web + Application Home Page.
  6. + +

    + +

    +
  7. Use validate link to ensure that everything is fine and smooth. If the + validation fails then the war has failed to install properly or some + essential jars are missing. At such a situation the documentation of the + particular servlet container should be consulted to find the problem. The + following page is a successful validation. Note the statement core Axis2 + libraries are present. +

    +
  8. + +

    +
+ + +

Uploading Services

+
    +

    The Axis2 web application also provides an interface to upload services. + Once a service is created according to the service specification as + described in User's Guide that jar + file can be uploaded using the upload page.

    + +

    + +

    The uploaded jar files will be stored in the default service directory. + For Axis2 this will be the <webapps>/axis2/WEB-INF/services + directory. Once a service is uploaded it will be installed instantly.

    + +

    Since Axis2 supports hot deployment one can drop the service jar + directly through the file system to the above mentioned services + directory.It will also cause the service to be automatically installed + without the container being restarted.

    + +

    Use the 'Services' link on the Web Application home page to check the + successful installation of a service. The services and the operations of + successfully installed services will be displayed in the available services + page.

    + +

    + +

    + +

    If the service has deployment time error it will list those services as + faulty services. If you click on the link you can see the your deployment + fault error message(s).

    + +

    + +

    Deployment time error message

    + +

    + +

    + +

    Axis2 Administration is all about configuring Axis2 at the run time and + the configuration will be transient. More descriptions are available in Axis2 Web Administration + Guide

    +
+ + Added: webservices/axis2/trunk/java/xdocs/latest/jibx/jibx-codegen-integration.html URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/jibx/jibx-codegen-integration.html?rev=406543&view=auto ============================================================================== --- webservices/axis2/trunk/java/xdocs/latest/jibx/jibx-codegen-integration.html (added) +++ webservices/axis2/trunk/java/xdocs/latest/jibx/jibx-codegen-integration.html Sun May 14 22:51:17 2006 @@ -0,0 +1,135 @@ + + + + + + + +

JiBX Integration With Axis2

+ +

This document will explain the usage of JiBX with Axis2 in order to expose +existing Java code as a Web service and to implement a client for an existing +Web service (or the service stubs for implementing the service).

+ +

Content

+ + + +

Introduction

+ +

JiBX data binding supports fast and +flexible conversions between plain old Java objects (POJOs) and XML. JiBX +uses a mapped binding approach that's based on a binding definition document +you provide. This lets you customize the way your Java objects are converted +to and from XML. These features make JiBX especially useful if you're +developing a Web service based on existing Java code.

+ +

Axis2 supports using JiBX with your Web services, including generating the +necessary linkage code for both client and server sides. However, the Axis2 +support for JiBX doesn't currently include code generation from the schema +for a Web service - you need to provide your own data classes and JiBX +binding definition, and you also need to make sure that the binding +definition matches the XML structures defined for your Web service. The JiBX +project provides some basic tools to help with code generation from schema, +binding generation from Java classes, and schema generation from the +combination of Java classes and a binding definition. In the future, improved +versions of these tools will be integrated directly into the Axis2 framework +support, but for now you're on your own with this part of the setup.

+ +

You can use JiBX data binding both to expose existing Java code as a +service, and to build a client for an existing service. This document runs +through the sequence of steps involved for each of these cases, just to help +users understand the basic approach to working with JiBX in Axis2. You can +find full instructions on the standard JiBX parts of this sequence on the JiBX web site.

+ + +

Starting from Java

+ +

Here's the sequence of steps for using JiBX with Axis2 to expose existing +Java code as a Web service:

+
    +
  1. Create a JiBX binding definition for the data being transferred by the + Web service
  2. +
  3. Create a schema that matches the XML defined by your binding (you may + be able to use the JiBX schema generator to help with this)
  4. +
  5. Create a WSDL document for your service, with the schema embedded or + imported.
  6. +
  7. Generate Axis2 server-side linkage code using WSDL2Java with the WSDL + and your binding definition
  8. +
  9. Run the JiBX binding compiler on your Java classes to add the actual + binding code
  10. +
  11. Include the axis2-jibx.jar in your runtime classpath, along with + the jibx-runtime.jar (normally done by including these in the + axis2/WEB-INF/lib directory)
  12. +
+ +

The above is assuming:

+
    +
  1. Your code already provides methods to implement the operations you want + to expose as a Web service
  2. +
  3. These methods each take a single parameter object that's unique to the + method
  4. +
  5. Each return a single response object.
  6. +
+ +

If this is not the case, you'll also need to create wrapper classes +and perhaps wrapper methods for now. See the JiBX example for more details on this.

+ + +

Starting from WSDL

+ +

Here's the sequence of steps for using JiBX with Axis2 to implement a +client for an existing Web service (or the service stubs for implementing the +service):

+
    +
  1. Create Java classes for the data being transferred by the Web service, + and a JiBX binding definition that maps these classes to the schema + defined by the Web service (you may be able to use the JiBX xsd2jibx tool + to help with this)
  2. +
  3. Generate Axis2 client linkage code using WSDL2Java with the WSDL and + your binding definition
  4. +
  5. Run the JiBX binding compiler on your Java classes to add the actual + binding code
  6. +
  7. Include the axis2-jibx.jar in your runtime classpath, along with + the jibx-runtime.jar
  8. +
+ + +

Axis2 JiBX Code Generation

+ +

To run the WSDL2Java tool for JiBX data binding you need:

+
    +
  1. To specify -d jibx to select JiBX binding.
  2. +
  3. You also need an additional parameter, -Ebindingfile {file} + (where {file} is the file path to your JiBX binding + definition).
  4. +
  5. Finally, you need to have the axis2-jibx.jar, the + jibx-bind-1.1beta2.jar, and the jibx-run-1.1beta2.jar files + from your Axis2 distribution included in the WSDL2Java classpath.
  6. +
+ + +

Coming Attractions

+ +

Soon after the release of Axis2 1.0 the JiBX support will be extended to +support automatic handling of "wrapped" doc/lit services. This will +dramatically reduce the number of classes that need to be defined for working +with simple services, and simplify both starting from Java and starting from +WSDL.

+ +

The full JiBX 1.1 release will also provide much improved support for code +generation from schemas, and for binding+schema generation from code, and +these features will be integrated into the Axis2 JiBX support. Check the JiBX project site for updates on both JiBX 1.1 +and the Axis2 JiBX support.

+
+ + Added: webservices/axis2/trunk/java/xdocs/latest/mail-configuration.html URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/mail-configuration.html?rev=406543&view=auto ============================================================================== --- webservices/axis2/trunk/java/xdocs/latest/mail-configuration.html (added) +++ webservices/axis2/trunk/java/xdocs/latest/mail-configuration.html Sun May 14 22:51:17 2006 @@ -0,0 +1,166 @@ + + + + + Mail transport + + + +

Mail Transport Configuration

+ +

This document provides the guidelines on how to configure Axis2 in order +to get mail transport working.

+ +

Send your feedback or questions to: axis-dev@ws.apache.org. Prefix +subject with [Axis2]. To subscribe to mailing list see here.

+ +

Content

+ + + +

Introduction

+ +

The inner workings of the mail transport has two parts, the transport +sender and the transport listener. The transport listener is a basic email +client which will be on a loop checking for new messages for a particular +email address. When an email comes in it will be tunneled into the Axis +engine.

+ +

Mail transport can be used against a generic mail server or it can be used +like a mailet. The simple mailet provided with Axis2 will direct any message +that is coming to a particular address into the Axis engine. The engine will +process the message and will use the Transport sender to send the reply.

+ +

To get started on the mail transport you need the following additional jar +dependencies on the classpath.

+
    +
  1. javamail
  2. +
  3. activation
  4. +
+ +

We use the Geronimo version of these jars to compile but you will need the +sun version to run the code. Specifically we are using +geronimo-spec-javamail-[version].jar and +geronimo-spec-activation-[version].jar. These will be downloaded by maven +when you run the maven build.

+ + +

Transport Sender

+ +

You need to have a mail account to activate the mail functionality. This +can either be a generic mail server or you can start up a James mail server. +The Mail transport sender can be activated by adding following entry to the +axis2.xml file.

+
   <transportSender name="mail" class="org.apache.axis2.transport.mail.MailTransportSender">
+        <parameter name="transport.mail.smtp.host" locked="xsd:false">smtp server host</parameter>
+        <parameter name="transport.mail.smtp.user" locked="xsd:false">user name</parameter>
+        <parameter name="transport.mail.smtp.password" locked="xsd:false">password</parameter>
+        <parameter name="transport.mail.smtp.port" locked="xsd:false">Port on the server for pop</parameter>
+   </transportSender>
+  
+ + +

Transport Receiver

+ +

The mail Listener can be activated by adding the following entry to the +axis2.xml file.

+
   <transportReceiver name="mail" class="org.apache.axis2.transport.mail.SimpleMailListener">
+        <parameter name="transport.mail.pop3.host" locked="xsd:false">pop server host</parameter>
+        <parameter name="transport.mail.pop3.user" locked="xsd:false">user name</parameter>
+        <parameter name="transport.mail.pop3.password" locked="xsd:false">password</parameter>
+        <parameter name="transport.mail.pop3.port" locked="xsd:false">Port on the server for smtp</parameter>
+        <parameter name="transport.mail.replyToAddress" locked="xsd:false">email address</parameter>
+  </transportReceiver>
+  
+ +

At the Client side if the Mail Listener is needed it is automatically +started by Axis2.

+ + +

Using Mail Transport in the Server Side

+ +

If the Mail Listener is need to be started as the server it can be done +with following command with the all the axis2 jars and the mail dependency +jars in the classpath.

+
java org.apache.axis2.transport.mail.SimpleMailListener repository-directory
+ + +

Using Mail Transport in the Client Side

+ +

Following code segment shows how to send a oneway SOAP message using the +mail transport, this needs the Transport Sender configured.

+
        OMElement payload = ....
+
+        AxisService service = new AxisService(serviceName.getLocalPart());
+        AxisOperation axisOperation = new OutOnlyAxisOperation(
+        );
+        axisOperation.setName(operationName);
+        axisOperation.setMessageReceiver(new MessageReceiver() {
+            public void receive(MessageContext messageCtx) {
+                envelope = messageCtx.getEnvelope();
+            }
+        });
+        service.addOperation(axisOperation);
+        //configContext.getAxisConfiguration().addService(service);
+
+        ServiceClient servicClient = new ServiceClient(clientConfigContext, service);
+
+        Options options = new Options();
+        options.setTo(targetEPR);
+
+        servicClient.setOptions(options);
+
+        servicClient.fireAndForget(operationName, payload);
+ + +

Configure James as SMTP and POP Server

+ +

Download the Apache James and start +James, connect to the James via Telnet for administrator James with the +following code

+
$telnet 127.0.0.1 4555
+Trying 127.0.0.1...
+Connected to localhost.localdomain (127.0.0.1).
+Escape character is '^]'.
+JAMES Remote Administration Tool 2.2.0
+Please enter your login and password
+Login id:
+root
+Password:
+root
+Welcome root. HELP for a list of commands
+ +

Add users to James

+
adduser axis2-server axis2
+User axis2-server added
+adduser axis2-client axis2
+User axis2-client added
+Connection closed by foreign host.
+ +

Now James is up and running with the accounts

+ + +

Using the Included Mail Server

+ +

The inbuilt mail server can be started from the command line using the +following piece of code when all the needed jars are in the class path.

+
java org.apache.axis2.transport.mail.server.MailServer
+ +

The server itself does not need any configuration or tinkering to work. A +ConfigurationContext and the ports to operate on are the only details needed. +The server will store the mails in memory against the recipient till the +recipient pops it from the server. To facilitate the use in *nix environments +as a non root user the pop and smtp ports used by default config/test cases +are (1024 + 25) and (1024 + 110).

+
+ + Added: webservices/axis2/trunk/java/xdocs/latest/mail-transport.html URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/mail-transport.html?rev=406543&view=auto ============================================================================== --- webservices/axis2/trunk/java/xdocs/latest/mail-transport.html (added) +++ webservices/axis2/trunk/java/xdocs/latest/mail-transport.html Sun May 14 22:51:17 2006 @@ -0,0 +1,320 @@ + + + + + Invoking a service using a mail + + + +

Invoking a Service Using a Mail Transport

+ +

This is document will basically explain how to call a service through Mail +transport in Axis2. The information provided is categorized under the +following topics listed in the content.

+ +

Send your feedback or questions to: axis-dev@ws.apache.org. Prefix +subject with [Axis2]. To subscribe to mailing list see here.

+ +

Content

+ + + +

Prologue

+ +

Most of Web services that we interact with are synchronous and +request-response in nature. However, we see that the synchronous +request-response type of interaction is only a part of the messaging +scenarios we encounter in real life. Asynchronous messaging is very important +in constructing loosely coupled systems. Take for instance a chain of stores, +at the end of the day all the stores all over can send a mail to the central +system telling it what that days business activity was and in the morning +when the store opens there will be a reply to that mail with new instructions +and updates. It is a lot like the way the old business worked but with a +modern touch. Similarly Axis2 mail transport can be used to implement +SETI@HOME through mail.

+ + +

Introduction

+ +

To start you will first need to go through the Mail Transport +Configuration document. It will give you all the information you need on +how to configure Axis2 to get mail transport working.

+ +

Broadly speaking there are 3 ways of calling a service through mail.

+ +
+ 1. Using the simple mail server included in Axis2.
+ 2. Using a generic mail server.
+ 3. Using mailets.
+
+ +

+ +

Option number 1 and 2 are fairly simple and easy to implement, whereas +option 3 is somewhat harder.The mailet scenario however does provide a more +robust and useful solution in a production environment.

+ +

If you are not a guru in mail related issues you should probably get +started on the simple mail server that has been provided with Axis2. Once you +get the hang of the Axis2 related issues then you can move on to tackle the +mail beast. Please do keep in mind that the mail server we have implemented +is ONLY FOR DEMONSTRATION/TESTING PURPOSES.

+ + +

1. Using Simple Mail Server Included in Axis2

+ +

The SMTP/POP server that we have included has the ability to function as a +standalone SMTP/POP server and also has the ability to work as a mailet. All +this is done through a small filter that keeps watch for certain +pre-configured email addresses. These pre-configured email addresses can be +changed by doing a simple edit of the filter class +org.apache.axis2.transport.mail.server.Sorter.

+ +

Now that we have the environment set up, let us start pumping out some +code to get the mail functionality off the ground. First we'll have a look at +it from the mail server side.
+

+
        // Start the mail server using the default configurations.
+        ConfigurationContext configContext = UtilsMailServer.start();
+
+        // Start the default mail listener. It will starting poling for mail
+        // using the configuration from the XML file.
+        SimpleMailListener ml = new SimpleMailListener();
+        ml.init(configContext,
+                configContext.getAxisConfiguration().getTransportIn(
+                        new QName(Constants.TRANSPORT_MAIL)));
+        ml.start();
+
+        private QName serviceName = new QName("EchoXMLService");
+        private QName operationName = new QName("echoOMElement");
+    
+        // Setup a service that will echo what we send to the server.
+        AxisService service = Utils.createSimpleService(serviceName, Echo.class
+                .getName(), operationName);
+        serverConfigContext.getAxisConfiguration().addService(service);
+ +

This code sets up your Axis2 server working through mail, with a single +service. If you need to have a look under the hood check out the MailServer +and UtilsMailServer classes.

+ +

Moving onto the client side have a look at the code listing below. It will +call the axisService that was setup on the previous code listing.

+
        ConfigurationContext configContext = UtilsMailServer
+                .createClientConfigurationContext();
+        AxisService service = new AxisService(serviceName.getLocalPart());
+        AxisOperation axisOperation = new OutInAxisOperation();
+        axisOperation.setName(operationName);
+        axisOperation.setMessageReceiver(new MessageReceiver() {
+            public void receive(MessageContext messageCtx) {
+                envelope = messageCtx.getEnvelope();
+            }
+        });
+        service.addOperation(axisOperation);
+        configContext.getAxisConfiguration().addService(service);
+        ServiceContext serviceContext = new ServiceGroupContext(configContext,
+        		(AxisServiceGroup) service.getParent()).getServiceContext(service);
+
+        Options options = new Options();
+        options.setTo(targetEPR);
+        options.setAction(operationName.getLocalPart());
+        options.setTransportInProtocol(Constants.TRANSPORT_MAIL);
+        options.setUseSeparateListener(true);
+
+        Callback callback = new Callback() {
+            public void onComplete(AsyncResult result) {
+                try {
+                    result.getResponseEnvelope().serializeAndConsume(
+                            XMLOutputFactory.newInstance()
+                                    .createXMLStreamWriter(System.out));
+                } catch (XMLStreamException e) {
+                    onError(e);
+                } finally {
+                    finish = true;
+                }
+            }
+
+            public void onError(Exception e) {
+                log.info(e.getMessage());
+                finish = true;
+            }
+        };
+
+        ServiceClient sender = new ServiceClient(configContext, service);
+        sender.setOptions(options);
+        //options.setTo(targetEPR);
+        sender.sendReceiveNonBlocking(operationName, createEnvelope(), callback);
+
+        int index = 0;
+        while (!finish) {
+            Thread.sleep(1000);
+            index++;
+            if (index > 10) {
+                throw new AxisFault(
+                        "Server was shutdown as the async response is taking too long to complete.");
+            }
+        }
+
+    }
+ +

This will call the service that was setup on the server and will poll the +mail server till the response is received.Thats all there is to it. Please do +note that serviceName and operationName need to be QNames.

+ + +

2. Using a Generic Mail Server

+ +

First you need two email accounts that works with POP/SMTP. One will act +as a server and the other will act as the client. For the time being we will +use server@somewhere.org and client@somewhere.org as the server and the +client email addresses. Now that we have the email addresses you will have to +set up the client and the server with Mail Transport configuration document.

+ +

When calling the generic mail server the client side code will remain the +same and there will be some modification to the server-side code.

+ +

+
        // Create a configuration context. This will also load the details about the mail
+        // address to listen to from the configuration file.
+        File file = new File(MAIL_TRANSPORT_SERVER_ENABLED_REPO_PATH);
+        ConfigurationContextFactory builder = new ConfigurationContextFactory();
+        ConfigurationContext configContext = configContextbuilder
+                .buildConfigurationContext(file.getAbsolutePath());
+
+        // Start the default mail listener. It will starting poling for mail
+        // using the configuration from the XML file.
+        SimpleMailListener ml = new SimpleMailListener();
+        ml.init(configContext,
+                configContext.getAxisConfiguration().getTransportIn(
+                        new QName(Constants.TRANSPORT_MAIL)));
+        ml.start();
+
+        private QName serviceName = new QName("EchoXMLService");
+        private QName operationName = new QName("echoOMElement");
+    
+        // Setup a service that will echo what we send to the server.
+        AxisService service = Utils.createSimpleService(serviceName, Echo.class
+                .getName(), operationName);
+        serverConfigContext.getAxisConfiguration().addService(service);
+ +

Note that a separate ConfigurationContext needs to be created and used.

+ + +

3. Calling Axis Through a James Mailet

+ +

This process will be a bit more challenging than the other two methods but +will provide a really elegant way to use the mail transport. Before we get +started you will have to go though the James documents Writing a Custom Matcher and Writing +a Custom Mailet.

+ +

Now that we know the James part of it lets dive into to the Axis2 part of +the code. Once you have set up the James side of business we need to use the +same functionality that is used in the above code. Have a look at the code +listing below for more details

+
    public void processMail(ConfigurationContext confContext, MimeMessage mimeMessage) {
+        // create an Axis server
+        AxisEngine engine = new AxisEngine(confContext);
+        MessageContext msgContext = null;
+
+        // create and initialize a message context
+        try {
+            msgContext = new MessageContext();
+            msgContext.setConfigurationContext(confContext);
+            msgContext.setTransportIn(confContext.getAxisConfiguration().getTransportIn(new QName(Constants.TRANSPORT_MAIL)));
+            msgContext.setTransportOut(confContext.getAxisConfiguration().getTransportOut(new QName(Constants.TRANSPORT_MAIL)));
+
+            msgContext.setServerSide(true);
+            msgContext.setProperty(MailSrvConstants.CONTENT_TYPE, mimeMessage.getContentType());
+            msgContext.setProperty(MessageContext.CHARACTER_SET_ENCODING,
+                    mimeMessage.getEncoding());
+            String soapAction = getMailHeader(MailSrvConstants.HEADER_SOAP_ACTION, mimeMessage);
+            if (soapAction == null){
+            	soapAction = mimeMessage.getSubject();
+            }
+
+            msgContext.setSoapAction(soapAction);
+            msgContext.setIncomingTransportName(Constants.TRANSPORT_MAIL);
+
+            String serviceURL = mimeMessage.getSubject();
+
+            if (serviceURL == null) {
+                serviceURL = "";
+            }
+
+            String replyTo = ((InternetAddress) mimeMessage.getReplyTo()[0]).getAddress();
+
+            if (replyTo != null) {
+                msgContext.setReplyTo(new EndpointReference(replyTo));
+            }
+
+            String recepainets = ((InternetAddress) mimeMessage.getAllRecipients()[0]).getAddress();
+
+            if (recepainets != null) {
+                msgContext.setTo(new EndpointReference(recepainets + "/" + serviceURL));
+            }
+
+            // add the SOAPEnvelope
+            String message = mimeMessage.getContent().toString();
+
+            log.info("message[" + message + "]");
+
+            ByteArrayInputStream bais = new ByteArrayInputStream(message.getBytes());
+            XMLStreamReader reader =
+                    StAXUtils.createXMLStreamReader(bais);
+            String soapNamespaceURI = "";
+
+            if (mimeMessage.getContentType().indexOf(SOAP12Constants.SOAP_12_CONTENT_TYPE) > -1) {
+                soapNamespaceURI = SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI;
+            } else if (mimeMessage.getContentType().indexOf(SOAP11Constants.SOAP_11_CONTENT_TYPE)
+                    > -1) {
+                soapNamespaceURI = SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI;
+            }
+
+            StAXBuilder builder = new StAXSOAPModelBuilder(reader, soapNamespaceURI);
+            SOAPEnvelope envelope = (SOAPEnvelope) builder.getDocumentElement();
+
+            msgContext.setEnvelope(envelope);
+
+            if (envelope.getBody().hasFault()) {
+                engine.receiveFault(msgContext);
+            } else {
+                engine.receive(msgContext);
+            }
+        } catch (Exception e) {
+            try {
+                if (msgContext != null) {
+                    MessageContext faultContext = engine.createFaultMessageContext(msgContext, e);
+
+                    engine.sendFault(faultContext);
+                }
+            } catch (Exception e1) {
+                log.error(e);
+            }
+        }
+    }
+ +

If you don't happen to have a ConfigurationContext lying around to call +this method you can use the following bit of code to get one. Once you create +one you can store that on the mailet and keep using it.

+
            File file = new File(MAIL_TRANSPORT_SERVER_ENABLED_REPO_PATH);
+            SERVER_CONFIG_CONTEXT =
+                    ConfigurationContextFactory.createConfigurationContextFromFileSystem(
+                    	file.getAbsolutePath(), file.getAbsolutePath() + "/conf/axis2.xml");
+
+ +

+ +