You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by Krithika Sankaran <sk...@gmail.com> on 2007/08/16 23:38:01 UTC

wsdl2java is not creating the classes

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.

Thanks,
K.