axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carolina Costa" <cco...@iclass.com.br>
Subject WSOverSSL
Date Fri, 29 Aug 2003 14:24:06 GMT
Hi folks,
             I'm trying the examples available at http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html
and i'm in trouble generating the client side stubs and compiling the client class (Client.java),
compiler output looks like:

----- compiler output ------
C:\Ccosta\axis_testes\WSOverSSL\axis>C:\java\j2sdk1.4.2\bin\javac -classpath ;C:\java\lib\axis-1_1\lib\axis-ant.jar;C:\java\lib\axis-1_1\lib\axis.jar;C:\java\lib\axis-1_1\lib\commons-discovery.jar;C:\java\lib\axis-1_1\lib\commons-logging.jar;C:\java\lib\axis-1_1\lib\jaxrpc.jar;C:\java\lib\axis-1_1\lib\log4j-1.2.8.jar;C:\java\lib\axis-1_1\lib\saaj.jar;C:\java\lib\axis-1_1\lib\wsdl4j.jar;.
client\*.java 

client\Client.java:16: client.Hello is abstract; cannot be instantiated
                Hello service = new Hello();
                                ^
client\Client.java:17: cannot resolve symbol
symbol  : class HelloPortType
location: class client.Client
                HelloPortType portType = service.getHelloPort();
                ^
client\Client.java:17: cannot resolve symbol
symbol  : method getHelloPort ()
location: interface client.Hello
                HelloPortType portType = service.getHelloPort();
                                                ^
3 errors
------------------------------------

I guess the problem comes from the fact that my client stubs generation is not complete, there
is no generated code for HelloPortType.java.....

Is there something missing in my wsdl ????

Attched to this message are my WSDL2Java output, my wsld file and my Client.java. 
PS.: i'm using axis1.1,  
            Tomcat/4.1.24, 
            java version "1.4.2"
            Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
            Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

Thanks,

Carolina Costa

Mime
View raw message