You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ch...@apache.org on 2006/04/28 06:14:50 UTC

svn commit: r397753 - in /webservices/axis2/trunk/java/xdocs: 0_95/userguide2.html latest/userguide2.html

Author: chatra
Date: Thu Apr 27 21:14:46 2006
New Revision: 397753

URL: http://svn.apache.org/viewcvs?rev=397753&view=rev
Log:
applied oshani's patch AXIS2-627. thanks oshani

Modified:
    webservices/axis2/trunk/java/xdocs/0_95/userguide2.html
    webservices/axis2/trunk/java/xdocs/latest/userguide2.html

Modified: webservices/axis2/trunk/java/xdocs/0_95/userguide2.html
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/0_95/userguide2.html?rev=397753&r1=397752&r2=397753&view=diff
==============================================================================
--- webservices/axis2/trunk/java/xdocs/0_95/userguide2.html (original)
+++ webservices/axis2/trunk/java/xdocs/0_95/userguide2.html Thu Apr 27 21:14:46 2006
@@ -284,10 +284,11 @@
 "Axis2SampleDocLitPortTypeSkeleton.java"  and fill the business logic as
 shown below.</p>
 <pre> public org.apache.axis2.userguide.xsd.EchoStringReturnDocument echoString
-    (org.apache.axis2.userguide.xsd.EchoStringParamDocument param4) {
-    //To do fill this with the necessary business logic
-    return null;
- }</pre>
+   (org.apache.axis2.userguide.xsd.EchoStringParamDocument param4 ){
+      //Todo fill this with the necessary business logic
+      throw new  java.lang.UnsupportedOperationException();
+   }
+ </pre>
 
 <p>Once filled with the business logic it will be as follows. The code is
 simple and the explanations are given as comments.</p>
@@ -349,17 +350,26 @@
 WSDL2Java tool, it will also generate the required services.xml for this Web
 service as well. This can be found in the same directory as the skeleton. The
 generated services.xml is as follows.</p>
-<pre>&lt;!-- This services.xml file was auto-generated from WSDL --&gt;
+<pre>&lt;!-- This file was auto-generated from WSDL --&gt;
 &lt;!-- by the Apache Axis2 version: #axisVersion# #today# --&gt;
 &lt;serviceGroup&gt;
-   &lt;service name="Axis2SampleDocLitService"&gt;
-      &lt;messageReceivers&gt;
-      &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.userguide.Axis2SampleDocLitPortTypeMessageReceiverInOut"/&gt;
-      &lt;/messageReceivers&gt;
-      &lt;parameter locked="false" name="ServiceClass"&gt;org.apache.axis2.userguide.Axis2SampleDocLitPortTypeSkeleton
-      &lt;/parameter&gt;
-    &lt;!--All public methods of the service class are exposed by default--&gt; 
-   &lt;/service&gt;
+    &lt;service name="Axis2SampleDocLitService"&gt;
+        &lt;messageReceivers&gt;
+            &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" 
+             class="org.apache.axis2.userguide.Axis2SampleDocLitServiceMessageReceiverInOut"/&gt;
+        &lt;/messageReceivers&gt;
+        &lt;parameter locked="false" name="ServiceClass"&gt;
+         org.apache.axis2.userguide.Axis2SampleDocLitServiceSkeleton&lt;/parameter&gt;
+        &lt;operation name="echoStringArray" mep="http://www.w3.org/2004/08/wsdl/in-out"&gt;
+            &lt;actionMapping&gt;echoStringArray&lt;/actionMapping&gt;
+        &lt;/operation&gt;
+        &lt;operation name="echoStruct" mep="http://www.w3.org/2004/08/wsdl/in-out"&gt;
+            &lt;actionMapping&gt;echoStruct&lt;/actionMapping&gt;
+        &lt;/operation&gt;
+        &lt;operation name="echoString" mep="http://www.w3.org/2004/08/wsdl/in-out"&gt;
+            &lt;actionMapping&gt;echoString&lt;/actionMapping&gt;
+        &lt;/operation&gt;
+    &lt;/service&gt;
 &lt;/serviceGroup&gt;</pre>
 
 <p>First line of the "services.xml" gives the name of the Web Service. This

Modified: webservices/axis2/trunk/java/xdocs/latest/userguide2.html
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/userguide2.html?rev=397753&r1=397752&r2=397753&view=diff
==============================================================================
--- webservices/axis2/trunk/java/xdocs/latest/userguide2.html (original)
+++ webservices/axis2/trunk/java/xdocs/latest/userguide2.html Thu Apr 27 21:14:46 2006
@@ -284,10 +284,11 @@
 "Axis2SampleDocLitPortTypeSkeleton.java"  and fill the business logic as
 shown below.</p>
 <pre> public org.apache.axis2.userguide.xsd.EchoStringReturnDocument echoString
-    (org.apache.axis2.userguide.xsd.EchoStringParamDocument param4) {
-    //To do fill this with the necessary business logic
-    return null;
- }</pre>
+   (org.apache.axis2.userguide.xsd.EchoStringParamDocument param4 ){
+      //Todo fill this with the necessary business logic
+      throw new  java.lang.UnsupportedOperationException();
+   }
+ </pre>
 
 <p>Once filled with the business logic it will be as follows. The code is
 simple and the explanations are given as comments.</p>
@@ -349,17 +350,26 @@
 WSDL2Java tool, it will also generate the required services.xml for this Web
 service as well. This can be found in the same directory as the skeleton. The
 generated services.xml is as follows.</p>
-<pre>&lt;!-- This services.xml file was auto-generated from WSDL --&gt;
+<pre>&lt;!-- This file was auto-generated from WSDL --&gt;
 &lt;!-- by the Apache Axis2 version: #axisVersion# #today# --&gt;
 &lt;serviceGroup&gt;
-   &lt;service name="Axis2SampleDocLitService"&gt;
-      &lt;messageReceivers&gt;
-      &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.userguide.Axis2SampleDocLitPortTypeMessageReceiverInOut"/&gt;
-      &lt;/messageReceivers&gt;
-      &lt;parameter locked="false" name="ServiceClass"&gt;org.apache.axis2.userguide.Axis2SampleDocLitPortTypeSkeleton
-      &lt;/parameter&gt;
-    &lt;!--All public methods of the service class are exposed by default--&gt; 
-   &lt;/service&gt;
+  &lt;service name="Axis2SampleDocLitService"&gt;
+   &lt;messageReceivers&gt;
+      &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" 
+      class="org.apache.axis2.userguide.Axis2SampleDocLitServiceMessageReceiverInOut"/&gt;
+   &lt;/messageReceivers&gt;
+   &lt;parameter locked="false" name="ServiceClass"&gt;
+   org.apache.axis2.userguide.Axis2SampleDocLitServiceSkeleton&lt;/parameter&gt;
+   &lt;operation name="echoStringArray" mep="http://www.w3.org/2004/08/wsdl/in-out"&gt;
+      &lt;actionMapping&gt;echoStringArray&lt;/actionMapping&gt;
+   &lt;/operation&gt;
+   &lt;operation name="echoStruct" mep="http://www.w3.org/2004/08/wsdl/in-out"&gt;
+      &lt;actionMapping&gt;echoStruct&lt;/actionMapping&gt;
+   &lt;/operation&gt;
+   &lt;operation name="echoString" mep="http://www.w3.org/2004/08/wsdl/in-out"&gt;
+      &lt;actionMapping&gt;echoString&lt;/actionMapping&gt;
+   &lt;/operation&gt;
+  &lt;/service&gt;
 &lt;/serviceGroup&gt;</pre>
 
 <p>First line of the "services.xml" gives the name of the Web Service. This