Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting compilation error while running axis web service

 
Moin Yadageri
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic