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

Invoking the WSDL2Apex class for webservice callout



Need help in understanding if we can invoke an existing apex class created by consuming an external system WSDL  using outbound messages? So if i create a workflow to send an outbound message to a webservice on the same org and this webservice calls the other apex class that we created by consuming the WSDL, will it work?


Thanks for the help.




I see no reason why it shouldn't. Not sure what your use case is, but I suggest you also look at Trigger and @future or a scheduled class too.