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");</style><link rel="stylesheet"
href="../../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div
id="banner"><a href="http://www.apache.org/" id="organizationLogo"><img alt="Apache
Software Foundation" src="http://www.apache.org/images/asf-logo.gif"></img></a><a
href="http://ws.apache.org/axis2/" id="projectLogo"><img alt="Apache Axis 2.0" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div
class="clear"><hr></hr></div></div><div id="breadcrumbs"><div
class="xleft">
- Last published: 18 January 2006
+ Last published: 19 January 2006
| Doc for 0.95</div><div class="xright"></div><div
class="clear"><hr></hr></div></div><div id="leftColumn"><div
id="navcolumn"><div id="menuAxis_2_0"><h5>Axis 2.0</h5><ul><li
class="none"><a href="../../../index.html">Home</a></li><li class="expanded"><a
href="../../../">Download Axis2</a><ul><li class="none"><a href="../../../download.cgi">Releases</a></li><li
class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/?root=Apache-SVN"
class="externalLink" title="External Link">Source Code</a></li></ul></li><li
class="expanded"><a href="../../../">Documentation</a><ul><li class="none"><a
href="../../../0_93/index.html">Version 0.93</a></li><li class="none"><a
href="../../../0_94/index.html">Version 0.94</a></li></ul></li><li
class="expanded"><a href="../../../overview.html">Get Involved</a><ul><li
class="none"><a href="../../../svn.html">Checkout the Source</a></li><li
class="none"><a href="../../../siteHowTo.html">Build the Site</a></
li><li class="none"><a href="../../../guidelines.html">Developer Guidelines</a></li><li
class="none"><a href="../../../refLib.html">Reference Library</a></li><li
class="none"><a href="../../../mail-lists.html">Mailing Lists</a></li><li
class="none"><a href="../../../faq.html">FAQ</a></li></ul></li><li
class="none"><a href="../../../modules/index.html">Modules</a></li><li
class="none"><a href="../../../thanks.html">Acknowledgements</a></li><li
class="expanded"><a href="../../../">Project Information</a><ul><li
class="none"><a href="../../../team-list.html">Project Team</a></li><li
class="none"><a href="../../../issue-tracking.html">Issue Tracking</a></li></ul></li></ul></div><a
href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built
by Maven" src="../../../images/logos/maven-button-1.png"></img></a></div></div><div
id="bodyColumn"><div class="contentBox"><div class="section"><a name="IntelliJ_IDEA_Plug-ins"></a><h2>IntelliJ
IDEA Plug-ins</h2><p><
a href="http://ws.apache.org/axis2/download.cgi" class="externalLink" title="External Link">[Download]</a></p><div
class="subsection"><a name="Introduction"></a><h3>Introduction</h3><p>This
document explains installation and usage of IDEA code generation
plug-in.</p></div><div class="subsection"><a name="Installation"></a><h3>Installation</h3><p>First
download the <a href="../../axis2tools.html">plug-in link</a> which
is a zipped file, and extract that into plugins directory in IDEA
@@ -16,7 +16,7 @@
select one of the following two options.</p><ol>
<li><a href="#Create_Service_Archive">Create a service archive</a></li>
<li><a href="#WSDL2Java_Code_Generation">WSDL2Java code generation</a></li>
-</ol><p><img alt="Figure3" src="images/fig1.jpg"></img></p></div><div
class="subsection"><a name="WSDL2Java_Code_Generation"></a><h3>WSDL2Java
Code Generation</h3><p>Select WSDL2Java codegenaration and click OK to generate
code from a WSDL
+</ol><p><img alt="Figure3" src="images/fig1.jpg"></img></p><p><a
name="WSDL2Java_Code_Generation"></a></p></div><div class="subsection"><a
name="WSDL2Java_Code_Generation"></a><h3>WSDL2Java Code Generation</h3><p>Select
WSDL2Java codegenaration and click OK to generate code from a WSDL
file. Then the following window will appear.</p><p><img alt="Figure4" src="images/fig2.jpg"></img></p><p>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.</p><p>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.</p><p>As for the package name of the generated code, you can set the name
you
want.</p><p><img alt="Figure6" src="images/fig3.jpg"></img></p><p>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.</p><p><img alt="Fig4"
src="images/fig4.jpg"></img></p><p>If everything has gone well you will
see the above message.</p></div><div class="subsection"><a name="Ceate_Service_Archive"></a><h3>Ceate
Service Archive</h3><p>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.</p><p><img alt="Fig4"
src="images/fig4.jpg"></img></p><p>If everything has gone well you will
see the above message.</p><p><a name="Create_Service_Archive"></a></p></div><div
class="subsection"><a name="Ceate_Service_Archive"></a><h3>Ceate Service
Archive</h3><p>First step is to click on Axis2 IDEA plug-in icon and select 'create
a
service archive' radio button.</p><p><img alt="Fig5" src="images/fig5.jpg"></img></p><p>Then
a wizard below will appear asking to select archive type</p><p><img alt="fig6"
src="images/fig6.jpg"></img></p><p>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.</p><p>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.</p><p><img alt="fig11" src="images/fig11.jpg"></img></p><p>If
you click Yes , you have to follow the same procedure to add some other
-service(s) to service group.</p><p>If you click No, Next button will enable and
you can go to next page.</p><p><a name="Note">Note</a>: From this
point onwards the steps are similar to
-all the sub wizards.</p><p><img alt="fig12" src="images/fig12.jpg"></img></p><p>This
page displays the services.xml file, either the one given by you (in
+service(s) to service group.</p><p>If you click No, Next button will enable and
you can go to next page.</p><p><a name="Note">
+</a></p><p><a name="Note">Note: From this point onwards the steps
are similar to
+all the sub wizards.</a></p><p><img alt="fig12" src="images/fig12.jpg"></img></p><p>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")</p><p>This page is editable
and provide a way to add parameters and module
references to any level.</p><p>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");</style><link rel="stylesheet" href="../style/print.css"
type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a
href="http://www.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation"
src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/axis2/"
id="projectLogo"><img alt="Apache Axis 2.0" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div
class="clear"><hr></hr></div></div><div id="breadcrumbs"><div
class="xleft">
- Last published: 18 January 2006
+ Last published: 19 January 2006
| Doc for 0.95</div><div class="xright"></div><div
class="clear"><hr></hr></div></div><div id="leftColumn"><div
id="navcolumn"><div id="menuAxis_2_0"><h5>Axis 2.0</h5><ul><li
class="none"><a href="../index.html">Home</a></li><li class="expanded"><a
href="../">Download Axis2</a><ul><li class="none"><a href="../download.cgi">Releases</a></li><li
class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/?root=Apache-SVN"
class="externalLink" title="External Link">Source Code</a></li></ul></li><li
class="expanded"><a href="../">Documentation</a><ul><li class="none"><a
href="../0_93/index.html">Version 0.93</a></li><li class="none"><a
href="../0_94/index.html">Version 0.94</a></li></ul></li><li
class="expanded"><a href="../overview.html">Get Involved</a><ul><li
class="none"><a href="../svn.html">Checkout the Source</a></li><li
class="none"><a href="../siteHowTo.html">Build the Site</a></li><li
class="none"><a href="../guidelines.html">Devel
oper Guidelines</a></li><li class="none"><a href="../refLib.html">Reference
Library</a></li><li class="none"><a href="../mail-lists.html">Mailing
Lists</a></li><li class="none"><a href="../faq.html">FAQ</a></li></ul></li><li
class="none"><a href="../modules/index.html">Modules</a></li><li class="none"><a
href="../thanks.html">Acknowledgements</a></li><li class="expanded"><a
href="../">Project Information</a><ul><li class="none"><a href="../team-list.html">Project
Team</a></li><li class="none"><a href="../issue-tracking.html">Issue
Tracking</a></li></ul></li></ul></div><a href="http://maven.apache.org/"
title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../images/logos/maven-button-1.png"></img></a></div></div><div
id="bodyColumn"><div class="contentBox"><div class="section"><a name="How_to_write_your_own_Axis2_transport"></a><h2>How
to write your own Axis2 transport</h2><div class="subsection"><a name="Prologue"></a><h3>Prologue</h3><p>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.</p><p></p><ul>
@@ -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.</p><p>
- <div class="source"><pre></pre></div>
- </p>
- <div class="source"><pre>try {
+ <div class="source"><pre>
+<pre>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());
-}
-
+}</pre>
</pre></div>
- <p>Now we need some kind of a listener to listen to the requests that come
+
+</p><p>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
|