Skip to main content

Service provider and other META-INF content access in applet

No replies
rituraj_tiwari
Offline
Joined: 2005-07-06
Points: 0

Folks,
I have burned quote a lot of time last week trying to get a JAX-RPC 1.6, SAAJ based web service client to work from within an applet. I tried everything without any positive results.

I finally reverted to hand-crafting my messages, initially using JavaMail's MimeMultipart. This also seemed to fail. All failures pointed to an inability of the applet (trusted: signed and all) to access META-INF contents such as SPI definitions.

In the end, I handcoded Multipart message creation and got my applet talking to my web service.
See tail end of thread: http://forums.java.net/jive/thread.jspa?threadID=17683&start=15&tstart=0

Can anyone tell me if my attempts were futile to begin with, or if there is indeed a way to get this working?

I was running my applet within Firefox using JRE6.

Thanks.
-Raj

I also opened a SAAJ issue with this problem: https://saaj.dev.java.net/issues/show_bug.cgi?id=19

Message was edited by: rituraj_tiwari