Guest User

Untitled

a guest
Feb 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. global with sharing class CaseWebserviceClassTemp
  2. {
  3. global class MyCaseInfo
  4. {
  5. webservice String Description;
  6. webservice Long textId = null;
  7. }
  8.  
  9. //actual method to insert the Case into SFDC
  10. webservice static String createNewCasesTemp(CaseWebserviceClassTemp.MyCaseInfo caseInformation)
  11. {
  12. //logic goes here
  13. return null;
  14. }
  15. }
  16.  
  17. <xsd:complexType name="MyCaseInfo">
  18. <xsd:sequence>
  19. <xsd:element name="Description" minOccurs="0" type="xsd:string" nillable="true"/>
  20. <xsd:element name="textId" minOccurs="0" type="xsd:long" nillable="true"/>
  21. </xsd:sequence>
  22. </xsd:complexType>
Add Comment
Please, Sign In to add comment