Hi, I'm a new user and I ran into an issue when trying to use a client to test a sample web service I deployed.
When I run the client, I get a java.lang.IllegalAccessException message. I have a Java class file that I wanted to use for my service. I placed it under the webapps/axis/WEB-INF/classes directory. I created a deploy.wsdd file and deployed the service without any errors. My service basically has a method that takes a string argument (a city name) and returns a string of information for that city. The method actually calls another class which extends the ContentHandler interface. This class reads in an XML file, searches for the city name, and parses out the information for that city. (The other class and the XML file are also in the ~/classes directory.) When I run this class from the command line and invoke the method, it works fine with no errors. One of the guys I work with suggested that it may be due to the "java.policy" or "catalina.policy" (I'm running under Tomcat) security permissions that could prevent the class from reading in the XML file if the class gets called from a web application context. The client I'm using is similar to the one in userguide/example3. It compiles fine. I invoke it with: % java Client -lhttp://localhost:9075/axis/services/CityWeatherSearch "Orlando" java.lang.IllegalAccessException: CityWeatherSearch (I'm running tomcat on port 9075) Anyone out there run across this problem before? Any ideas how to deal with it? Thanks for any help, Dan __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/