aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "@WebService illegal character: \64  " Watch "@WebService illegal character: \64  " New topic
Author

@WebService illegal character: \64

Manu Garg
Greenhorn

Joined: Feb 06, 2006
Posts: 6
Hi,

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 :

init:
compile-deploy-service:
[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
o.java:6: 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

Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12683
    
    5
C:\Sun\SDK\samples\javaee5\webservices\hello-jaxws\src\endpoint\Hell
o.java:6: illegal character: \64


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

Bill


Java Resources at www.wbrogden.com
Manu Garg
Greenhorn

Joined: Feb 06, 2006
Posts: 6
it is considering @ as a special character i.e '/64'.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: @WebService illegal character: \64
 
Similar Threads
Compiling a hibernate app
JAX-WS RI wsimport not working
Error while deploying the war file using command "asant deploy"
Sun JavaeeTutorial jaxB examples
@WebMethod not found