users@jax-rpc.java.net

Re: hello example

From: Dale Green <dale.green_at_Sun.COM>
Date: Wed, 10 Apr 2002 11:39:17 -0700

Hi Harry,

The tutorial examples compile and run if they reside in the
jwsdp-1_0-ea2/docs/tutorial/examples directory. To compile
them in another directory, I think you'll need to tweak the
build.xml and build.properties files.

You wrote:

>jaxrpc-api.jar is in the classpath. Any ideas?

There are a bunch of other JAR files. Please see the list in the
attached build.properties file. When installed, this file resides
in jwsdp-1_0-ea2/docs/tutorial/examples/jaxrpc/common.

- Dale


>Delivered-To: jaxrpc-interest_at_java.sun.com
>MIME-Version: 1.0
>Date: Wed, 10 Apr 2002 13:17:44 -0400
>From: "Wagner,Harry" <wagnerh_at_OCLC.ORG>
>Subject: [JAX-RPC] hello example
>To: JAXRPC-INTEREST_at_JAVA.SUN.COM
>
>Anyone gotten this to work? I get the following error trying to compile the
>client:
>
>Buildfile: build.xml
>
>prepare:
> [echo] Creating the required directories....
>
>compile-server:
> [echo] Compiling the server-side source code....
> [javac] Compiling 2 source files to
>/home/wagnerh/work/projects/hello/build/shared
>
>xrpcc-client:
> [echo] Running xrpcc for the client:
>
>compile-client:
> [echo] Compiling the client source code....
> [javac] Compiling 1 source file to
>/home/wagnerh/work/projects/hello/build/client
> [javac] /home/wagnerh/work/projects/hello/HelloClient.java:16: cannot
>resolve symbol
> [javac] symbol : variable ENDPOINT_ADDRESS_PROPERTY
> [javac] location: interface javax.xml.rpc.Stub
> [javac] javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,
> [javac] ^
> [javac] 1 error
>
>BUILD FAILED
>
>jaxrpc-api.jar is in the classpath. Any ideas?
>
>Regards,
>Harry Wagner
>OCLC / DCMI
>Dublin, OH 43017
>(614) 761-5178
>mailto:wagnerh_at_oclc.org