Applet Consuming a Web Service

Posted on 2011-02-22
Last Modified: 2012-06-21
Dear Support,

Can  Applet consume a .Net Web Service on the Web Server  ?
Question by:Bassam_Basamad
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 34950656
Web services not depend on language ?
LVL 17

Assisted Solution

by:Dejan Pažin
Dejan Pažin earned 60 total points
ID: 34951272
LVL 47

Accepted Solution

for_yan earned 65 total points
ID: 34952535
There is no reason why it would not be able to connect to the web service
as long as it connects to the web service running on the same server, from which this applet was loaded. If you want to connect to web service running on different server than the one from which applet was loaded, then
you'll need to have a signed applet.
Mind that for an unsigned applet it is the applet code which should be loaded from the same
sever; you can embed your applet in the web page which comes
from different web server, but the applet classes should be loaded from the same server to which you need to connect for your web server.

Author Closing Comment

ID: 34994549
Good Solution.

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
what is a "java.lang.System Property"   ? 20 67
factorial example 4 41
Java string replace 11 49
difference between sorce folder and folder in eclipise 3 16
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question