Hi

This is all that I know and in fact I never used applets. So if there is 
someone qualified to explain this better... 

All I can say is this is related to java architecture. In fact this is the 
way it should happen. An appled is runned in a sandbox. That means that you 
are not allowed to do certain things like: accessing the local disk, use 
internet connections (except to the server where the applet was downloaded 
from), access informations from local machine... and so on. 

If you HAVE TO create an Applet, you could download the Java Plugin that 
allow the applet to run with the jre installed from java (and not default 
java machine from the browser) and provide some security mechanisms that 
allows trusted applets to access several services (like allow it to open an 
internet connection, or access the local information and so on). 

there is another posibility... to sign your jar (or cab if for windows)... 
but never understood how. :o((( 

Hope it (somehow) helps
dovle


 
> Hello, I am new to Java web services; all of my experience is with
> Microsoft's SOAP toolkit.
>
> Is it possible to access a web service from an applet? I am a part time
> Information Systems student, and I want to have an applet that connects to
> a stock quote service (among other things).
>
> I have installed the Apache toolkit and tested the sample stock quote
> client, and it works perfectly. I have even used several other web services
> on Xmethods.com, each successfully. When I convert the code to an applet, I
> am now getting:
>
> java.security.AccessControlException: access denied
> (java.net.SocketPermission 66.28.98.121:9090 connect,resolve)
>
> How can I overcome this?
>
> Thanks in advance,
>
> John Kirksey

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to