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><!-- This services.xml file was auto-generated from WSDL -->
+<pre><!-- This file was auto-generated from WSDL -->
<!-- by the Apache Axis2 version: #axisVersion# #today# -->
<serviceGroup>
- <service name="Axis2SampleDocLitService">
- <messageReceivers>
- <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.userguide.Axis2SampleDocLitPortTypeMessageReceiverInOut"/>
- </messageReceivers>
- <parameter locked="false" name="ServiceClass">org.apache.axis2.userguide.Axis2SampleDocLitPortTypeSkeleton
- </parameter>
- <!--All public methods of the service class are exposed by default-->
- </service>
+ <service name="Axis2SampleDocLitService">
+ <messageReceivers>
+ <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
+ class="org.apache.axis2.userguide.Axis2SampleDocLitServiceMessageReceiverInOut"/>
+ </messageReceivers>
+ <parameter locked="false" name="ServiceClass">
+ org.apache.axis2.userguide.Axis2SampleDocLitServiceSkeleton</parameter>
+ <operation name="echoStringArray" mep="http://www.w3.org/2004/08/wsdl/in-out">
+ <actionMapping>echoStringArray</actionMapping>
+ </operation>
+ <operation name="echoStruct" mep="http://www.w3.org/2004/08/wsdl/in-out">
+ <actionMapping>echoStruct</actionMapping>
+ </operation>
+ <operation name="echoString" mep="http://www.w3.org/2004/08/wsdl/in-out">
+ <actionMapping>echoString</actionMapping>
+ </operation>
+ </service>
</serviceGroup></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><!-- This services.xml file was auto-generated from WSDL -->
+<pre><!-- This file was auto-generated from WSDL -->
<!-- by the Apache Axis2 version: #axisVersion# #today# -->
<serviceGroup>
- <service name="Axis2SampleDocLitService">
- <messageReceivers>
- <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.userguide.Axis2SampleDocLitPortTypeMessageReceiverInOut"/>
- </messageReceivers>
- <parameter locked="false" name="ServiceClass">org.apache.axis2.userguide.Axis2SampleDocLitPortTypeSkeleton
- </parameter>
- <!--All public methods of the service class are exposed by default-->
- </service>
+ <service name="Axis2SampleDocLitService">
+ <messageReceivers>
+ <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
+ class="org.apache.axis2.userguide.Axis2SampleDocLitServiceMessageReceiverInOut"/>
+ </messageReceivers>
+ <parameter locked="false" name="ServiceClass">
+ org.apache.axis2.userguide.Axis2SampleDocLitServiceSkeleton</parameter>
+ <operation name="echoStringArray" mep="http://www.w3.org/2004/08/wsdl/in-out">
+ <actionMapping>echoStringArray</actionMapping>
+ </operation>
+ <operation name="echoStruct" mep="http://www.w3.org/2004/08/wsdl/in-out">
+ <actionMapping>echoStruct</actionMapping>
+ </operation>
+ <operation name="echoString" mep="http://www.w3.org/2004/08/wsdl/in-out">
+ <actionMapping>echoString</actionMapping>
+ </operation>
+ </service>
</serviceGroup></pre>
<p>First line of the "services.xml" gives the name of the Web Service. This