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 / March 2007

Tip: Looking for answers? Try searching our database.

problem with applet access to web service

Thread view: 
ballo0 - 28 Mar 2007 00:50 GMT
I am using java 5. I have a prolem with access to web service by java
applet. When applet is launched as standalone application it works
fine, but when i try to launch applet in my browser as a part of
website it doesn't work. Applet is loading and loading and it can't
finish. I am trying to access web service in init method, when i
comment this part of method everything works fine.

I am using sun AS 9.1, and web service has been tested.

Maybe someone has similar problems. I can also post sources if there
is need.

ballo0
Daniel Pitts - 28 Mar 2007 01:17 GMT
> I am using java 5. I have a prolem with access to web service by java
> applet. When applet is launched as standalone application it works
[quoted text clipped - 9 lines]
>
> ballo0

Did you look at the java console to see if there was an exception?
My guess is that you're trying to access a web service that isn't at
the same domain that your applet is served from.

In order to allow this without throwing an exception, you have to get
your applet signed (it is free for self-signed certs I've heard).
ballo0 - 28 Mar 2007 01:45 GMT
> > I am using java 5. I have a prolem with access to web service by java
> > applet. When applet is launched as standalone application it works
[quoted text clipped - 16 lines]
> In order to allow this without throwing an exception, you have to get
> your applet signed (it is free for self-signed certs I've heard).

i don't think this is the problem, because both java AS serving web
service and applet are on my computer


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.