You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Bruno Fischel <bf...@us.ibm.com> on 2002/06/04 18:26:09 UTC

SOAP and Applet

Hello,
I have developed a web service and would like to access it through an
applet running on a browser. Do you know where I can find a good
sample/tutorial showing how to develop such an applet (I am beginner in
applet development)?

Bruno



Re: SOAP and Applet

Posted by Vivek Chopra <vi...@yahoo.com>.
Hi Bruno,

I am attaching a small sample applet that runs against
the Currency
Conversion service listed at xmethods
(http://www.xmethods.com/ve2/ViewListing.po?serviceid=5.)

For an applet, you'd want to use a very lightweight
SOAP client- Apache SOAP
is not the best fit in such cases. This is because the
entire SOAP client
(including the XML parser) needs to bundled inside the
applet. I am using
Wingfoot SOAP (http://www.wingfoot.com) for developing
this applet. Wingfoot
SOAP is about 20k in size- this includes the XML
parser.

Another issue that you'd come across in an applet is
the applet security
restrictions against opening a socket to a server
other than that it's been
downloaded from. See
http://developer.java.sun.com/developer/technicalArticles/Security/Signed/
for information on overcoming this restriction.

Hope this helps.

- Vivek

--- Bruno Fischel <bf...@us.ibm.com> wrote:
> Hello,
> I have developed a web service and would like to
> access it through an
> applet running on a browser. Do you know where I can
> find a good
> sample/tutorial showing how to develop such an
> applet (I am beginner in
> applet development)?
> 
> Bruno
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

Re: SOAP and Applet

Posted by Vivek Chopra <vi...@yahoo.com>.
Hi Bruno,

I am attaching a small sample applet that runs against
the Currency
Conversion service listed at xmethods
(http://www.xmethods.com/ve2/ViewListing.po?serviceid=5.)

For an applet, you'd want to use a very lightweight
SOAP client- Apache SOAP
is not the best fit in such cases. This is because the
entire SOAP client
(including the XML parser) needs to bundled inside the
applet. I am using
Wingfoot SOAP (http://www.wingfoot.com) for developing
this applet. Wingfoot
SOAP is about 20k in size- this includes the XML
parser.

Another issue that you'd come across in an applet is
the applet security
restrictions against opening a socket to a server
other than that it's been
downloaded from. See
http://developer.java.sun.com/developer/technicalArticles/Security/Signed/
for information on overcoming this restriction.

Hope this helps.

- Vivek

--- Bruno Fischel <bf...@us.ibm.com> wrote:
> Hello,
> I have developed a web service and would like to
> access it through an
> applet running on a browser. Do you know where I can
> find a good
> sample/tutorial showing how to develop such an
> applet (I am beginner in
> applet development)?
> 
> Bruno
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com