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
laxmilaxmi 

webservice

hi all,

is this correct? to call the external webservice

global class testSalesforce{
WebService static string test1(string arg)
{

dbappsMywebservice1Wsdl.MyWebService1SoapHttpPort stub =
   new dbappsMywebservice1Wsdl.MyWebService1SoapHttpPort();

  string result = stub.placeOrder(1, 2, 3);
return result;

}}

i have created s-control for this and webtab .
if i click on the tab its giving an error...

Failed:{faultcode:'soapenv:Client',faultstring:'No service available for class 'testSalesforce",}
  what does it mean, how to overcome from this problem

thanks
laxmi