cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Diephouse" <...@envoisolutions.com>
Subject hello world async sample
Date Mon, 05 Mar 2007 00:31:14 GMT
Does the hello world async sample work for anyone else? I get a bunch of
errors when compiling.

- Dan

Buildfile: build.xml

maybe.generate.code:

compile:
    [javac] Compiling 4 source files to C:\cygwin\home\Dan
Diephouse\cxf\trunk\distribution\target\cxf-2.0-incubator-RC-
SNAPSHOT\samples\hello_world_async\build\classes
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\Client.java:31: package
org.apache.hello_world_async_soap_http does not exist
    [javac] import org.apache.hello_world_async_soap_http.GreeterAsync;
    [javac]                                               ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\Client.java:32: package
org.apache.hello_world_async_soap_http does not exist
    [javac] import org.apache.hello_world_async_soap_http.SOAPService;
    [javac]                                               ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\Client.java:33: package
org.apache.hello_world_async_soap_http.types does not exist
    [javac] import
org.apache.hello_world_async_soap_http.types.GreetMeSometimeResponse;
    [javac]                                                     ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\TestAsyncHandler.java:25: package
org.apache.hello_world_async_soap_http.types does not exist
    [javac] import
org.apache.hello_world_async_soap_http.types.GreetMeSometimeResponse;
    [javac]                                                     ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\TestAsyncHandler.java:28: cannot find symbol
    [javac] symbol: class GreetMeSometimeResponse
    [javac] public class TestAsyncHandler implements
AsyncHandler<GreetMeSometimeResponse> {
    [javac]                                                       ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\TestAsyncHandler.java:30: cannot find symbol
    [javac] symbol  : class GreetMeSometimeResponse
    [javac] location: class demo.hw.client.TestAsyncHandler
    [javac]     private GreetMeSometimeResponse reply;
    [javac]             ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\TestAsyncHandler.java:32: cannot find symbol
    [javac] symbol  : class GreetMeSometimeResponse
    [javac] location: class demo.hw.client.TestAsyncHandler
    [javac]     public void handleResponse(Response<GreetMeSometimeResponse>
response) {
    [javac]                                         ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\server\GreeterImpl.java:30: package
org.apache.hello_world_async_soap_http does not exist
    [javac] import org.apache.hello_world_async_soap_http.GreeterAsync;
    [javac]                                               ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\server\GreeterImpl.java:31: package
org.apache.hello_world_async_soap_http.types does not exist
    [javac] import
org.apache.hello_world_async_soap_http.types.GreetMeSometimeResponse;
    [javac]                                                     ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\server\GreeterImpl.java:38: cannot find symbol
    [javac] symbol: class GreeterAsync
    [javac] public class GreeterImpl implements GreeterAsync {
    [javac]                                     ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\server\GreeterImpl.java:52: cannot find symbol
    [javac] symbol  : class GreetMeSometimeResponse
    [javac] location: class demo.hw.server.GreeterImpl
    [javac]
AsyncHandler<GreetMeSometimeResponse> asyncHandler) {
    [javac]                                                         ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\server\GreeterImpl.java:57: cannot find symbol
    [javac] symbol  : class GreetMeSometimeResponse
    [javac] location: class demo.hw.server.GreeterImpl
    [javac]     public Response<GreetMeSometimeResponse>
greetMeSometimeAsync(String requestType) {
    [javac]                     ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\Client.java:53: cannot find symbol
    [javac] symbol  : class SOAPService
    [javac] location: class demo.hw.client.Client
    [javac]         SOAPService ss = new SOAPService(wsdl.toURL(),
SERVICE_NAME);
    [javac]         ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\Client.java:53: cannot find symbol
    [javac] symbol  : class SOAPService
    [javac] location: class demo.hw.client.Client
    [javac]         SOAPService ss = new SOAPService(wsdl.toURL(),
SERVICE_NAME);
    [javac]                              ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\Client.java:56: cannot find symbol
    [javac] symbol  : class GreeterAsync
    [javac] location: class demo.hw.client.Client
    [javac]         GreeterAsync port = ss.getSoapPort();
    [javac]         ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\Client.java:73: cannot find symbol
    [javac] symbol  : class GreetMeSometimeResponse
    [javac] location: class demo.hw.client.Client
    [javac]         Response<GreetMeSometimeResponse> greetMeSomeTimeResp =
    [javac]                  ^
    [javac] C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\hello_world
_async\src\demo\hw\client\Client.java:78: cannot find symbol
    [javac] symbol  : class GreetMeSometimeResponse
    [javac] location: class demo.hw.client.Client
    [javac]         GreetMeSometimeResponse reply = greetMeSomeTimeResp.get
();
    [javac]         ^
    [javac] 17 errors

BUILD FAILED
C:\cygwin\home\Dan Diephouse\cxf\trunk\distribution\target\cxf-
2.0-incubator-RC-SNAPSHOT\samples\common_build.xml:99: Co
mpile failed; see the compiler error output for details.


-- 
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message