Advertisement
martyychang

workflowOutboundMessage.wsdl April 26, 2014

Apr 26th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.63 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Salesforce.com Outbound Notification Web Services API Version 1.0
  4. Generated on 2014-04-26 12:07:44 +0000.
  5.  
  6. Copyright 2005-2014 Salesforce.com, Inc.
  7. All Rights Reserved
  8. -->
  9. <definitions targetNamespace="http://soap.sforce.com/2005/09/outbound" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://soap.sforce.com/2005/09/outbound" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ent="urn:enterprise.soap.sforce.com" xmlns:ens="urn:sobject.enterprise.soap.sforce.com">
  10.     <types>
  11.  
  12.         <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:enterprise.soap.sforce.com">
  13.             <!-- Our simple ID Type -->
  14.             <simpleType name="ID">
  15.                 <restriction base="xsd:string">
  16.                     <length value="18"/>
  17.                     <pattern value="[a-zA-Z0-9]{18}"/>
  18.                 </restriction>
  19.             </simpleType>
  20.         </schema>
  21.  
  22.         <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:sobject.enterprise.soap.sforce.com">
  23.             <import namespace="urn:enterprise.soap.sforce.com"/>
  24.             <!-- Base sObject (abstract) -->
  25.             <complexType name="sObject">
  26.                 <sequence>
  27.                     <element name="fieldsToNull" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
  28.                     <element name="Id" type="ent:ID" nillable="true"/>
  29.                 </sequence>
  30.             </complexType>
  31.  
  32.             <complexType name="AggregateResult">
  33.                 <complexContent>
  34.                     <extension base="ens:sObject">
  35.                         <sequence>
  36.                             <any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  37.                         </sequence>
  38.                     </extension>
  39.                 </complexContent>
  40.             </complexType>
  41.  
  42.             <complexType name="Account">
  43.                 <complexContent>
  44.                     <extension base="ens:sObject">
  45.                         <sequence>
  46.                         <element name="Expandable_ID__c" nillable="true" minOccurs="0" type="xsd:string"/>
  47.                         <element name="Fax" nillable="true" minOccurs="0" type="xsd:string"/>
  48.                         <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
  49.                         <element name="ShippingCity" nillable="true" minOccurs="0" type="xsd:string"/>
  50.                         <element name="ShippingCountry" nillable="true" minOccurs="0" type="xsd:string"/>
  51.                         <element name="ShippingCountryCode" nillable="true" minOccurs="0" type="xsd:string"/>
  52.                         <element name="ShippingLatitude" nillable="true" minOccurs="0" type="xsd:double"/>
  53.                         <element name="ShippingLongitude" nillable="true" minOccurs="0" type="xsd:double"/>
  54.                         <element name="ShippingPostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
  55.                         <element name="ShippingState" nillable="true" minOccurs="0" type="xsd:string"/>
  56.                         <element name="ShippingStateCode" nillable="true" minOccurs="0" type="xsd:string"/>
  57.                         <element name="ShippingStreet" nillable="true" minOccurs="0" type="xsd:string"/>
  58.                         </sequence>
  59.                     </extension>
  60.                 </complexContent>
  61.             </complexType>
  62.  
  63.  
  64.         </schema>
  65.  
  66.         <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soap.sforce.com/2005/09/outbound">
  67.             <import namespace="urn:enterprise.soap.sforce.com"/>
  68.             <import namespace="urn:sobject.enterprise.soap.sforce.com"/>
  69.    
  70.             <element name="notifications">
  71.                 <complexType>
  72.                     <sequence>
  73.                         <element name="OrganizationId" type="ent:ID"/>
  74.                         <element name="ActionId" type="ent:ID"/>
  75.                         <element name="SessionId" type="xsd:string" nillable="true"/>
  76.                         <element name="EnterpriseUrl" type="xsd:string"/>
  77.                         <element name="PartnerUrl" type="xsd:string"/>
  78.                         <element name="Notification" maxOccurs="100" type="tns:AccountNotification"/>
  79.                     </sequence>
  80.                 </complexType>
  81.             </element>
  82.    
  83.             <complexType name="AccountNotification">
  84.                 <sequence>
  85.                     <element name="Id" type="ent:ID"/>
  86.                     <element name="sObject" type="ens:Account"/>
  87.                 </sequence>
  88.             </complexType>
  89.                
  90.             <element name="notificationsResponse">
  91.                 <complexType>
  92.                     <sequence>
  93.                         <element name="Ack" type="xsd:boolean"/>
  94.                     </sequence>
  95.                 </complexType>
  96.             </element>
  97.         </schema>
  98.     </types>
  99.    
  100.    
  101.     <!-- Method Messages -->  
  102.     <message name="notificationsRequest">
  103.         <part element="tns:notifications" name="request"/>
  104.     </message>
  105.     <message name="notificationsResponse">
  106.         <part element="tns:notificationsResponse" name="response"/>
  107.     </message>
  108.  
  109.     <!-- PortType -->
  110.     <portType name="NotificationPort">
  111.         <operation name="notifications">
  112.             <documentation>Process a number of notifications.</documentation>
  113.             <input message="tns:notificationsRequest"/>
  114.             <output message="tns:notificationsResponse"/>
  115.         </operation>
  116.     </portType>
  117.    
  118.     <!-- Binding
  119.         You need to write a service that implements this binding to receive the notifications
  120.     -->
  121.     <binding name="NotificationBinding" type="tns:NotificationPort">
  122.         <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  123.        
  124.         <operation name="notifications">
  125.             <soap:operation soapAction=""/>
  126.             <input>
  127.                 <soap:body use="literal"/>
  128.             </input>
  129.             <output>
  130.                 <soap:body use="literal"/>
  131.             </output>
  132.         </operation>
  133.     </binding>
  134.  
  135.     <!-- Service Endpoint -->
  136.     <service name="NotificationService">
  137.         <documentation>Notification Service Implementation</documentation>
  138.         <port binding="tns:NotificationBinding" name="Notification">
  139.             <soap:address location="http://cryptic-wave-9547.herokuapp.com/messages/bucket"/>
  140.         </port>
  141.     </service>
  142.    
  143. </definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement