+ Start a Discussion
Sachin Bhalerao 17Sachin Bhalerao 17 

How to Test SOAP class in Workbench?

Dear Team ,

Greetings !!!

I have created SOAP class plz . plz look at below code :

global class accSOAPint {

    webservice static Account dopost(String Name){
        Account acc = new Account();
        acc.Name = Name;
        insert acc;
        return acc;
        
    }
}

Now i have to test this method on Workbench . Plz share the code that we have write in body section .

Thanks & Regards
Sachin Bhalerao
Devi ChandrikaDevi Chandrika (Salesforce Developers) 
Hi Sachin,
Please refer below link which might help you in this
https://salesforce.stackexchange.com/questions/126564/how-to-consume-a-soap-web-service-using-workbench

Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.

Thanks and Regards