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/02/21 05:27:37 UTC
svn commit: r379332 -
/webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html
Author: chinthaka
Date: Mon Feb 20 20:27:37 2006
New Revision: 379332
URL: http://svn.apache.org/viewcvs?rev=379332&view=rev
Log:
made layout corrections on code
Modified:
webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html
Modified: webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html?rev=379332&r1=379331&r2=379332&view=diff
==============================================================================
--- webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html (original)
+++ webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html Mon Feb 20 20:27:37 2006
@@ -330,11 +330,11 @@
<echo message="Available Targets:" />
<echo message=" " />
<echo message=" Compiling:" />
- <echo message=" compile - Compiles the WSDL2Java source code" />
+ <echo message=" compile - Compiles the WSDL2Java source code" />
<echo message=" " />
<echo message=" Compiling client:" />
- <echo message=" compile_client - Compiles the client source code" />
+ <echo message=" compile_client - Compiles the client source code" />
<echo message=" " />
<echo message=" Cleaning up:" />
<echo message=" clean - Delete class files" />
@@ -344,7 +344,7 @@
<echo message=" wsdl2java - Generate source from WSDL" />
<echo message=" " />
<echo message=" AAR:" />
- <echo message=" aar - Generate an .aar for deployment into WEB-INF/services" />
+ <echo message=" aar - Generate an .aar for deployment into WEB-INF/services" />
<echo message=" " />
<echo message=" Executing:" />
@@ -469,10 +469,16 @@
LoginEndpoint.wsdl</p>
<pre class="code"><?xml version="1.0" encoding="UTF-8"?>
-<definitions name="LoginService" targetNamespace="http://login" xmlns:tns="http://login" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns2="http://login/types">
+<definitions name="LoginService" targetNamespace="http://login" xmlns:tns="http://login"
+xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns2="http://login/types">
<types>
- <schema targetNamespace="http://login/types" xmlns:tns="http://login/types" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
+ <schema targetNamespace="http://login/types" xmlns:tns="http://login/types"
+ xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<element name="returnWebLoginElement">
<complexType>
@@ -529,7 +535,8 @@
<service name="LoginService">
<port name="LoginEndpointPort" binding="tns:LoginEndpointBinding">
- <soap:address location="http://localhost:8080/axis2/services/LoginEndpoint"/></port></service></definitions></pre>
+ <soap:address location="http://localhost:8080/axis2/services/LoginEndpoint"/></port>
+ </service></definitions></pre>
<p>Place the above file, named LoginEndpoint.wsdl, in the directory 'wsdl'
below the build.xml file. Run the WSDL2Java command via the ant task defined
@@ -562,7 +569,7 @@
*/
public org.example.types.databinding.login.ReturnWebLoginElementDocument webLogin
- (org.example.types.databinding.login.WebLoginElementDocument param0 ){
+ (org.example.types.databinding.login.WebLoginElementDocument param0 ){
//Todo fill this with the necessary business logic
return null;
}
@@ -587,7 +594,7 @@
*/
public org.example.types.databinding.login.ReturnWebLoginElementDocument webLogin
- (org.example.types.databinding.login.WebLoginElementDocument webLoginElementDocument ){
+ (org.example.types.databinding.login.WebLoginElementDocument webLoginElementDocument ){
//Todo fill this with the necessary business logic
System.out.println("LoginEndpointSkeleton.webLogin reached successfully!");
@@ -607,7 +614,8 @@
org.example.types.databinding.login.ReturnWebLoginElementDocument.ReturnWebLoginElement
retElement =
- org.example.types.databinding.login.ReturnWebLoginElementDocument.ReturnWebLoginElement.Factory.newInstance();
+ org.example.types.databinding.login.ReturnWebLoginElementDocument.ReturnWebLoginElement.
+ Factory.newInstance();
retElement.setWebUserNameElement("joe sixpack");
retElement.setSoapSessionIdElement("some_random_string");