Return-Path: Delivered-To: apmail-ws-axis-cvs-archive@www.apache.org Received: (qmail 77789 invoked from network); 19 Jan 2006 16:26:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jan 2006 16:26:17 -0000 Received: (qmail 15469 invoked by uid 500); 19 Jan 2006 16:26:15 -0000 Delivered-To: apmail-ws-axis-cvs-archive@ws.apache.org Received: (qmail 15382 invoked by uid 500); 19 Jan 2006 16:26:14 -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 15371 invoked by uid 500); 19 Jan 2006 16:26:14 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 15368 invoked by uid 99); 19 Jan 2006 16:26:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2006 08:26:14 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,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; Thu, 19 Jan 2006 08:26:05 -0800 Received: (qmail 77440 invoked by uid 65534); 19 Jan 2006 16:25:44 -0000 Message-ID: <20060119162544.77438.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r370524 [5/11] - in /webservices/axis2/site: ./ 0_93/ 0_93/adb/ 0_93/tools/idea-guide/ 0_94/ 0_94/adb/ 0_94/images/ 0_94/tools/idea/ modules/ modules/addressing/ modules/wss4j/ modules/wss4j/0_94/0.94/ multiproject/axis2-Samples/ multiproje... Date: Thu, 19 Jan 2006 16:25:06 -0000 To: axis2-cvs@ws.apache.org From: chinthaka@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Modified: webservices/axis2/site/0_94/tools/idea/Idea_plug-in_userguide.html URL: http://svn.apache.org/viewcvs/webservices/axis2/site/0_94/tools/idea/Idea_plug-in_userguide.html?rev=370524&r1=370523&r2=370524&view=diff ============================================================================== --- webservices/axis2/site/0_94/tools/idea/Idea_plug-in_userguide.html (original) +++ webservices/axis2/site/0_94/tools/idea/Idea_plug-in_userguide.html Thu Jan 19 08:22:01 2006 @@ -2,7 +2,7 @@ @import url("../../../style/maven-base.css"); @import url("../../../style/maven-theme.css");

IntelliJ IDEA Plug-ins

< a href="http://ws.apache.org/axis2/download.cgi" class="externalLink" title="External Link">[Download]

Introduction

This document explains installation and usage of IDEA code generation plug-in.

Installation

First download the plug-in link which is a zipped file, and extract that into plugins directory in IDEA @@ -16,7 +16,7 @@ select one of the following two options.

  1. Create a service archive
  2. WSDL2Java code generation
  3. -

Figure3

WSDL2Java Code Generation

Select WSDL2Java codegenaration and click OK to generate code from a WSDL +

Figure3

WSDL2Java Code Generation

Select WSDL2Java codegenaration and click OK to generate code from a WSDL file. Then the following window will appear.

Figure4

To move on to the next page the WSDL file location must be given. The 'browse' button can be used to easily browse for a file rather than typing the whole path.

Once the WSDL file is selected, codegen options are to be selected. By far @@ -30,7 +30,7 @@ issues in XML beans current implementation only generate code with OM and adb.

As for the package name of the generated code, you can set the name you want.

Figure6

You can simply browse and select the output location or the location in -which the code is to be generated. You do not need to type.

Fig4

If everything has gone well you will see the above message.

Ceate Service Archive

First step is to click on Axis2 IDEA plug-in icon and select 'create a +which the code is to be generated. You do not need to type.

Fig4

If everything has gone well you will see the above message.

Ceate Service Archive

First step is to click on Axis2 IDEA plug-in icon and select 'create a service archive' radio button.

Fig5

Then a wizard below will appear asking to select archive type

fig6

In Axis2 user can deploy single service or service group. Therefore you can select either single service archive or sevice group archive for archive type you want to create.

If you already have services.xml you can skip some of the steps in the @@ -61,8 +61,9 @@ a service group when you click Done button on the particular service the following dialog will appear with option of to adding some more service(s) to service group.

fig11

If you click Yes , you have to follow the same procedure to add some other -service(s) to service group.

If you click No, Next button will enable and you can go to next page.

Note: From this point onwards the steps are similar to -all the sub wizards.

fig12

This page displays the services.xml file, either the one given by you (in +service(s) to service group.

If you click No, Next button will enable and you can go to next page.

+

Note: From this point onwards the steps are similar to +all the sub wizards.

fig12

This page displays the services.xml file, either the one given by you (in the case of ?I already have services.xml?) or the one generated by the system (in the case of "generate services.xml")

This page is editable and provide a way to add parameters and module references to any level.

Note : When you click on either +Parameter or +ModuleRef buttons remember Modified: webservices/axis2/site/0_94/transport_howto.html URL: http://svn.apache.org/viewcvs/webservices/axis2/site/0_94/transport_howto.html?rev=370524&r1=370523&r2=370524&view=diff ============================================================================== --- webservices/axis2/site/0_94/transport_howto.html (original) +++ webservices/axis2/site/0_94/transport_howto.html Thu Jan 19 08:22:01 2006 @@ -2,7 +2,7 @@ @import url("../style/maven-base.css"); @import url("../style/maven-theme.css");

How to write your own Axis2 transport

Prologue

To stop you from rein venting the wheel I will quickly list the transports that are already supported in Axis2 with a small description before we get started.

    @@ -41,19 +41,18 @@ a configuration context. The following code fragment will do this. This should ideally be only done once for the lifetime of the Transport receiver.

    -

    -

    -
    try {
    +    
    +
    try {
             //Create a factory 
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             //Use the factory and an Axis2 repository to create a new Configuration Context
             configurationContext = factory.buildConfigurationContext(repository_directory);
     } catch (Exception e) {
             log.info(e.getMessage());
    -}
    -
    +}
    -

    Now we need some kind of a listener to listen to the requests that come + +

    Now we need some kind of a listener to listen to the requests that come in. This you will need to implement according to the transport that you are trying to build. After a message is received at the receiver you can use the following code to process the request and then forward the message context to