File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes @WebService illegal character: \64  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "@WebService illegal character: \64  " Watch "@WebService illegal character: \64  " New topic

@WebService illegal character: \64

Manu Garg

Joined: Feb 06, 2006
Posts: 6

I am new to web-service is currently trying to compile and deploy samples application provide with the SDK i.e hello-jaxws when I try to compile & deploy this application using the ant script provided with this application I get an error :

[echo] C:/Program Files/Java/jdk1.5.0_02
[javac] Compiling 1 source file to C:\Sun\SDK\domains\domain1\autodeploy
[javac] C:\Sun\SDK\samples\javaee5\webservices\hello-jaxws\src\endpoint\Hell illegal character: \64
[javac] @WebService
[javac] ^
[javac] 1 error

Any Help will be appreciated. Why do I get this error ? I am using jdk1.5

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
C:\Sun\SDK\samples\javaee5\webservices\hello-jaxws\src\endpoint\Hell illegal character: \64

If this was my problem I would be looking very carefully at line 6 and neighboring lines in the source file. What is the character sequence that "\64" appears in?

Manu Garg

Joined: Feb 06, 2006
Posts: 6
it is considering @ as a special character i.e '/64'.
I agree. Here's the link:
subject: @WebService illegal character: \64
It's not a secret anymore!