axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krithika <krimee_2...@yahoo.com>
Subject WSDL2Java is not creating the classes!
Date Fri, 17 Aug 2007 15:19:18 GMT

Hi,

  I'm following the documentation in http://ws.apache.org/wss4j/axis.html .
And I'm successful in setting up Axis 1.2/. I have installed WSS4J and have
created and deployed the service (stock-wss-01).

In the step which talks about "Creating the Client" the doc says :

Use WSDL2Java to generate the client service bindings:
java org.apache.axis.wsdl.WSDL2Java -o .
-Nhttp://fox:8080/axis/services/stock-wss-01 samples.stock.client
http://fox:8080/axis/services/stock-wss-01?wsdl
  A bunch of java classes will be created under samples/stock/client,
including the StockQuoteServiceServiceLocator.

I guess the url should have localhost (instead of fox). When I execute this
command, the class are not  getting created. Though the java source files
are created inside the samples/stock/client directory. Am I missing
anything?

My class path is this :

CLASSPATH=.;C:\MyServlets;C:\Program Files\Apache Software Foundation\Tomcat
5.5
\common\lib\servlet-api.jar;C:\Program Files\Apache Software
Foundation\Tomcat 5
.5\common\lib\jsp- api.jar;C:\Program
Files\Java\jdk1.5.0_12\lib\tools.jar;C:\Pro
gram
Files\Java\jre1.5.0_12\lib\ext\QTJava.zip;C:\axis\lib\axis.jar;C:\axis\lib\
commons-discovery-0.2.jar;C:\axis\lib\commons-logging-1.0.4.jar;C:\axis\lib\jaxr
pc.jar;C:\axis\lib\saaj.jar;C:\axis\lib\log4j-1.2.8.jar;C:\axis\lib\xml-apis.jar
;C:\axis\lib\xerces.jar;C:\axis\lib\activation.jar;C:\axis\lib\wsdl4j-1.5.1.jar;
C:\axis;C:\axis\lib\log4j.properties;

Any pointers on this would be highly appreciated. 
-- 
View this message in context: http://www.nabble.com/WSDL2Java-is-not-creating-the-classes%21-tf4286366.html#a12201527
Sent from the Axis - User mailing list archive at Nabble.com.


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


Mime
View raw message