Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

IllegalAccessError with axis and wsse

Thread view: 
Hillel - 30 Jul 2007 17:00 GMT
Hello,

Complete java newbie here.  I am trying to set up a client for the web
service described at:
https://thefinder.tax.ohio.gov/StreamlineSalesTaxWeb/WebService/About.aspx

I am using JDK 1.4.2 on AIX 5.3.  I downloaded the axis 1.4 and axis-
wsse 1.0 packages,
and all included jar files are in the CLASSPATH.

Right now I am just trying to get the sample "TestClient.java" program
provided on the above web page to work.  So far, everything seems to
compile ok.  However, trying to run the TestClient program produces
the error:
Exception in thread "main" java.lang.IllegalAccessError:
net.vitale.filippo.axis
.handlers.WsseClientHandler tried to access field org/apache/axis/
handlers/Basic
Handler.log from class
       at
net.vitale.filippo.axis.handlers.WsseClientHandler.invoke(WsseClientH
andler.java:92)
       at org.apache.axis.client.AxisClient.invoke(AxisClient.java:
121)
       at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
       at org.apache.axis.client.Call.invoke(Call.java:2767)
       at org.apache.axis.client.Call.invoke(Call.java:2443)
       at org.apache.axis.client.Call.invoke(Call.java:2366)
       at org.apache.axis.client.Call.invoke(Call.java:1812)
       at
gov.ohio.tax.thefinder.OHFinderService.OHFinderServiceSoapStub.getOHS
alesTaxByZipCode(OHFinderServiceSoapStub.java:272)
       at TestClient.main(TestClient.java:13)

Anyone out there familiar with setting up axis and logging?  What is
the trick I am missing here?  I am not running an application server,
just trying to set up a client for a remote web service.

Thanks.
---Hillel
Hillel - 31 Jul 2007 15:25 GMT
OK, a little more information here.  The WsseClientHandler instance is
blowing up with entries starting with "log.default".  It assumes that
it must be a method defined in the BasicHandler class which
WsseClientHandler extends.  How do I set up a "log" object in my main
program so that the  WsseClientHandler object later can use the
"log.default" mehtod?
Hillel - 31 Jul 2007 15:27 GMT
> OK, a little more information here.  The WsseClientHandler instance is
> blowing up with entries starting with "log.default".  It assumes that
> it must be a method defined in the BasicHandler class which
> WsseClientHandler extends.  How do I set up a "log" object in my main
> program so that the  WsseClientHandler object later can use the
> "log.default" mehtod?

Oops.  I meant "log.debug", not "log.default".


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.