You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2006/12/20 05:15:41 UTC

svn commit: r488913 - /webservices/axis2/trunk/java/xdocs/1_1/userguide-buildingservices.html

Author: chatra
Date: Tue Dec 19 20:15:40 2006
New Revision: 488913

URL: http://svn.apache.org/viewvc?view=rev&rev=488913
Log:
reviewed and committing changes in Jira issue Axis2 1887

Modified:
    webservices/axis2/trunk/java/xdocs/1_1/userguide-buildingservices.html

Modified: webservices/axis2/trunk/java/xdocs/1_1/userguide-buildingservices.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/userguide-buildingservices.html?view=diff&rev=488913&r1=488912&r2=488913
==============================================================================
--- webservices/axis2/trunk/java/xdocs/1_1/userguide-buildingservices.html (original)
+++ webservices/axis2/trunk/java/xdocs/1_1/userguide-buildingservices.html Tue Dec 19 20:15:40 2006
@@ -296,20 +296,21 @@
 public class SampleService {
 
     public void doInOnly(){
-      //Process here
+     return; 
     } 
      
     public String noParameters(){
-      //Process here
+      return "Hello";
     } 
     
     public String twoWayOneParameterEcho(String toEcho){
-      //Process here
+      return toEcho;
     } 
     
     public boolean multipleParametersAdd(float price, int itemId, 
                              String description, String itemName){
-      //Process here
+      //Code to handle the logic
+	    	return true;
     } 
  
 }</pre>
@@ -338,7 +339,7 @@
 
 <p>This file makes the InOnly and InOut MEPs available to the service and
 tells Axis2 which class to call; operations must match method names. In other
-words, Axis2 automatically sents a call to the multipleParametersAdd
+words, Axis2 automatically sends a call to the multipleParametersAdd
 operation to the
 org.apache.axis2.axis2userguide.SampleService.multipleParametersAdd()
 method.</p>
@@ -358,7 +359,7 @@
            - SampleService.class</pre>
 
 <p>Finally, deploy the service by copying the SampleService directory to the
-webapps/axis2/services directory on the servlet engine. You can check to make
+webapps/axis2/WEB-INF/services directory on the servlet engine. You can check to make
 sure that it's been properly deployed by checking <a
 href="http://&lt;host&gt;:&lt;port&gt;/axis2/services/listServices">http://&lt;host&gt;:&lt;port&gt;/axis2/services/listServices</a>.</p>
 <a name="deployrun"></a>
@@ -417,7 +418,8 @@
 want to use the Axis2 DataBinding Framework, or ADB (-d), to generate only
 synchronous, or blocking code (-s), and to generate server-side code (-ss) as
 opposed to a client, including the services.xml service descriptor file
-(-sd).</p>
+(-sd). It also specifies version 1.1 for the WSDL file (-wv). 
+</p>
 
 <p>At this point, you should see three new items in your chosen directory:
 the build.xml file, which includes instructions for Ant, the src directory,



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