function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sumiran123sumiran123 

SforceServiceLocator object from Applet

Hello

We are running an standalone applet/applet in html/applet in jsp perfectly

The applet objective is to log into salesforce by using

SforceServiceLocator sforceServiceLocator = new SforceServiceLocator();
binding = (SoapBindingStub) sforceServiceLocator.getSoap();
binding.login(un, pw);

When we use same code in visual force it does not work
SforceServiceLocator is not able to instantiate

We are using correct version of axis(1.4) with java(1.5) and axis stubs from enterprise.wsdl

Any idea what is going wrong



SuperfellSuperfell
what URL are you trying to connect to, to do the login call? you're probably just being sandboxed by the browser. What's the exact error message you get.