+ Start a Discussion

How can I call Apex functin using VB


I have a VB desktop application and using salesforce office toolkit DLL to make calls to Salesforce. I have some  Apex class and function which I want to call by my VB application. Anyone knows how it is possible to call Apex function using VB.(I know in VB.Net we can use apex WSDL but what will be the approach when we are using DLL in VB).

Waiting for your valuable response.


I don't think you can call Apex webservices using the DLL.  You can trigger Apex triggers by inserting or modifying objects via the OT, but not call Apex methods -- you'd probably have to work up the XML and send it yourself over an HTTP connection to do that.