Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet and Webservice

 
Nazer Aboobaker
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can any one guide me how to use Applet's to call a web service and behave according to the values it got from the .net web service.
Thanks in advance
Nazer
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nazer Aboobaker:
Hi,
Can any one guide me how to use Applet's to call a web service ..
Thanks in advance
Nazer


By bundling apache axis jars and your applet jars you may be able to call a webservice through httpconnection.. you may get an access denied or security error.. so signed is better.

Originally posted by Nazer Aboobaker:
.. behave according to the values it got from the .net web service.


Could you please explain this further, or explain the scenario ??
 
Nazer Aboobaker
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to use applet to consume web service and use on my local machine. When I am trying to communicate to a web service from a server I am getting access denied error. Can you guide me how to sign my applette. Is that is the only reason i am getting access denied error?
Thanks
Nazer
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nazer Aboobaker:
I am able to use applet to consume web service and use on my local machine. When I am trying to communicate to a web service from a server I am getting access denied error.
Are you downloading the applet from a server different from where the web service resides? If yes, then you need to sign your applet because otherwise the applet is restricted to making network connections only to the same server it was downloaded from. At least that's what I remember about applets (haven't written one in many, many years).
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nazer Aboobaker:
Can you guide me how to sign my applette.
Nazer

try this please
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic