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
Ramon PereiraRamon Pereira 

Annotations for WSDL

Hello, I developed some WS-SOAP services that will be available to perform integrations with other applications. But I wonder if Apex allows you to add annotations to the WSDL inform what information is required for using the service.


Thank you;
Best Answer chosen by Ramon Pereira
Ashish_SFDCAshish_SFDC
Hi , 


I believe you should be able to use all the annotations, 

Which is the one specifically you are looking at? 

If the Annotation is not supported then the error will be thrown when the Class is saved, you can try that out yourself. 

Apex supports the following annotations:
@Deprecated
@Future
@IsTest
@ReadOnly
@RemoteAction
@TestVisible
Apex REST annotations:
@RestResource(urlMapping='/yourUrl')
@HttpDelete
@HttpGet
@HttpPatch
@HttpPost
@HttpPut

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_annotation.htm


Regards,
Ashish