I would like to call a SOAP web service created in salesforce, using Workbench. There are some samples for other types of web services from the apex workbook but not for SOAP :-(
My class contains 2 methods, each one containing an argument. Here is my code :
global class WsMyWebServiceClass {
...
webservice static List<Account> getAccount(Integer days) {
_________________________
How can I test my method from Workbench ?
When I log in Workbench, I select Utilities | Rest Explorer
Get is selected by default
/services/data/v36.0 is prefilled
If I type /services/Soap/class/WsMyWebServiceClass
and click on Execute, I get the following message :
GET not supported, this is a SOAP service, please use POST
So when I switch to Post, there is a Request Body that appears and I don't know what to fill in it ? Some JSON ?
When do I indicate that I'm using the getAccount method ?
If I use Post method, what do I need to fill for the 2 fields ?
/services/Soap/class/WsMyWebServiceClass
... ?????
Request body ?