axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Philipp (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2204) Code Listing suggests the wrong use of org.apache.axis2.wsdl.WSDL2Java
Date Fri, 16 Feb 2007 16:18:05 GMT
Code Listing suggests the wrong use of org.apache.axis2.wsdl.WSDL2Java
----------------------------------------------------------------------

                 Key: AXIS2-2204
                 URL: https://issues.apache.org/jira/browse/AXIS2-2204
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: documentation, samples, build,site
    Affects Versions: 1.1.1
         Environment: N/A
            Reporter: Karl Philipp
            Priority: Minor


Take a look at

 http://ws.apache.org/axis2/1_1_1/userguide-buildingservices.html#deployrun

There is a bordered box labeled

 "Code Listing 14 - Using the WSDL2Java Utility to Generate the Service"

showing an example how to use org.apache.axis2.wsdl.WSDL2Java to generate a service.

But this example lacks of the CLASSPATH parameter, at least.

In my humble opinion, the intention of the author was to cite the example as follows:

 $AXIS2_HOME/bin/wsdl2java.sh -uri file:///C:/apps/axis2/samples/zSample/Axis2UserGuide.wsdl
-p org.apache.axis2.axis2userguide -o target_directory_name -d adb -s -wv 1.1 -ss -sd

resp

 %AXIS2_HOME%\bin\wsdl2java.bat -uri file:///C:/apps/axis2/samples/zSample/Axis2UserGuide.wsdl
-p org.apache.axis2.axis2userguide -o target_directory_name -d adb -s -wv 1.1 -ss -sd

I think the intention of the author was not to recommend the direct use of the java class
org.apache.axis2.wsdl.WSDL2Java.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message