Advertisement
Guest User

Apex Class Wsdl

a guest
Feb 17th, 2015
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.11 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Web Services API : CS_CaseCreationUtility
  4. -->
  5. <definitions targetNamespace="http://soap.sforce.com/schemas/class/CS_CaseCreationUtility" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://soap.sforce.com/schemas/class/CS_CaseCreationUtility" xmlns:CS_Result="http://soap.sforce.com/schemas/class/CS_Result">
  6.  <types>
  7.   <xsd:schema elementFormDefault="qualified" targetNamespace="http://soap.sforce.com/schemas/class/CS_Result">
  8.    <xsd:complexType name="CS_Result">
  9.     <xsd:sequence/>
  10.    </xsd:complexType>
  11.   </xsd:schema>
  12.   <xsd:schema elementFormDefault="qualified" targetNamespace="http://soap.sforce.com/schemas/class/CS_CaseCreationUtility">
  13.    <xsd:import namespace="http://soap.sforce.com/schemas/class/CS_Result"/>
  14.    <xsd:element name="AllowFieldTruncationHeader">
  15.     <xsd:complexType>
  16.      <xsd:sequence>
  17.       <xsd:element name="allowFieldTruncation" type="xsd:boolean"/>
  18.      </xsd:sequence>
  19.     </xsd:complexType>
  20.    </xsd:element>
  21.    <xsd:element name="CallOptions">
  22.     <xsd:complexType>
  23.      <xsd:sequence>
  24.       <xsd:element name="client" type="xsd:string"/>
  25.      </xsd:sequence>
  26.     </xsd:complexType>
  27.    </xsd:element>
  28.    <xsd:element name="DebuggingHeader">
  29.     <xsd:complexType>
  30.      <xsd:sequence>
  31.       <xsd:element name="categories" minOccurs="0" maxOccurs="unbounded" type="tns:LogInfo"/>
  32.       <xsd:element name="debugLevel" type="tns:LogType"/>
  33.      </xsd:sequence>
  34.     </xsd:complexType>
  35.    </xsd:element>
  36.    <xsd:complexType name="LogInfo">
  37.     <xsd:sequence>
  38.      <xsd:element name="category" type="tns:LogCategory"/>
  39.      <xsd:element name="level" type="tns:LogCategoryLevel"/>
  40.     </xsd:sequence>
  41.    </xsd:complexType>
  42.    <xsd:simpleType name="LogCategory">
  43.     <xsd:restriction base="xsd:string">
  44.      <xsd:enumeration value="Db"/>
  45.      <xsd:enumeration value="Workflow"/>
  46.      <xsd:enumeration value="Validation"/>
  47.      <xsd:enumeration value="Callout"/>
  48.      <xsd:enumeration value="Apex_code"/>
  49.      <xsd:enumeration value="Apex_profiling"/>
  50.      <xsd:enumeration value="Visualforce"/>
  51.      <xsd:enumeration value="System"/>
  52.      <xsd:enumeration value="All"/>
  53.     </xsd:restriction>
  54.    </xsd:simpleType>
  55.    <xsd:simpleType name="LogCategoryLevel">
  56.     <xsd:restriction base="xsd:string">
  57.      <xsd:enumeration value="Internal"/>
  58.      <xsd:enumeration value="Finest"/>
  59.      <xsd:enumeration value="Finer"/>
  60.      <xsd:enumeration value="Fine"/>
  61.      <xsd:enumeration value="Debug"/>
  62.      <xsd:enumeration value="Info"/>
  63.      <xsd:enumeration value="Warn"/>
  64.      <xsd:enumeration value="Error"/>
  65.     </xsd:restriction>
  66.    </xsd:simpleType>
  67.    <xsd:simpleType name="LogType">
  68.     <xsd:restriction base="xsd:string">
  69.      <xsd:enumeration value="None"/>
  70.      <xsd:enumeration value="Debugonly"/>
  71.      <xsd:enumeration value="Db"/>
  72.      <xsd:enumeration value="Profiling"/>
  73.      <xsd:enumeration value="Callout"/>
  74.      <xsd:enumeration value="Detail"/>
  75.     </xsd:restriction>
  76.    </xsd:simpleType>
  77.    <xsd:element name="DebuggingInfo">
  78.     <xsd:complexType>
  79.      <xsd:sequence>
  80.       <xsd:element name="debugLog" type="xsd:string"/>
  81.      </xsd:sequence>
  82.     </xsd:complexType>
  83.    </xsd:element>
  84.    <xsd:element name="SessionHeader">
  85.     <xsd:complexType>
  86.      <xsd:sequence>
  87.       <xsd:element name="sessionId" type="xsd:string"/>
  88.      </xsd:sequence>
  89.     </xsd:complexType>
  90.    </xsd:element>
  91.    <xsd:simpleType name="ID">
  92.     <xsd:restriction base="xsd:string">
  93.      <xsd:length value="18"/>
  94.      <xsd:pattern value="[a-zA-Z0-9]{18}"/>
  95.     </xsd:restriction>
  96.    </xsd:simpleType>
  97.    <xsd:complexType name="address">
  98.     <xsd:complexContent>
  99.      <xsd:extension base="tns:location">
  100.       <xsd:sequence>
  101.        <xsd:element name="city" type="xsd:string"/>
  102.        <xsd:element name="country" type="xsd:string"/>
  103.        <xsd:element name="countryCode" type="xsd:string"/>
  104.        <xsd:element name="postalCode" type="xsd:string"/>
  105.        <xsd:element name="state" type="xsd:string"/>
  106.        <xsd:element name="stateCode" type="xsd:string"/>
  107.        <xsd:element name="street" type="xsd:string"/>
  108.       </xsd:sequence>
  109.      </xsd:extension>
  110.     </xsd:complexContent>
  111.    </xsd:complexType>
  112.    <xsd:complexType name="location">
  113.     <xsd:sequence>
  114.      <xsd:element name="latitude" type="xsd:double"/>
  115.      <xsd:element name="longitude" type="xsd:double"/>
  116.     </xsd:sequence>
  117.    </xsd:complexType>
  118.    <xsd:element name="createCase">
  119.     <xsd:complexType>
  120.      <xsd:sequence>
  121.       <xsd:element name="recordType" type="xsd:string" nillable="true"/>
  122.       <xsd:element name="parentCaseNumber" type="xsd:string" nillable="true"/>
  123.       <xsd:element name="caseCategory" type="xsd:string" nillable="true"/>
  124.       <xsd:element name="caseSubCategory" type="xsd:string" nillable="true"/>
  125.       <xsd:element name="status" type="xsd:string" nillable="true"/>
  126.       <xsd:element name="priority" type="xsd:string" nillable="true"/>
  127.       <xsd:element name="caseChannel" type="xsd:string" nillable="true"/>
  128.       <xsd:element name="originatingSystemId" type="xsd:string" nillable="true"/>
  129.       <xsd:element name="caseOwner" type="xsd:string" nillable="true"/>
  130.       <xsd:element name="userId" type="xsd:string" nillable="true"/>
  131.       <xsd:element name="account" type="xsd:string" nillable="true"/>
  132.       <xsd:element name="salesOrg" type="xsd:string" nillable="true"/>
  133.       <xsd:element name="distributionChannel" type="xsd:string" nillable="true"/>
  134.       <xsd:element name="division" type="xsd:string" nillable="true"/>
  135.       <xsd:element name="serviceCenter" type="xsd:string" nillable="true"/>
  136.       <xsd:element name="description" type="xsd:string" nillable="true"/>
  137.       <xsd:element name="orderNumber" type="xsd:string" nillable="true"/>
  138.       <xsd:element name="subject" type="xsd:string" nillable="true"/>
  139.      </xsd:sequence>
  140.     </xsd:complexType>
  141.    </xsd:element>
  142.    <xsd:element name="createCaseResponse">
  143.     <xsd:complexType>
  144.      <xsd:sequence>
  145.       <xsd:element name="result" type="CS_Result:CS_Result" nillable="true"/>
  146.      </xsd:sequence>
  147.     </xsd:complexType>
  148.    </xsd:element>
  149.   </xsd:schema>
  150.  </types>
  151.  <!-- Message for the header parts -->
  152.  <message name="Header">
  153.   <part name="AllowFieldTruncationHeader" element="tns:AllowFieldTruncationHeader"/>
  154.   <part name="CallOptions" element="tns:CallOptions"/>
  155.   <part name="DebuggingHeader" element="tns:DebuggingHeader"/>
  156.   <part name="DebuggingInfo" element="tns:DebuggingInfo"/>
  157.   <part name="SessionHeader" element="tns:SessionHeader"/>
  158.  </message>
  159.  <!-- Operation Messages -->
  160.  <message name="createCaseRequest">
  161.   <part element="tns:createCase" name="parameters"/>
  162.  </message>
  163.  <message name="createCaseResponse">
  164.   <part element="tns:createCaseResponse" name="parameters"/>
  165.  </message>
  166.  <portType name="CS_CaseCreationUtilityPortType">
  167.   <operation name="createCase">
  168.    <input message="tns:createCaseRequest"/>
  169.    <output message="tns:createCaseResponse"/>
  170.   </operation>
  171.  </portType>
  172.  <binding name="CS_CaseCreationUtilityBinding" type="tns:CS_CaseCreationUtilityPortType">
  173.   <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  174.   <operation name="createCase">
  175.    <soap:operation soapAction=""/>
  176.    <input>
  177.     <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
  178.     <soap:header use="literal" part="CallOptions" message="tns:Header"/>
  179.     <soap:header use="literal" part="DebuggingHeader" message="tns:Header"/>
  180.     <soap:header use="literal" part="AllowFieldTruncationHeader" message="tns:Header"/>
  181.     <soap:body use="literal" parts="parameters"/>
  182.    </input>
  183.    <output>
  184.     <soap:header use="literal" part="DebuggingInfo" message="tns:Header"/>
  185.     <soap:body use="literal"/>
  186.    </output>
  187.   </operation>
  188.  </binding>
  189.  <service name="CS_CaseCreationUtilityService">
  190.   <documentation></documentation>
  191.   <port binding="tns:CS_CaseCreationUtilityBinding" name="CS_CaseCreationUtility">
  192.    <soap:address location="https://ap1.salesforce.com/services/Soap/class/CS_CaseCreationUtility"/>
  193.   </port>
  194.  </service>
  195. </definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement