axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cha...@apache.org
Subject svn commit: r496601 - /webservices/axis2/site/1_1_1/userguide-buildingservices.html
Date Tue, 16 Jan 2007 05:58:13 GMT
Author: chatra
Date: Mon Jan 15 21:58:13 2007
New Revision: 496601

URL: http://svn.apache.org/viewvc?view=rev&rev=496601
Log:
corrected the pre tag issue - https://issues.apache.org/jira/browse/Axis2-1975

Modified:
    webservices/axis2/site/1_1_1/userguide-buildingservices.html

Modified: webservices/axis2/site/1_1_1/userguide-buildingservices.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/1_1_1/userguide-buildingservices.html?view=diff&rev=496601&r1=496600&r2=496601
==============================================================================
--- webservices/axis2/site/1_1_1/userguide-buildingservices.html (original)
+++ webservices/axis2/site/1_1_1/userguide-buildingservices.html Mon Jan 15 21:58:13 2007
@@ -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 Axis2" 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: 12 January 2007
+                	Last published: 16 January 2007
                   | Doc for 1.1.1</div><div class="xright">
         
         <a href="../index.html">Axis2/Java</a>
@@ -27,7 +27,7 @@
           
         
         <a href="http://www.apache.org" class="externalLink" title="External Link">Apache
</a>
-      </div><div class="clear"><hr></hr></div></div><div
id="leftColumn"><div id="navcolumn"><div id="menuAxis2_Java"><h5>Axis2/Java</h5><ul><li
class="none"><a href="../index.html">Home</a></li></ul></div><div
id="menuDownloads"><h5>Downloads</h5><ul><li class="none"><a
href="../download.cgi">Releases</a></li><li class="none"><a href="../modules/index.html">Modules</a></li><li
class="none"><a href="../tools/index.html">Tools</a></li></ul></div><div
id="menuDocumentation"><h5>Documentation</h5><ul><li class="expanded"><a
href="../1_1_1/contents.html">Version 1.1.1</a><ul><li class="none"><a
href="../1_1_1/toc.html">Table of Contents</a></li><li class="none"><a
href="../1_1_1/installationguide.html">Installation Guide</a></li><li class="none"><a
href="../1_1_1/quickstartguide.html">QuickStart Guide</a></li><li class="none"><a
href="../1_1_1/userguide.html">User Guide</a></li><li class="none"><a
href="../1_1_1/pojoguide.html">POJO Guide</a></li><li class="none"><a
href="../1_1
 _1/spring.html">Spring Guide</a></li><li class="none"><a href="../1_1_1/webadminguide.html">Web
Administrator's Guide</a></li><li class="none"><a href="../1_1_1/migration.html">Migration
Guide (from Axis1)</a></li></ul></li><li class="none"><a
href="../1_1/contents.html">Version 1.1</a></li><li class="none"><a
href="../1_0/index.html">Version 1.0</a></li><li class="none"><a href="../0_95/index.html">Version
0.95</a></li><li class="none"><a href="../0_94/index.html">Version
0.94</a></li><li class="none"><a href="../0_93/index.html">Version
0.93</a></li></ul></div><div id="menuResources"><h5>Resources</h5><ul><li
class="none"><a href="../faq.html">FAQ</a></li><li class="none"><a
href="../articles.html">Articles</a></li><li class="none"><a href="http://wiki.apache.org/ws/FrontPage/Axis2/"
class="externalLink" title="External Link">Wiki</a></li><li class="none"><a
href="../refLib.html">Reference Library</a></li><li class="none"><a
href="http://ws.apache.org/axis2/1_1_1/api/index
 .html" class="externalLink" title="External Link">Online Java Docs</a></li></ul></div><div
id="menuGet_Involved"><h5>Get Involved</h5><ul><li class="none"><a
href="../overview.html">Overview</a></li><li class="none"><a href="../svn.html">Checkout
the Source</a></li><li class="none"><a href="../mail-lists.html">Mailing
Lists</a></li><li class="none"><a href="../guidelines.html">Developer
Guidelines</a></li><li class="none"><a href="../siteHowTo.html">Build
the Site</a></li></ul></div><div id="menuProject_Information"><h5>Project
Information</h5><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><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><li class="none"><a
href="../thanks.html">Acknowledgements</a></li><li class="none"><a
href="http://www.apache.org/licenses/LICENSE
 -2.0.html" class="externalLink" title="External Link">License</a></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"><p><a
name="buildservices"></a></p></div><div class="section"><a name="Apache_Axis2_User_s_Guide_-Building_Services"></a><h2>Apache
Axis2 User's Guide -Building Services</h2><p>Now that you know how to use Axis2
to generate clients from WSDL, this
+      </div><div class="clear"><hr></hr></div></div><div
id="leftColumn"><div id="navcolumn"><div id="menuAxis2_Java"><h5>Axis2/Java</h5><ul><li
class="none"><a href="../index.html">Home</a></li></ul></div><div
id="menuDownloads"><h5>Downloads</h5><ul><li class="none"><a
href="../download.cgi">Releases</a></li><li class="none"><a href="../modules/index.html">Modules</a></li><li
class="none"><a href="../tools/index.html">Tools</a></li></ul></div><div
id="menuDocumentation"><h5>Documentation</h5><ul><li class="expanded"><a
href="../1_1_1/contents.html">Version 1.1.1</a><ul><li class="none"><a
href="../1_1_1/toc.html">Table of Contents</a></li><li class="none"><a
href="../1_1_1/installationguide.html">Installation Guide</a></li><li class="none"><a
href="../1_1_1/quickstartguide.html">QuickStart Guide</a></li><li class="none"><a
href="../1_1_1/userguide.html">User Guide</a></li><li class="none"><a
href="../1_1_1/pojoguide.html">POJO Guide</a></li><li class="none"><a
href="../1_1
 _1/spring.html">Spring Guide</a></li><li class="none"><a href="../1_1_1/webadminguide.html">Web
Administrator's Guide</a></li><li class="none"><a href="../1_1_1/migration.html">Migration
Guide (from Axis1)</a></li></ul></li><li class="none"><a
href="../1_1/index.html">Version 1.1</a></li><li class="none"><a href="../1_0/index.html">Version
1.0</a></li><li class="none"><a href="../0_95/index.html">Version
0.95</a></li><li class="none"><a href="../0_94/index.html">Version
0.94</a></li><li class="none"><a href="../0_93/index.html">Version
0.93</a></li></ul></div><div id="menuResources"><h5>Resources</h5><ul><li
class="none"><a href="../faq.html">FAQ</a></li><li class="none"><a
href="../articles.html">Articles</a></li><li class="none"><a href="http://wiki.apache.org/ws/FrontPage/Axis2/"
class="externalLink" title="External Link">Wiki</a></li><li class="none"><a
href="../refLib.html">Reference Library</a></li><li class="none"><a
href="http://ws.apache.org/axis2/1_1_1/api/index.ht
 ml" class="externalLink" title="External Link">Online Java Docs</a></li></ul></div><div
id="menuGet_Involved"><h5>Get Involved</h5><ul><li class="none"><a
href="../overview.html">Overview</a></li><li class="none"><a href="../svn.html">Checkout
the Source</a></li><li class="none"><a href="../mail-lists.html">Mailing
Lists</a></li><li class="none"><a href="../guidelines.html">Developer
Guidelines</a></li><li class="none"><a href="../siteHowTo.html">Build
the Site</a></li></ul></div><div id="menuProject_Information"><h5>Project
Information</h5><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><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><li class="none"><a
href="../thanks.html">Acknowledgements</a></li><li class="none"><a
href="http://www.apache.org/licenses/LICENSE-2.
 0.html" class="externalLink" title="External Link">License</a></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"><p><a
name="buildservices"></a></p></div><div class="section"><a name="Apache_Axis2_User_s_Guide_-Building_Services"></a><h2>Apache
Axis2 User's Guide -Building Services</h2><p>Now that you know how to use Axis2
to generate clients from WSDL, this
 section digs a little deeper, showing you how to create services, and how to
 create both services and clients "from scratch", so to speak.</p><ul>
   <li><a href="userguide.html#intro">Introducing Axis2</a><br></br>
@@ -367,8 +367,7 @@
 anything yet. You can solve that problem by opening the
 src\org\apache\axis2\axis2userguide\Axis2UserGuideServiceSkeleton.java file
 and either editing the code in bold -- make sure you manage parameter numbers
--- or replacing all of the code with the following in Code Listing 15.</p></div><div
class="subsection"><a name="Code_Listing_15_-_Compiling_the_Service"></a><h3>Code
Listing 15 - Compiling the Service</h3>
-    <div class="source"><pre>/**
+-- or replacing all of the code with the following in Code Listing 15.</p></div><div
class="subsection"><a name="Code_Listing_15_-_Compiling_the_Service"></a><h3>Code
Listing 15 - Compiling the Service</h3><p><pre>/**
  * Axis2UserGuideServiceSkeleton.java
  *
  * This file was auto-generated from WSDL
@@ -393,7 +392,12 @@
         (org.apache.axis2.axis2userguide.NoParametersRequest param7)
          
     {
-        
+        <b>System.out.println(param7);
+
+        NoParametersResponse res =
+            new NoParametersResponse();
+
+        return res;</b>
     }
      
          
@@ -412,7 +416,14 @@
          )
          
     {
+        <b>System.out.println(param9.getEchoString());
+
+        TwoWayOneParameterEchoResponse res =
+            new TwoWayOneParameterEchoResponse();
         
+        res.setEchoString(param9.getEchoString());
+
+        return res;</b>
     }
      
          
@@ -428,7 +439,7 @@
          )
          
     {
-        
+        <b>System.out.println(param11.getMessageString());</b>
     }
      
          
@@ -448,13 +459,21 @@
          )
          
     {
+        <b>System.out.println(param12.getPrice());
+        System.out.println(param12.getItemId());
+        System.out.println(param12.getDescription());
+        System.out.println(param12.getItemName());
+
+        MultipleParametersAddItemResponse res =
+            new MultipleParametersAddItemResponse();
         
+        res.setSuccessfulAdd(true);
+        res.setItemId(param12.getItemId());
+
+        return res;</b>
     }
      
-}
-
-</pre></div>
-  <p>As in the case of generating clients, all of these classes, such as
+}</pre></p><p>As in the case of generating clients, all of these classes,
such as
 MultipleParametersAddItemRequest and TwoWayOneParameterEchoResponse, are
 generated by the utility, and can be found in the same directory as the
 skeleton file. They include methods such as setSuccessfulAdd(), which set the



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message