Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Web Services API : CS_CaseCreationUtility
- -->
- <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">
- <types>
- <xsd:schema elementFormDefault="qualified" targetNamespace="http://soap.sforce.com/schemas/class/CS_Result">
- <xsd:complexType name="CS_Result">
- <xsd:sequence/>
- </xsd:complexType>
- </xsd:schema>
- <xsd:schema elementFormDefault="qualified" targetNamespace="http://soap.sforce.com/schemas/class/CS_CaseCreationUtility">
- <xsd:import namespace="http://soap.sforce.com/schemas/class/CS_Result"/>
- <xsd:element name="AllowFieldTruncationHeader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="allowFieldTruncation" type="xsd:boolean"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="CallOptions">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="client" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DebuggingHeader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="categories" minOccurs="0" maxOccurs="unbounded" type="tns:LogInfo"/>
- <xsd:element name="debugLevel" type="tns:LogType"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="LogInfo">
- <xsd:sequence>
- <xsd:element name="category" type="tns:LogCategory"/>
- <xsd:element name="level" type="tns:LogCategoryLevel"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:simpleType name="LogCategory">
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="Db"/>
- <xsd:enumeration value="Workflow"/>
- <xsd:enumeration value="Validation"/>
- <xsd:enumeration value="Callout"/>
- <xsd:enumeration value="Apex_code"/>
- <xsd:enumeration value="Apex_profiling"/>
- <xsd:enumeration value="Visualforce"/>
- <xsd:enumeration value="System"/>
- <xsd:enumeration value="All"/>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="LogCategoryLevel">
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="Internal"/>
- <xsd:enumeration value="Finest"/>
- <xsd:enumeration value="Finer"/>
- <xsd:enumeration value="Fine"/>
- <xsd:enumeration value="Debug"/>
- <xsd:enumeration value="Info"/>
- <xsd:enumeration value="Warn"/>
- <xsd:enumeration value="Error"/>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="LogType">
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="None"/>
- <xsd:enumeration value="Debugonly"/>
- <xsd:enumeration value="Db"/>
- <xsd:enumeration value="Profiling"/>
- <xsd:enumeration value="Callout"/>
- <xsd:enumeration value="Detail"/>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:element name="DebuggingInfo">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="debugLog" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SessionHeader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="sessionId" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:simpleType name="ID">
- <xsd:restriction base="xsd:string">
- <xsd:length value="18"/>
- <xsd:pattern value="[a-zA-Z0-9]{18}"/>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:complexType name="address">
- <xsd:complexContent>
- <xsd:extension base="tns:location">
- <xsd:sequence>
- <xsd:element name="city" type="xsd:string"/>
- <xsd:element name="country" type="xsd:string"/>
- <xsd:element name="countryCode" type="xsd:string"/>
- <xsd:element name="postalCode" type="xsd:string"/>
- <xsd:element name="state" type="xsd:string"/>
- <xsd:element name="stateCode" type="xsd:string"/>
- <xsd:element name="street" type="xsd:string"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:complexType name="location">
- <xsd:sequence>
- <xsd:element name="latitude" type="xsd:double"/>
- <xsd:element name="longitude" type="xsd:double"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="createCase">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="recordType" type="xsd:string" nillable="true"/>
- <xsd:element name="parentCaseNumber" type="xsd:string" nillable="true"/>
- <xsd:element name="caseCategory" type="xsd:string" nillable="true"/>
- <xsd:element name="caseSubCategory" type="xsd:string" nillable="true"/>
- <xsd:element name="status" type="xsd:string" nillable="true"/>
- <xsd:element name="priority" type="xsd:string" nillable="true"/>
- <xsd:element name="caseChannel" type="xsd:string" nillable="true"/>
- <xsd:element name="originatingSystemId" type="xsd:string" nillable="true"/>
- <xsd:element name="caseOwner" type="xsd:string" nillable="true"/>
- <xsd:element name="userId" type="xsd:string" nillable="true"/>
- <xsd:element name="account" type="xsd:string" nillable="true"/>
- <xsd:element name="salesOrg" type="xsd:string" nillable="true"/>
- <xsd:element name="distributionChannel" type="xsd:string" nillable="true"/>
- <xsd:element name="division" type="xsd:string" nillable="true"/>
- <xsd:element name="serviceCenter" type="xsd:string" nillable="true"/>
- <xsd:element name="description" type="xsd:string" nillable="true"/>
- <xsd:element name="orderNumber" type="xsd:string" nillable="true"/>
- <xsd:element name="subject" type="xsd:string" nillable="true"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="createCaseResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="result" type="CS_Result:CS_Result" nillable="true"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- </types>
- <!-- Message for the header parts -->
- <message name="Header">
- <part name="AllowFieldTruncationHeader" element="tns:AllowFieldTruncationHeader"/>
- <part name="CallOptions" element="tns:CallOptions"/>
- <part name="DebuggingHeader" element="tns:DebuggingHeader"/>
- <part name="DebuggingInfo" element="tns:DebuggingInfo"/>
- <part name="SessionHeader" element="tns:SessionHeader"/>
- </message>
- <!-- Operation Messages -->
- <message name="createCaseRequest">
- <part element="tns:createCase" name="parameters"/>
- </message>
- <message name="createCaseResponse">
- <part element="tns:createCaseResponse" name="parameters"/>
- </message>
- <portType name="CS_CaseCreationUtilityPortType">
- <operation name="createCase">
- <input message="tns:createCaseRequest"/>
- <output message="tns:createCaseResponse"/>
- </operation>
- </portType>
- <binding name="CS_CaseCreationUtilityBinding" type="tns:CS_CaseCreationUtilityPortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <operation name="createCase">
- <soap:operation soapAction=""/>
- <input>
- <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
- <soap:header use="literal" part="CallOptions" message="tns:Header"/>
- <soap:header use="literal" part="DebuggingHeader" message="tns:Header"/>
- <soap:header use="literal" part="AllowFieldTruncationHeader" message="tns:Header"/>
- <soap:body use="literal" parts="parameters"/>
- </input>
- <output>
- <soap:header use="literal" part="DebuggingInfo" message="tns:Header"/>
- <soap:body use="literal"/>
- </output>
- </operation>
- </binding>
- <service name="CS_CaseCreationUtilityService">
- <documentation></documentation>
- <port binding="tns:CS_CaseCreationUtilityBinding" name="CS_CaseCreationUtility">
- <soap:address location="https://ap1.salesforce.com/services/Soap/class/CS_CaseCreationUtility"/>
- </port>
- </service>
- </definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement