Skip to main content

JAXWS-2.0 RI ER - Errors compiling 'fromwsdl' samples

2 replies [Last post]
christhatcher
Offline
Joined: 2005-11-15

Hello again,
This is similar to my posting about compilation errors for the 'fromjava' samples so if you want to know some extra details about my setup check that post as well. In the case however I can't get past 'ant server' which fails with this message:

C:\Documents and Settings\GuitarWolf\My Documents\java_tools\jaxws-2.0ea2\sample
s\fromwsdl>ant server
Buildfile: build.xml

setup:

server:

clean:
[delete] Deleting directory C:\Documents and Settings\GuitarWolf\My Documents
\java_tools\jaxws-2.0ea2\samples\build

setup:
[mkdir] Created dir: C:\Documents and Settings\GuitarWolf\My Documents\java_
tools\jaxws-2.0ea2\samples\build
[mkdir] Created dir: C:\Documents and Settings\GuitarWolf\My Documents\java_
tools\jaxws-2.0ea2\samples\build\classes
[mkdir] Created dir: C:\Documents and Settings\GuitarWolf\My Documents\java_
tools\jaxws-2.0ea2\samples\build\war

build-server-wsdl:
[wsimport] error: No target found for the wsdlLocation: file:/C:/Documents%20an
d%20Settings/GuitarWolf/My%20Documents/java_tools/jaxws-2.0ea2/samples/fromwsdl/
etc/AddNumbers.wsdl
[javac] Compiling 1 source file to C:\Documents and Settings\GuitarWolf\My D
ocuments\java_tools\jaxws-2.0ea2\samples\build\classes
[javac] C:/Documents and Settings/GuitarWolf/My Documents/java_tools/jaxws-2
.0ea2/samples/fromwsdl/src/fromwsdl/server/AddNumbersImpl.java:8: cannot find sy
mbol
[javac] symbol: class AddNumbersPortType
[javac] public class AddNumbersImpl implements AddNumbersPortType {
[javac] ^
[javac] C:/Documents and Settings/GuitarWolf/My Documents/java_tools/jaxws-2
.0ea2/samples/fromwsdl/src/fromwsdl/server/AddNumbersImpl.java:18: cannot find s
ymbol
[javac] symbol : class AddNumbersFault_Exception
[javac] location: class fromwsdl.server.AddNumbersImpl
[javac] throws AddNumbersFault_Exception {
[javac] ^
[javac] C:/Documents and Settings/GuitarWolf/My Documents/java_tools/jaxws-2
.0ea2/samples/fromwsdl/src/fromwsdl/server/AddNumbersImpl.java:22: cannot find s
ymbol
[javac] symbol : class AddNumbersFault
[javac] location: class fromwsdl.server.AddNumbersImpl
[javac] AddNumbersFault fault = new AddNumbersFault();
[javac] ^
[javac] C:/Documents and Settings/GuitarWolf/My Documents/java_tools/jaxws-2
.0ea2/samples/fromwsdl/src/fromwsdl/server/AddNumbersImpl.java:22: cannot find s
ymbol
[javac] symbol : class AddNumbersFault
[javac] location: class fromwsdl.server.AddNumbersImpl
[javac] AddNumbersFault fault = new AddNumbersFault();
[javac] ^
[javac] C:/Documents and Settings/GuitarWolf/My Documents/java_tools/jaxws-2
.0ea2/samples/fromwsdl/src/fromwsdl/server/AddNumbersImpl.java:25: cannot find s
ymbol
[javac] symbol : class AddNumbersFault_Exception
[javac] location: class fromwsdl.server.AddNumbersImpl
[javac] throw new AddNumbersFault_Exception(message, fau
lt);
[javac] ^
[javac] 5 errors

BUILD FAILED
C:\Documents and Settings\GuitarWolf\My Documents\java_tools\jaxws-2.0ea2\sample
s\fromwsdl\build.xml:22: The following error occurred while executing this line:

C:\Documents and Settings\GuitarWolf\My Documents\java_tools\jaxws-2.0ea2\sample
s\etc\common-targets.xml:78: Compile failed; see the compiler error output for d
etails.

Total time: 5 seconds

It appears as though the message:

error: No target found for the wsdlLocation: file:/C:/Documents%20an
d%20Settings/GuitarWolf/My%20Documents/java_tools/jaxws-2.0ea2/samples/fromwsdl/
etc/AddNumbers.wsdl

is the important one, but the file is certainly in that location, though I'm not certain what is meant by 'target'. I'm assuming that this posting and my last are related so I hope perhaps someone can give me a clue as to what is happening here. Thank you.

Thatcher

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kohlert
Offline
Joined: 2003-06-16

Thatcher,
EA2 is quite old, can you try the latest nightly builds and see if that works?

kohlert
Offline
Joined: 2003-06-16

Thatcher,
EA2 is quite old, can you try the latest nightly builds and see if that works?