aspose file tools*
The moose likes Web Services and the fly likes Getting compilation error while running axis web service 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 "Getting compilation error while running axis web service" Watch "Getting compilation error while running axis web service" New topic
Author

Getting compilation error while running axis web service

Moin Yadageri
Greenhorn

Joined: Jun 19, 2008
Posts: 10
Hi,
i am trying to run a example program which calls a axis web service deployed on Tomcat.
its a simple program which just returns a string back to the calling program.

when i run it or view the wsdl using the url http://localhost:8080/axis/TestWebService.jws?wsdl, i get the below error in the browser.


Fault - Error while compiling: D:\Program Files\Apache Group\Tomcat 4.1\webapps\axis\WEB-INF\jwsClasses\TestWebService.java

AxisFault
faultCode: {http://xml.apache.org/axis/}Server.compileError
faultSubcode:
faultString: Error while compiling: D:\Program Files\Apache Group\Tomcat 4.1\webapps\axis\WEB-INF\jwsClasses\TestWebService.java
faultActor:
faultNode:
faultDetail:
{}Errors:Error compiling D:\Program Files\Apache Group\Tomcat 4.1\webapps\axis\WEB-INF\jwsClasses\TestWebService.java:
Line 1, column 3: illegal character: \190
Line 1, column 4: illegal character: \0
Line 1, column 5: illegal character: \0
Line 1, column 6: illegal character: \0
Line 1, column 8: illegal character: \0
Line 1, column 9: illegal character: \25
Line 2, column 0: illegal character: \0
Line 2, column 1: illegal character: \8
Line 2, column 2: illegal character: \0
Line 2, column 3: illegal character: \14
Line 2, column 4: illegal character: \7
Line 2, column 5: illegal character: \0
Line 2, column 6: illegal character: \15
Line 3, column 0: illegal character: \0
Line 3, column 1: illegal character: \2
Line 3, column 2: illegal character: \0
Line 3, column 3: illegal character: \14
Line 3, column 4: illegal character: \8
Line 3, column 5: illegal character: \0
Line 3, column 6: illegal character: \16
Line 4, column 0: illegal character: \0
Line 4, column 1: illegal character: \2
Line 4, column 2: illegal character: \0
Line 4, column 3: illegal character: \17
Line 5, column 0: illegal character: \0
Line 5, column 1: illegal character: \2
Line 5, column 2: illegal character: \0
Line 5, column 3: illegal character: \18
Line 5, column 4: illegal character: \7
Line 5, column 5: illegal character: \0
Line 5, column 6: illegal character: \19
Line 5, column 7: illegal character: \7
Line 5, column 8: illegal character: \0
Line 5, column 9: illegal character: \20
Line 5, column 10: illegal character: \1
Line 5, column 11: illegal character: \0
Line 5, column 12: illegal character: \6
Line 5, column 19: illegal character: \1
Line 5, column 20: illegal character: \0
Line 5, column 21: illegal character: \3
Line 5, column 62: class, interface, or enum expected
Line 5, column 82: illegal character: \0
Line 5, column 84: illegal character: \0
Line 6, column 0: illegal character: \1
Line 6, column 1: illegal character: \0
Line 6, column 2: illegal character: \23
Line 6, column 34: illegal character: \0
Line 6, column 35: illegal character: \21
Line 6, column 36: illegal character: \0
Line 6, column 37: illegal character: \22
Line 6, column 39: illegal character: \0
Line 6, column 40: illegal character: \23
Line 6, column 41: illegal character: \0
Line 6, column 42: illegal character: \24
Line 6, column 43: illegal character: \1
Line 6, column 44: illegal character: \0
Line 6, column 45: unclosed string literal
Line 7, column 0: illegal character: \0
Line 7, column 1: illegal character: \1
Line 7, column 2: illegal character: \0
Line 7, column 3: illegal character: \11
Line 7, column 4: illegal character: \0
Line 7, column 5: illegal character: \0
Line 7, column 6: illegal character: \0
Line 7, column 7: illegal character: \17
Line 7, column 8: illegal character: \0
Line 7, column 9: illegal character: \1
Line 7, column 10: illegal character: \0
Line 7, column 11: illegal character: \1
Line 7, column 12: illegal character: \0
Line 7, column 13: illegal character: \0
Line 7, column 14: illegal character: \0
Line 7, column 15: illegal character: \5
Line 7, column 17: illegal character: \183
Line 7, column 18: illegal character: \0
Line 7, column 19: illegal character: \1
Line 7, column 20: illegal character: \177
Line 7, column 21: illegal character: \0
Line 7, column 22: illegal character: \0
Line 7, column 23: illegal character: \0
Line 7, column 24: illegal character: \0
Line 7, column 25: illegal character: \0
Line 7, column 26: illegal character: \1
Line 7, column 27: illegal character: \0
Line 7, column 29: illegal character: \0
Line 8, column 0: illegal character: \0
Line 8, column 1: illegal character: \1
Line 8, column 2: illegal character: \0
Line 8, column 3: illegal character: \11
Line 8, column 4: illegal character: \0
Line 8, column 5: illegal character: \0
Line 8, column 6: illegal character: \0
Line 8, column 8: illegal character: \0
Line 8, column 9: illegal character: \2
Line 8, column 10: illegal character: \0
Line 8, column 11: illegal character: \2
Line 8, column 12: illegal character: \0
Line 8, column 13: illegal character: \0
Line 8, column 14: illegal character: \0
Line 8, column 15: illegal character: \20
Line 0, column 0:
100 errors


please let me know how to resolve the above problem.
is it related to some JDK version issue.

Thanks in advance.

~Moin


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting compilation error while running axis web service
 
Similar Threads
Prime numbers
mock exam query
HashSet Magic
Forcing horizontal display
ArrayList & Combo Box