Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global with sharing class CaseWebserviceClassTemp
- {
- global class MyCaseInfo
- {
- webservice String Description;
- webservice Long textId = null;
- }
- //actual method to insert the Case into SFDC
- webservice static String createNewCasesTemp(CaseWebserviceClassTemp.MyCaseInfo caseInformation)
- {
- //logic goes here
- return null;
- }
- }
- <xsd:complexType name="MyCaseInfo">
- <xsd:sequence>
- <xsd:element name="Description" minOccurs="0" type="xsd:string" nillable="true"/>
- <xsd:element name="textId" minOccurs="0" type="xsd:long" nillable="true"/>
- </xsd:sequence>
- </xsd:complexType>
Add Comment
Please, Sign In to add comment