users@jax-rpc.java.net

Re: hello example

From: Wagner,Harry <wagnerh_at_OCLC.ORG>
Date: Wed, 10 Apr 2002 15:52:04 -0400

Dale,
I have tweaked the config files, or I wouldn't have gotten this far. The
service installs fine. I am at the point of compiling the client code. I
have the same .jar files in my build.properties that you have.

Has anyone gotten this to run (other than from the tutorial/examples
directory)?

Regards,
Harry

> -----Original Message-----
> From: Dale Green [mailto:Dale.Green_at_SUN.COM]
> Sent: Wednesday, April 10, 2002 2:39 PM
> To: JAXRPC-INTEREST_at_JAVA.SUN.COM
> Subject: Re: hello example
>
>
> 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
>