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
Praveen Kumar BonaluPraveen Kumar Bonalu 

SOAP Callout Framework(Generic Utility Class)

Hi SalesforceDev,

I am trying to Implement the  Generic SOAP Callout Framework Class in salesforce. Did anyone tried to implement the Generic class to call out a stub class(methods) 

Example:
Global class generic_Soap_Callout()
{

 global void RetriveCallout(Stub class ,Method,input parameter's);
{
    
}
return response;
}

Apex Class: (needs to use the generic class and do a callout)


@remote
public void generateinvoice()
{
 generic_Soap_Callout.RetriveCallout(Billingservice,upsertbill,billnumber);
}

I really Appreciate your help.

Thanks