axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9239] - Java2WSDL example in user guide fails following install/tutorial steps
Date Wed, 19 Jun 2002 13:52:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9239>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9239

Java2WSDL example in user guide fails following install/tutorial steps

dims@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From dims@yahoo.com  2002-06-19 13:52 -------
Rich,

First set ur class path for running org.apache.axis.wsdl.Java2WSDL as usual.

Step #1: From your Axis directory compile the WidgetPrice.java.
F:\Apps\JavaSDKs\Axis>javac -d . samples\userguide\example6\WidgetPrice.java

Step #2: Make sure the current directory is in classpath as WidgetPrice belongs
to package samples.userguide.example6
F:\Apps\JavaSDKs\Axis>set CLASSPATH=%CLASSPATH%;F:\Apps\JavaSDKs\Axis;

Step #3: Run the Java2WSDL as usual
F:\Apps\JavaSDKs\Axis>java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl 
-l"http://localhost:8080/axis/services/WidgetPrice" -n  "urn:Example6"
-p"samples.userguide.example6" "urn:Example6" 
samples.userguide.example6.WidgetPrice

Note: the NullPointerException was a red herring. Silenced it.

Thanks,
dims

Mime
View raw message