sekken 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 113a2291ad7a1beeb56e9cc689fb64e0e8981b12
4
- data.tar.gz: 6eaa38a8ff63c9a0658a11a9a45af007c063bf42
3
+ metadata.gz: 184880dc4629320fbbb6d7d18b9a72b813865d72
4
+ data.tar.gz: 4ce427d4ef191c6c38c0f2965903d89fe0f956a2
5
5
  SHA512:
6
- metadata.gz: 278a43d288ddfe7b88be45f7e38cc2ff91b7e2a0253cb869caa4fd8bf43431039721b06eb0a08bfaf8752c7c5533553c3e30d0ac833c70c8a6030a638b525910
7
- data.tar.gz: a4979836de3440b806cf7ffb92e4d70a0ce7703f5886ae656c08b1a81382c93005c03439ea6e955a955aa7a4f53a8b6eea6e48f2e92819a55e98c412f80329c7
6
+ metadata.gz: 54e26120ea741630a5c8ca0a75ebd4ad79ee0af7eb0beb7f49f479314cb72122d4db1246249ceb6049518d8a31b7800fd1bf82ddc05309fb60130bcfe9f5c8f2
7
+ data.tar.gz: eeed230b7fc2e79abd2b7570ae46d453cdff566fd2b95f323b7ea6c16e9784b8da3cd1cb87668572204239cd4be43c7495e641c61bca2de531e6556b10c31285
@@ -2,11 +2,12 @@
2
2
  language: "ruby"
3
3
  script: "bundle exec rake --trace"
4
4
  rvm:
5
- - 1.9.2
6
5
  - 1.9.3
7
6
  - 2.0
7
+ - 2.1
8
+ - 2.2
8
9
  - jruby-head
9
- - rbx
10
+ - rbx-2
10
11
  notifications:
11
12
  irc: "irc.freenode.org#savon"
12
13
 
@@ -1,3 +1,7 @@
1
+ * 0.3.0 (2015-03-31)
2
+
3
+ * Formally set support ruby versions to 1.9.3 and higher
4
+
1
5
  # 0.2.0 (2014-05-05)
2
6
 
3
7
  * Fix: [#8](https://github.com/savonrb/sekken/issue/8) Cache result of `Operation.build` so the result does not change after multiple invocations
data/Gemfile CHANGED
@@ -24,5 +24,4 @@ end
24
24
 
25
25
  group :development do
26
26
  gem 'fuubar'
27
- gem 'pry'
28
27
  end
@@ -66,9 +66,9 @@ class Sekken
66
66
  # Private: Raises if the operation style is not supported.
67
67
  def verify_operation_style!(operation)
68
68
  if operation.input_style == 'rpc/encoded'
69
- raise UnsupportedStyleError,
70
- "#{operation.name.inspect} is an #{operation.input_style.inspect} style operation.\n" \
71
- "Currently this style is not supported."
69
+ raise UnsupportedStyleError,
70
+ "#{operation.name.inspect} is an #{operation.input_style.inspect} style operation.\n" \
71
+ "Currently this style is not supported."
72
72
  end
73
73
  end
74
74
 
@@ -58,13 +58,7 @@ class Sekken
58
58
  end
59
59
  if value.is_a? Hash
60
60
  attributes, value = extract_attributes(value)
61
- if attributes.empty? && tag[1].nil?
62
- t = xml.tag! *tag, {} do |b|
63
- build_from_hash(b, value, xml)
64
- end
65
- else
66
- xml.tag! *tag, value[tag[1]], attributes
67
- end
61
+ xml.tag! *tag, value[tag[1]], attributes
68
62
  else
69
63
  xml.tag! *tag, value
70
64
  end
@@ -79,22 +73,6 @@ class Sekken
79
73
  end
80
74
  end
81
75
 
82
- # build_from_hash 'foo', {a: {b: c: 123}}, xml
83
- #
84
- # => <foo><a><b><c>123</c></b></a></foo>
85
- #
86
- def build_from_hash(key, value, xml)
87
- value.each do |k, v|
88
- if v.is_a? Hash
89
- key.tag!(k) do |nested|
90
- build_from_hash(nested, v, xml)
91
- end
92
- else
93
- key.tag! k, v
94
- end
95
- end
96
- end
97
-
98
76
  def build_complex_type_element(element, xml, tag, value)
99
77
  if element.singular?
100
78
  unless value.kind_of? Hash
@@ -121,18 +99,8 @@ class Sekken
121
99
  xml.tag! *tag, attributes do |xml|
122
100
  build_elements(children, value, xml)
123
101
  end
124
- elsif value
125
- if value.is_a? Hash
126
- if attributes.empty? && tag[1].nil?
127
- t=xml.tag!(*tag) do |b|
128
- build_from_hash(b, value, xml)
129
- end
130
- else
131
- xml.tag! *tag, tag[1] ? value[tag[1]] : value, attributes
132
- end
133
- else
134
- xml.tag! *tag, value
135
- end
102
+ elsif value && value[tag[1]]
103
+ xml.tag! *tag, value[tag[1]], attributes
136
104
  else
137
105
  xml.tag! *tag, attributes
138
106
  end
@@ -1,5 +1,5 @@
1
1
  class Sekken
2
2
 
3
- VERSION = '0.2.0'
3
+ VERSION = '0.3.0'
4
4
 
5
5
  end
@@ -12,6 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.homepage = 'http://savonrb.com'
13
13
  s.summary = 'Next-Gen SOAP client'
14
14
  s.description = 'Sekken is an experimental SOAP client for the Ruby community.'
15
+ s.required_ruby_version = '>= 1.9.3'
15
16
 
16
17
  s.rubyforge_project = s.name
17
18
  s.license = 'MIT'
@@ -28,6 +29,7 @@ Gem::Specification.new do |s|
28
29
  s.add_development_dependency 'rspec', '~> 2.14'
29
30
  s.add_development_dependency 'mocha', '~> 0.14'
30
31
  s.add_development_dependency 'equivalent-xml', '~> 0.3'
32
+ s.add_development_dependency "transpec"
31
33
 
32
34
  ignores = File.readlines('.gitignore').grep(/\S+/).map(&:chomp)
33
35
  dotfiles = %w[.gitignore .travis.yml .yardopts]
@@ -0,0 +1,1630 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Marketo API Version 2_2 -->
3
+ <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
4
+ xmlns:tns="http://www.marketo.com/mktows/"
5
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
6
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" name="mktows" targetNamespace="http://www.marketo.com/mktows/">
7
+ <wsdl:types>
8
+ <xs:schema targetNamespace="http://www.marketo.com/mktows/">
9
+ <!-- ***************************************************************** -->
10
+ <!-- ** Enumerations ** -->
11
+ <!-- ***************************************************************** -->
12
+ <xs:simpleType name="LeadKeyRef">
13
+ <xs:restriction base="xs:string">
14
+ <xs:enumeration value="IDNUM"/>
15
+ <xs:enumeration value="COOKIE"/>
16
+ <xs:enumeration value="EMAIL"/>
17
+ <xs:enumeration value="LEADOWNEREMAIL"/>
18
+ <xs:enumeration value="SFDCACCOUNTID"/>
19
+ <xs:enumeration value="SFDCCONTACTID"/>
20
+ <xs:enumeration value="SFDCLEADID"/>
21
+ <xs:enumeration value="SFDCLEADOWNERID"/>
22
+ <xs:enumeration value="SFDCOPPTYID"/>
23
+ </xs:restriction>
24
+ </xs:simpleType>
25
+ <xs:simpleType name="LeadSyncStatus">
26
+ <xs:restriction base="xs:string">
27
+ <xs:enumeration value="CREATED"/>
28
+ <xs:enumeration value="UPDATED"/>
29
+ <xs:enumeration value="FAILED"/>
30
+ </xs:restriction>
31
+ </xs:simpleType>
32
+ <xs:simpleType name="ActivityType">
33
+ <xs:restriction base="xs:string">
34
+ <xs:enumeration value="VisitWebpage"/>
35
+ <xs:enumeration value="FillOutForm"/>
36
+ <xs:enumeration value="ClickLink"/>
37
+ <xs:enumeration value="SendEmail"/>
38
+ <xs:enumeration value="EmailDelivered"/>
39
+ <xs:enumeration value="EmailBounced"/>
40
+ <xs:enumeration value="UnsubscribeEmail"/>
41
+ <xs:enumeration value="OpenEmail"/>
42
+ <xs:enumeration value="ClickEmail"/>
43
+ <xs:enumeration value="NewLead"/>
44
+ <xs:enumeration value="ChangeDataValue"/>
45
+ <xs:enumeration value="LeadAssigned"/>
46
+ <xs:enumeration value="NewSFDCOpprtnty"/>
47
+ <xs:enumeration value="Wait"/>
48
+ <xs:enumeration value="RunSubflow"/>
49
+ <xs:enumeration value="RemoveFromFlow"/>
50
+ <xs:enumeration value="PushLeadToSales"/>
51
+ <xs:enumeration value="CreateTask"/>
52
+ <xs:enumeration value="ConvertLead"/>
53
+ <xs:enumeration value="ChangeScore"/>
54
+ <xs:enumeration value="ChangeOwner"/>
55
+ <xs:enumeration value="AddToList"/>
56
+ <xs:enumeration value="RemoveFromList"/>
57
+ <xs:enumeration value="SFDCActivity"/>
58
+ <xs:enumeration value="EmailBouncedSoft"/>
59
+ <xs:enumeration value="PushLeadUpdatesToSales"/>
60
+ <xs:enumeration value="DeleteLeadFromSales"/>
61
+ <xs:enumeration value="SFDCActivityUpdated"/>
62
+ <xs:enumeration value="SFDCMergeLeads"/>
63
+ <xs:enumeration value="MergeLeads"/>
64
+ <xs:enumeration value="ResolveConflicts"/>
65
+ <xs:enumeration value="AssocWithOpprtntyInSales"/>
66
+ <xs:enumeration value="DissocFromOpprtntyInSales"/>
67
+ <xs:enumeration value="UpdateOpprtntyInSales"/>
68
+ <xs:enumeration value="DeleteLead"/>
69
+ <xs:enumeration value="SendAlert"/>
70
+ <xs:enumeration value="SendSalesEmail"/>
71
+ <xs:enumeration value="OpenSalesEmail"/>
72
+ <xs:enumeration value="ClickSalesEmail"/>
73
+ <xs:enumeration value="AddtoSFDCCampaign"/>
74
+ <xs:enumeration value="RemoveFromSFDCCampaign"/>
75
+ <xs:enumeration value="ChangeStatusInSFDCCampaign"/>
76
+ <xs:enumeration value="ReceiveSalesEmail"/>
77
+ <xs:enumeration value="InterestingMoment"/>
78
+ <xs:enumeration value="RequestCampaign"/>
79
+ <xs:enumeration value="SalesEmailBounced"/>
80
+ <xs:enumeration value="ChangeLeadPartition"/>
81
+ <xs:enumeration value="ChangeRevenueStage"/>
82
+ <xs:enumeration value="ChangeRevenueStageManually"/>
83
+ <xs:enumeration value="ComputeDataValue"/>
84
+ <xs:enumeration value="ChangeStatusInProgression"/>
85
+ <xs:enumeration value="ChangeFieldInProgram"/>
86
+ <xs:enumeration value="EnrichWithDatacom"/>
87
+ <xs:enumeration value="ChangeSegment"/>
88
+ <xs:enumeration value="ResolveRuleset"/>
89
+ <xs:enumeration value="SmartCampaignTest"/>
90
+ <xs:enumeration value="SmartCampaignTestTrigger"/>
91
+ </xs:restriction>
92
+ </xs:simpleType>
93
+ <xs:simpleType name="ForeignSysType">
94
+ <xs:restriction base="xs:string">
95
+ <xs:enumeration value="CUSTOM"/>
96
+ <xs:enumeration value="SFDC"/>
97
+ <xs:enumeration value="NETSUITE"/>
98
+ </xs:restriction>
99
+ </xs:simpleType>
100
+ <xs:simpleType name="ReqCampSourceType">
101
+ <xs:restriction base="xs:string">
102
+ <xs:enumeration value="MKTOWS"/>
103
+ <xs:enumeration value="SALES"/>
104
+ </xs:restriction>
105
+ </xs:simpleType>
106
+ <xs:simpleType name="ListKeyType">
107
+ <xs:restriction base="xs:string">
108
+ <xs:enumeration value="MKTOLISTNAME"/>
109
+ <xs:enumeration value="MKTOSALESUSERID"/>
110
+ <xs:enumeration value="SFDCLEADOWNERID"/>
111
+ </xs:restriction>
112
+ </xs:simpleType>
113
+ <xs:simpleType name="ListOperationType">
114
+ <xs:restriction base="xs:string">
115
+ <xs:enumeration value="ADDTOLIST"/>
116
+ <xs:enumeration value="ISMEMBEROFLIST"/>
117
+ <xs:enumeration value="REMOVEFROMLIST"/>
118
+ </xs:restriction>
119
+ </xs:simpleType>
120
+ <xs:simpleType name="SyncOperationEnum">
121
+ <xs:restriction base="xs:string">
122
+ <xs:enumeration value="UPSERT"/>
123
+ <xs:enumeration value="INSERT"/>
124
+ <xs:enumeration value="UPDATE"/>
125
+ </xs:restriction>
126
+ </xs:simpleType>
127
+ <xs:simpleType name="SyncStatusEnum">
128
+ <xs:restriction base="xs:string">
129
+ <xs:enumeration value="CREATED"/>
130
+ <xs:enumeration value="UPDATED"/>
131
+ <xs:enumeration value="DELETED"/>
132
+ <xs:enumeration value="FAILED"/>
133
+ </xs:restriction>
134
+ </xs:simpleType>
135
+ <xs:simpleType name="LeadMergeStatusEnum">
136
+ <xs:restriction base="xs:string">
137
+ <xs:enumeration value="MERGED"/>
138
+ <xs:enumeration value="FAILED"/>
139
+ </xs:restriction>
140
+ </xs:simpleType>
141
+ <xs:simpleType name="MObjStatusEnum">
142
+ <xs:restriction base="xs:string">
143
+ <xs:enumeration value="CREATED"/>
144
+ <xs:enumeration value="UPDATED"/>
145
+ <xs:enumeration value="DELETED"/>
146
+ <xs:enumeration value="FAILED"/>
147
+ <xs:enumeration value="UNCHANGED"/>
148
+ <xs:enumeration value="SKIPPED"/>
149
+ </xs:restriction>
150
+ </xs:simpleType>
151
+ <xs:simpleType name="MObjectTypeEnum">
152
+ <xs:restriction base="xs:string">
153
+ <xs:enumeration value="Opportunity"/>
154
+ <xs:enumeration value="OpportunityLeadRole"/>
155
+ <xs:enumeration value="Program"/>
156
+ </xs:restriction>
157
+ </xs:simpleType>
158
+ <xs:simpleType name="ComparisonEnum">
159
+ <xs:restriction base="xs:string">
160
+ <xs:enumeration value="EQ"/>
161
+ <xs:enumeration value="NE"/>
162
+ <xs:enumeration value="LT"/>
163
+ <xs:enumeration value="LE"/>
164
+ <xs:enumeration value="GT"/>
165
+ <xs:enumeration value="GE"/>
166
+ </xs:restriction>
167
+ </xs:simpleType>
168
+ <xs:simpleType name="ImportToListStatusEnum">
169
+ <xs:restriction base="xs:string">
170
+ <xs:enumeration value="PROCESSING"/>
171
+ <xs:enumeration value="COMPLETE"/>
172
+ <xs:enumeration value="FAILED"/>
173
+ <xs:enumeration value="CANCELED"/>
174
+ </xs:restriction>
175
+ </xs:simpleType>
176
+ <xs:simpleType name="ImportToListModeEnum">
177
+ <xs:restriction base="xs:string">
178
+ <xs:enumeration value="UPSERTLEADS"/>
179
+ <xs:enumeration value="LISTONLY"/>
180
+ </xs:restriction>
181
+ </xs:simpleType>
182
+
183
+
184
+ <!-- ***************************************************************** -->
185
+ <!-- ** Simple Data Types ** -->
186
+ <!-- ***************************************************************** -->
187
+
188
+ <!-- String array -->
189
+ <xs:complexType name="ArrayOfString">
190
+ <xs:sequence>
191
+ <xs:element name="stringItem" type="xs:string" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
192
+ </xs:sequence>
193
+ </xs:complexType>
194
+ <!-- Integer array -->
195
+ <xs:complexType name="ArrayOfInteger">
196
+ <xs:sequence>
197
+ <xs:element name="integerItem" type="xs:int" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
198
+ </xs:sequence>
199
+ </xs:complexType>
200
+
201
+ <!-- ***************************************************************** -->
202
+ <!-- ** Data Types for all APIs ** -->
203
+ <!-- ***************************************************************** -->
204
+
205
+ <xs:complexType name="ArrayOfActivityType">
206
+ <xs:sequence>
207
+ <xs:element name="activityType" type="tns:ActivityType" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
208
+ </xs:sequence>
209
+ </xs:complexType>
210
+ <xs:complexType name="ActivityTypeFilter">
211
+ <xs:sequence>
212
+ <xs:element name="includeTypes" type="tns:ArrayOfActivityType" minOccurs="0" maxOccurs="1" nillable="false"/>
213
+ <xs:element name="excludeTypes" type="tns:ArrayOfActivityType" minOccurs="0" maxOccurs="1" nillable="false"/>
214
+ </xs:sequence>
215
+ </xs:complexType>
216
+ <xs:complexType name="Attrib">
217
+ <xs:sequence>
218
+ <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
219
+ <xs:element name="value" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
220
+ </xs:sequence>
221
+ </xs:complexType>
222
+ <xs:complexType name="ArrayOfAttrib">
223
+ <xs:sequence>
224
+ <xs:element name="attrib" type="tns:Attrib" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
225
+ </xs:sequence>
226
+ </xs:complexType>
227
+ <xs:complexType name="Attribute">
228
+ <xs:sequence>
229
+ <xs:element name="attrName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
230
+ <xs:element name="attrType" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
231
+ <xs:element name="attrValue" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
232
+ </xs:sequence>
233
+ </xs:complexType>
234
+ <xs:complexType name="ArrayOfAttribute">
235
+ <xs:sequence>
236
+ <xs:element name="attribute" type="tns:Attribute" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
237
+ </xs:sequence>
238
+ </xs:complexType>
239
+ <xs:complexType name="TypeAttrib">
240
+ <xs:sequence>
241
+ <xs:element name="attrType" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
242
+ <xs:element name="attrList" type="tns:ArrayOfAttrib" minOccurs="0" maxOccurs="1" nillable="false"/>
243
+ </xs:sequence>
244
+ </xs:complexType>
245
+ <xs:complexType name="ArrayOfTypeAttrib">
246
+ <xs:sequence>
247
+ <xs:element name="typeAttrib" type="tns:TypeAttrib" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
248
+ </xs:sequence>
249
+ </xs:complexType>
250
+ <xs:complexType name="ArrayOfKeyList">
251
+ <xs:sequence>
252
+ <xs:element name="keyList" type="tns:ArrayOfAttribute" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
253
+ </xs:sequence>
254
+ </xs:complexType>
255
+ <xs:complexType name="LeadRecord">
256
+ <xs:sequence>
257
+ <xs:element name="Id" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
258
+ <xs:element name="Email" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
259
+ <xs:element name="ForeignSysPersonId" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
260
+ <!-- ForeignSysType must be specified when ForeignSysPersonId is present -->
261
+ <xs:element name="ForeignSysType" type="tns:ForeignSysType" minOccurs="0" maxOccurs="1" nillable="true"/>
262
+ <xs:element name="leadAttributeList" type="tns:ArrayOfAttribute" minOccurs="0" maxOccurs="1" nillable="true"/>
263
+ </xs:sequence>
264
+ </xs:complexType>
265
+ <xs:complexType name="ArrayOfLeadRecord">
266
+ <xs:sequence>
267
+ <xs:element name="leadRecord" type="tns:LeadRecord" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
268
+ </xs:sequence>
269
+ </xs:complexType>
270
+ <xs:complexType name="ActivityRecord">
271
+ <xs:sequence>
272
+ <xs:element name="id" type="xs:int" minOccurs="1" maxOccurs="1" nillable="false"/>
273
+ <xs:element name="activityDateTime" type="xs:dateTime" minOccurs="1" maxOccurs="1" nillable="false"/>
274
+ <xs:element name="activityType" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
275
+ <xs:element name="mktgAssetName" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>
276
+ <xs:element name="activityAttributes" type="tns:ArrayOfAttribute" minOccurs="0" maxOccurs="1" nillable="true"/>
277
+ <xs:element name="campaign" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
278
+ <xs:element name="personName" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
279
+ <xs:element name="mktPersonId" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
280
+ <xs:element name="foreignSysId" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
281
+ <xs:element name="orgName" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
282
+ <xs:element name="foreignSysOrgId" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
283
+ </xs:sequence>
284
+ </xs:complexType>
285
+ <xs:complexType name="CampaignRecord">
286
+ <xs:sequence>
287
+ <xs:element name="id" type="xs:int" minOccurs="1" maxOccurs="1" nillable="false"/>
288
+ <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
289
+ <xs:element name="description" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
290
+ </xs:sequence>
291
+ </xs:complexType>
292
+ <xs:complexType name="ArrayOfCampaignRecord">
293
+ <xs:sequence>
294
+ <xs:element name="campaignRecord" type="tns:CampaignRecord" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
295
+ </xs:sequence>
296
+ </xs:complexType>
297
+ <xs:complexType name="LeadChangeRecord">
298
+ <xs:sequence>
299
+ <xs:element name="id" type="xs:int" minOccurs="1" maxOccurs="1" nillable="false"/>
300
+ <xs:element name="activityDateTime" type="xs:dateTime" minOccurs="1" maxOccurs="1" nillable="false"/>
301
+ <xs:element name="activityType" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
302
+ <xs:element name="mktgAssetName" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
303
+ <xs:element name="activityAttributes" type="tns:ArrayOfAttribute" minOccurs="0" maxOccurs="1" nillable="true"/>
304
+ <xs:element name="campaign" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>
305
+ <xs:element name="mktPersonId" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
306
+ </xs:sequence>
307
+ </xs:complexType>
308
+ <xs:complexType name="ArrayOfLeadChangeRecord">
309
+ <xs:sequence>
310
+ <xs:element name="leadChangeRecord" type="tns:LeadChangeRecord" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
311
+ </xs:sequence>
312
+ </xs:complexType>
313
+ <xs:complexType name="ArrayOfActivityRecord">
314
+ <xs:sequence>
315
+ <xs:element name="activityRecord" type="tns:ActivityRecord" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
316
+ </xs:sequence>
317
+ </xs:complexType>
318
+ <xs:complexType name="LeadKey">
319
+ <xs:sequence>
320
+ <xs:element name="keyType" type="tns:LeadKeyRef" minOccurs="1" maxOccurs="1" nillable="false"/>
321
+ <xs:element name="keyValue" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
322
+ </xs:sequence>
323
+ </xs:complexType>
324
+ <xs:complexType name="ArrayOfLeadKey">
325
+ <xs:sequence>
326
+ <xs:element name="leadKey" type="tns:LeadKey" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
327
+ </xs:sequence>
328
+ </xs:complexType>
329
+ <xs:complexType name="LeadStatus">
330
+ <xs:sequence>
331
+ <xs:element name="leadKey" type="tns:LeadKey" minOccurs="1" maxOccurs="1" nillable="false"/>
332
+ <xs:element name="status" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="false"/>
333
+ </xs:sequence>
334
+ </xs:complexType>
335
+ <xs:complexType name="ArrayOfLeadStatus">
336
+ <xs:sequence>
337
+ <xs:element name="leadStatus" type="tns:LeadStatus" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
338
+ </xs:sequence>
339
+ </xs:complexType>
340
+ <xs:complexType name="ListKey">
341
+ <xs:sequence>
342
+ <xs:element name="keyType" type="tns:ListKeyType" minOccurs="1" maxOccurs="1" nillable="false"/>
343
+ <xs:element name="keyValue" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
344
+ </xs:sequence>
345
+ </xs:complexType>
346
+ <xs:complexType name="MObject">
347
+ <xs:sequence>
348
+ <xs:element name="type" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
349
+ <xs:element name="id" type="xs:int" minOccurs="0" maxOccurs="1" nillable="false"/>
350
+ <xs:element name="externalKey" type="tns:Attrib" minOccurs="0" maxOccurs="1" nillable="false"/>
351
+ <xs:element name="createdAt" type="xs:dateTime" minOccurs="0" maxOccurs="1" nillable="false"/>
352
+ <xs:element name="updatedAt" type="xs:dateTime" minOccurs="0" maxOccurs="1" nillable="false"/>
353
+ <xs:element name="attribList" type="tns:ArrayOfAttrib" minOccurs="0" maxOccurs="1" nillable="false"/>
354
+ <xs:element name="typeAttribList" type="tns:ArrayOfTypeAttrib" minOccurs="0" maxOccurs="1" nillable="false"/>
355
+ <xs:element name="associationList" type="tns:ArrayOfMObjAssociation" minOccurs="0" maxOccurs="1" nillable="false"/>
356
+ </xs:sequence>
357
+ </xs:complexType>
358
+ <xs:complexType name="ArrayOfMObject">
359
+ <xs:sequence>
360
+ <xs:element name="mObject" type="tns:MObject" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
361
+ </xs:sequence>
362
+ </xs:complexType>
363
+ <xs:complexType name="MObjAssociation">
364
+ <xs:sequence>
365
+ <xs:element name="mObjType" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
366
+ <xs:element name="id" type="xs:int" minOccurs="0" maxOccurs="1" nillable="false"/>
367
+ <xs:element name="externalKey" type="tns:Attrib" minOccurs="0" maxOccurs="1" nillable="false"/>
368
+ </xs:sequence>
369
+ </xs:complexType>
370
+ <xs:complexType name="ArrayOfMObjAssociation">
371
+ <xs:sequence>
372
+ <xs:element name="mObjAssociation" type="tns:MObjAssociation" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
373
+ </xs:sequence>
374
+ </xs:complexType>
375
+ <xs:complexType name="MObjStatus">
376
+ <xs:sequence>
377
+ <xs:element name="id" type="xs:int" minOccurs="1" maxOccurs="1" nillable="false"/>
378
+ <xs:element name="externalKey" type="tns:Attrib" minOccurs="0" maxOccurs="1" nillable="false"/>
379
+ <xs:element name="status" type="tns:MObjStatusEnum" minOccurs="1" maxOccurs="1" nillable="false"/>
380
+ <xs:element name="error" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>
381
+ </xs:sequence>
382
+ </xs:complexType>
383
+ <xs:complexType name="ArrayOfMObjStatus">
384
+ <xs:sequence>
385
+ <xs:element name="mObjStatus" type="tns:MObjStatus" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
386
+ </xs:sequence>
387
+ </xs:complexType>
388
+
389
+ <!-- ****************************************************************************************************************** -->
390
+ <!-- ** For Program, following attrNames are allowed: ** -->
391
+ <!-- ** Id, Name, CRM Id, Created At, Updated At, Tag Type, Tag Value, Workspace Id, Workspace Name, Include Archive ** -->
392
+ <!-- ****************************************************************************************************************** -->
393
+
394
+ <xs:complexType name="MObjCriteria">
395
+ <xs:sequence>
396
+ <xs:element name="attrName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
397
+ <xs:element name="comparison" type="tns:ComparisonEnum" minOccurs="1" maxOccurs="1" nillable="false"/>
398
+ <xs:element name="attrValue" type="xs:anySimpleType" minOccurs="1" maxOccurs="1" nillable="false"/>
399
+ </xs:sequence>
400
+ </xs:complexType>
401
+ <xs:complexType name="ArrayOfMObjCriteria">
402
+ <xs:sequence>
403
+ <xs:element name="mObjCriteria" type="tns:MObjCriteria" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
404
+ </xs:sequence>
405
+ </xs:complexType>
406
+ <xs:complexType name="MObjectMetadata">
407
+ <xs:sequence>
408
+ <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
409
+ <xs:element name="description" type="xs:string" minOccurs="1" maxOccurs="1" nillable="true"/>
410
+ <xs:element name="isCustom" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="false"/>
411
+ <xs:element name="isVirtual" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="false"/>
412
+ <xs:element name="fieldList" type="tns:ArrayOfMObjFieldMetadata" minOccurs="1" maxOccurs="1" nillable="false"/>
413
+ <xs:element name="updatedAt" type="xs:dateTime" minOccurs="1" maxOccurs="1" nillable="false"/>
414
+ </xs:sequence>
415
+ </xs:complexType>
416
+ <xs:complexType name="MObjFieldMetadata">
417
+ <xs:sequence>
418
+ <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
419
+ <xs:element name="description" type="xs:string" minOccurs="1" maxOccurs="1" nillable="true"/>
420
+ <xs:element name="displayName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="true"/>
421
+ <xs:element name="sourceObject" type="xs:string" minOccurs="1" maxOccurs="1" nillable="true"/>
422
+ <xs:element name="dataType" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
423
+ <xs:element name="size" type="xs:int" minOccurs="1" maxOccurs="1" nillable="true"/>
424
+ <xs:element name="isReadonly" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="false"/>
425
+ <xs:element name="isUpdateBlocked" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="false"/>
426
+ <xs:element name="isName" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="true"/>
427
+ <xs:element name="isPrimaryKey" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="false"/>
428
+ <xs:element name="isCustom" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="false"/>
429
+ <xs:element name="isDynamic" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="false"/>
430
+ <xs:element name="dynamicFieldRef" type="xs:string" minOccurs="1" maxOccurs="1" nillable="true"/>
431
+ <xs:element name="updatedAt" type="xs:dateTime" minOccurs="1" maxOccurs="1" nillable="false"/>
432
+ </xs:sequence>
433
+ </xs:complexType>
434
+ <xs:complexType name="ArrayOfMObjFieldMetadata">
435
+ <xs:sequence>
436
+ <xs:element name="field" type="tns:MObjFieldMetadata" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
437
+ </xs:sequence>
438
+ </xs:complexType>
439
+ <xs:complexType name="StreamPosition">
440
+ <xs:sequence>
441
+ <xs:element name="latestCreatedAt" type="xs:dateTime" minOccurs="0" maxOccurs="1" nillable="true"/>
442
+ <xs:element name="oldestCreatedAt" type="xs:dateTime" minOccurs="0" maxOccurs="1" nillable="true"/>
443
+ <xs:element name="activityCreatedAt" type="xs:dateTime" minOccurs="0" maxOccurs="1" nillable="true"/>
444
+ <xs:element name="offset" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
445
+ </xs:sequence>
446
+ </xs:complexType>
447
+ <xs:complexType name="SyncStatus">
448
+ <xs:sequence>
449
+ <xs:element name="leadId" type="xs:int" minOccurs="1" maxOccurs="1" nillable="false"/>
450
+ <xs:element name="status" type="tns:LeadSyncStatus" minOccurs="1" maxOccurs="1" nillable="false"/>
451
+ <xs:element name="error" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
452
+ </xs:sequence>
453
+ </xs:complexType>
454
+ <xs:complexType name="ArrayOfSyncStatus">
455
+ <xs:sequence>
456
+ <xs:element name="syncStatus" type="tns:SyncStatus" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
457
+ </xs:sequence>
458
+ </xs:complexType>
459
+ <xs:complexType name="ArrayOfBase64Binary">
460
+ <xs:sequence>
461
+ <xs:element name="base64Binary" type="xs:base64Binary" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
462
+ </xs:sequence>
463
+ </xs:complexType>
464
+ <xs:complexType name="VersionedItem">
465
+ <xs:sequence>
466
+ <xs:element name="id" type="xs:integer" minOccurs="1" maxOccurs="1" nillable="false"/>
467
+ <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
468
+ <xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true" />
469
+ <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
470
+ <xs:element name="timestamp" type="xs:dateTime" minOccurs="1" maxOccurs="1" nillable="false"/>
471
+ </xs:sequence>
472
+ </xs:complexType>
473
+ <xs:complexType name="ArrayOfVersionedItem">
474
+ <xs:sequence>
475
+ <xs:element name="versionedItem" type="tns:VersionedItem" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
476
+ </xs:sequence>
477
+ </xs:complexType>
478
+ <xs:complexType name="CustomObj">
479
+ <xs:sequence>
480
+ <xs:element name="customObjKeyList" type="tns:ArrayOfAttribute" minOccurs="0" maxOccurs="1" nillable="true"/>
481
+ <xs:element name="customObjAttributeList" type="tns:ArrayOfAttribute" minOccurs="0" maxOccurs="1" nillable="true"/>
482
+ </xs:sequence>
483
+ </xs:complexType>
484
+ <xs:complexType name="ArrayOfCustomObj">
485
+ <xs:sequence>
486
+ <xs:element name="customObj" type="tns:CustomObj" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
487
+ </xs:sequence>
488
+ </xs:complexType>
489
+ <xs:complexType name="SyncCustomObjStatus">
490
+ <xs:sequence>
491
+ <xs:element name="objTypeName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
492
+ <xs:element name="customObjKeyList" type="tns:ArrayOfAttribute" minOccurs="0" maxOccurs="1" nillable="true"/>
493
+ <xs:element name="status" type="tns:SyncStatusEnum" minOccurs="1" maxOccurs="1" nillable="false"/>
494
+ <xs:element name="error" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
495
+ </xs:sequence>
496
+ </xs:complexType>
497
+ <xs:complexType name="ArrayOfSyncCustomObjStatus">
498
+ <xs:sequence>
499
+ <xs:element name="syncCustomObjStatus" type="tns:SyncCustomObjStatus" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
500
+ </xs:sequence>
501
+ </xs:complexType>
502
+ <xs:complexType name="MergeStatus">
503
+ <xs:sequence>
504
+ <xs:element name="winningLeadId" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
505
+ <xs:element name="losingLeadIdList" type="tns:ArrayOfInteger" minOccurs="0" maxOccurs="1" nillable="true"/>
506
+ <xs:element name="status" type="tns:LeadMergeStatusEnum" minOccurs="1" maxOccurs="1" nillable="false"/>
507
+ <xs:element name="error" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
508
+ </xs:sequence>
509
+ </xs:complexType>
510
+ <xs:complexType name="LeadSelector" abstract="true"/>
511
+ <xs:complexType name="LastUpdateAtSelector">
512
+ <xs:complexContent>
513
+ <xs:extension base="tns:LeadSelector">
514
+ <xs:sequence>
515
+ <xs:element name="latestUpdatedAt" type="xs:dateTime" minOccurs="0" maxOccurs="1" nillable="true"/>
516
+ <xs:element name="oldestUpdatedAt" type="xs:dateTime" minOccurs="1" maxOccurs="1" nillable="false"/>
517
+ </xs:sequence>
518
+ </xs:extension>
519
+ </xs:complexContent>
520
+ </xs:complexType>
521
+ <xs:complexType name="StaticListSelector">
522
+ <xs:complexContent>
523
+ <xs:extension base="tns:LeadSelector">
524
+ <xs:sequence>
525
+ <xs:element name="staticListName" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
526
+ <xs:element name="staticListId" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
527
+ </xs:sequence>
528
+ </xs:extension>
529
+ </xs:complexContent>
530
+ </xs:complexType>
531
+ <xs:complexType name="LeadKeySelector">
532
+ <xs:complexContent>
533
+ <xs:extension base="tns:LeadSelector">
534
+ <xs:sequence>
535
+ <xs:element name="keyType" type="tns:LeadKeyRef" minOccurs="1" maxOccurs="1" nillable="false"/>
536
+ <xs:element name="keyValues" type="tns:ArrayOfString" minOccurs="1" maxOccurs="1" nillable="false"/>
537
+ </xs:sequence>
538
+ </xs:extension>
539
+ </xs:complexContent>
540
+ </xs:complexType>
541
+ <xs:complexType name="Tag">
542
+ <xs:sequence>
543
+ <xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>
544
+ <xs:element name="values" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false"/>
545
+ </xs:sequence>
546
+ </xs:complexType>
547
+ <xs:complexType name="ArrayOfTag">
548
+ <xs:sequence>
549
+ <xs:element name="tag" type="tns:Tag" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
550
+ </xs:sequence>
551
+ </xs:complexType>
552
+ <xs:complexType name="ProgressionStatus">
553
+ <xs:sequence>
554
+ <xs:element name="progressionStatus" type="tns:ArrayOfAttrib" minOccurs="0" maxOccurs="1" nillable="false"/>
555
+ </xs:sequence>
556
+ </xs:complexType>
557
+ <xs:complexType name="ArrayOfProgressionStatus">
558
+ <xs:sequence>
559
+ <xs:element name="progressionStatusItem" type="tns:ProgressionStatus" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
560
+ </xs:sequence>
561
+ </xs:complexType>
562
+ <xs:complexType name="TagStatus">
563
+ <xs:sequence>
564
+ <xs:element name="tagValue" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
565
+ <xs:element name="statusList" type="tns:ArrayOfProgressionStatus" minOccurs="1" maxOccurs="1" nillable="false"/>
566
+ </xs:sequence>
567
+ </xs:complexType>
568
+ <xs:complexType name="ArrayOfTagStatus">
569
+ <xs:sequence>
570
+ <xs:element name="tagStatus" type="tns:TagStatus" minOccurs="0" maxOccurs="unbounded" nillable="false"/>
571
+ </xs:sequence>
572
+ </xs:complexType>
573
+
574
+ <!-- ***************************************************************** -->
575
+ <!-- ** Params for MObject APIs ** -->
576
+ <!-- ***************************************************************** -->
577
+ <xs:complexType name="ParamsDeleteMObjects">
578
+ <xs:sequence>
579
+ <xs:element name="mObjectList" type="tns:ArrayOfMObject" minOccurs="1" maxOccurs="1" nillable="false"/>
580
+ </xs:sequence>
581
+ </xs:complexType>
582
+ <xs:complexType name="ParamsDescribeMObject">
583
+ <xs:sequence>
584
+ <xs:element name="objectName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
585
+ </xs:sequence>
586
+ </xs:complexType>
587
+ <xs:complexType name="ParamsGetMObjects">
588
+ <xs:sequence>
589
+ <xs:element name="type" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
590
+ <xs:element name="id" type="xs:int" minOccurs="0" maxOccurs="1" nillable="false"/>
591
+ <xs:element name="externalKey" type="tns:Attrib" minOccurs="0" maxOccurs="1" nillable="false"/>
592
+ <xs:element name="mObjCriteriaList" type="tns:ArrayOfMObjCriteria" minOccurs="0" maxOccurs="1" nillable="false"/>
593
+ <xs:element name="mObjAssociationList" type="tns:ArrayOfMObjAssociation" minOccurs="0" maxOccurs="1" nillable="false"/>
594
+ <xs:element name="includeDetails" type="xs:boolean" minOccurs="0" maxOccurs="1" nillable="false"/>
595
+ <xs:element name="streamPosition" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>
596
+ </xs:sequence>
597
+ </xs:complexType>
598
+ <xs:complexType name="ParamsListMObjects">
599
+ <xs:sequence>
600
+ </xs:sequence>
601
+ </xs:complexType>
602
+ <xs:complexType name="ParamsSyncMObjects">
603
+ <xs:sequence>
604
+ <xs:element name="mObjectList" type="tns:ArrayOfMObject" minOccurs="1" maxOccurs="1" nillable="false"/>
605
+ <xs:element name="operation" type="tns:SyncOperationEnum" minOccurs="1" maxOccurs="1" nillable="false"/>
606
+ </xs:sequence>
607
+ </xs:complexType>
608
+
609
+ <!-- ***************************************************************** -->
610
+ <!-- ** Params for all APIs (except MObject APIs) ** -->
611
+ <!-- ***************************************************************** -->
612
+ <xs:complexType name="ParamsGetCampaignsForSource">
613
+ <xs:sequence>
614
+ <xs:element name="source" type="tns:ReqCampSourceType" minOccurs="1" maxOccurs="1" nillable="false"/>
615
+ <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
616
+ <xs:element name="exactName" type="xs:boolean" minOccurs="0" maxOccurs="1" nillable="true"/>
617
+ </xs:sequence>
618
+ </xs:complexType>
619
+ <xs:complexType name="ParamsGetImportToListStatus">
620
+ <xs:sequence>
621
+ <xs:element name="programName" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>
622
+ <xs:element name="listName" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>
623
+ </xs:sequence>
624
+ </xs:complexType>
625
+ <xs:complexType name="ParamsGetLead">
626
+ <xs:sequence>
627
+ <xs:element name="leadKey" type="tns:LeadKey" minOccurs="1" maxOccurs="1" nillable="false"/>
628
+ </xs:sequence>
629
+ </xs:complexType>
630
+ <xs:complexType name="ParamsGetLeadActivity">
631
+ <xs:sequence>
632
+ <xs:element name="leadKey" type="tns:LeadKey" minOccurs="1" maxOccurs="1" nillable="false"/>
633
+ <xs:element name="activityFilter" type="tns:ActivityTypeFilter" minOccurs="0" maxOccurs="1" nillable="true"/>
634
+ <xs:element name="startPosition" type="tns:StreamPosition" minOccurs="0" maxOccurs="1" nillable="true"/>
635
+ <xs:element name="batchSize" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
636
+ </xs:sequence>
637
+ </xs:complexType>
638
+ <xs:complexType name="ParamsGetLeadChanges">
639
+ <xs:sequence>
640
+ <xs:element name="startPosition" type="tns:StreamPosition" minOccurs="1" maxOccurs="1" nillable="false"/>
641
+ <xs:element name="activityFilter" type="tns:ActivityTypeFilter" minOccurs="0" maxOccurs="1" nillable="true"/>
642
+ <xs:element name="batchSize" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
643
+ <xs:element name="leadSelector" type="tns:LeadSelector" minOccurs="0" maxOccurs="1" nillable="false"/>
644
+ </xs:sequence>
645
+ </xs:complexType>
646
+ <xs:complexType name="ParamsGetMultipleLeads">
647
+ <xs:sequence>
648
+ <xs:element name="leadSelector" type="tns:LeadSelector" minOccurs="0" maxOccurs="1" nillable="false"/>
649
+ <xs:element name="lastUpdatedAt" type="xs:dateTime" minOccurs="0" maxOccurs="1" nillable="false"/>
650
+ <xs:element name="streamPosition" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
651
+ <xs:element name="batchSize" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
652
+ <xs:element name="includeAttributes" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false"/>
653
+ </xs:sequence>
654
+ </xs:complexType>
655
+ <xs:complexType name="ParamsImportToList">
656
+ <xs:sequence>
657
+ <xs:element name="programName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
658
+ <xs:element name="importFileHeader" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
659
+ <xs:element name="importFileRows" type="tns:ArrayOfString" minOccurs="1" maxOccurs="1" nillable="false"/>
660
+ <xs:element name="importListMode" type="tns:ImportToListModeEnum" minOccurs="1" maxOccurs="1" nillable="false"/>
661
+ <xs:element name="listName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
662
+ <xs:element name="clearList" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="false"/>
663
+ <xs:element name="campaignName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="true"/>
664
+ </xs:sequence>
665
+ </xs:complexType>
666
+ <xs:complexType name="ParamsListOperation">
667
+ <xs:sequence>
668
+ <xs:element name="listOperation" type="tns:ListOperationType" minOccurs="1" maxOccurs="1" nillable="false"/>
669
+ <xs:element name="listKey" type="tns:ListKey" minOccurs="1" maxOccurs="1" nillable="false"/>
670
+ <xs:element name="listMemberList" type="tns:ArrayOfLeadKey" minOccurs="1" maxOccurs="1" nillable="false"/>
671
+ <xs:element name="strict" type="xs:boolean" minOccurs="0" maxOccurs="1" nillable="true"/>
672
+ <xs:element name="skipActivityLog" type="xs:boolean" minOccurs="0" maxOccurs="1" nillable="true"/>
673
+ </xs:sequence>
674
+ </xs:complexType>
675
+ <xs:complexType name="ParamsRequestCampaign">
676
+ <xs:sequence>
677
+ <xs:element name="source" type="tns:ReqCampSourceType" minOccurs="1" maxOccurs="1" nillable="false"/>
678
+ <xs:element name="campaignId" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
679
+ <xs:element name="leadList" type="tns:ArrayOfLeadKey" minOccurs="0" maxOccurs="1" nillable="true"/>
680
+ <xs:element name="programName" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
681
+ <xs:element name="campaignName" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
682
+ <xs:element name="programTokenList" type="tns:ArrayOfAttrib" minOccurs="0" maxOccurs="1" nillable="true"/>
683
+ </xs:sequence>
684
+ </xs:complexType>
685
+ <xs:complexType name="ParamsScheduleCampaign">
686
+ <xs:sequence>
687
+ <xs:element name="programName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
688
+ <xs:element name="campaignName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
689
+ <xs:element name="campaignRunAt" type="xs:dateTime" minOccurs="0" maxOccurs="1" nillable="true"/>
690
+ <xs:element name="programTokenList" type="tns:ArrayOfAttrib" minOccurs="0" maxOccurs="1" nillable="true"/>
691
+ </xs:sequence>
692
+ </xs:complexType>
693
+ <xs:complexType name="ParamsSyncLead">
694
+ <xs:sequence>
695
+ <xs:element name="leadRecord" type="tns:LeadRecord" minOccurs="1" maxOccurs="1" nillable="false"/>
696
+ <xs:element name="returnLead" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="false"/>
697
+ <xs:element name="marketoCookie" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
698
+ </xs:sequence>
699
+ </xs:complexType>
700
+ <xs:complexType name="ParamsSyncMultipleLeads">
701
+ <xs:sequence>
702
+ <xs:element name="leadRecordList" type="tns:ArrayOfLeadRecord" minOccurs="1" maxOccurs="1" nillable="false"/>
703
+ <xs:element name="dedupEnabled" type="xs:boolean" minOccurs="0" maxOccurs="1" nillable="true"/>
704
+ </xs:sequence>
705
+ </xs:complexType>
706
+ <xs:complexType name="ParamsSyncCustomObjects">
707
+ <xs:sequence>
708
+ <xs:element name="objTypeName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
709
+ <xs:element name="customObjList" type="tns:ArrayOfCustomObj" minOccurs="1" maxOccurs="1" nillable="false"/>
710
+ <xs:element name="operation" type="tns:SyncOperationEnum" minOccurs="0" maxOccurs="1" nillable="true"/>
711
+ </xs:sequence>
712
+ </xs:complexType>
713
+ <xs:complexType name="ParamsDeleteCustomObjects">
714
+ <xs:sequence>
715
+ <xs:element name="objTypeName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
716
+ <xs:element name="customObjKeyLists" type="tns:ArrayOfKeyList" minOccurs="1" maxOccurs="1" nillable="false"/>
717
+ </xs:sequence>
718
+ </xs:complexType>
719
+ <xs:complexType name="ParamsGetCustomObjects">
720
+ <xs:sequence>
721
+ <xs:element name="objTypeName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
722
+ <xs:element name="streamPosition" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
723
+ <xs:element name="batchSize" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
724
+ <xs:element name="customObjKeyList" type="tns:ArrayOfAttribute" minOccurs="0" maxOccurs="1" nillable="true"/>
725
+ <xs:element name="includeAttributes" type="tns:ArrayOfString" minOccurs="1" maxOccurs="1" nillable="false"/>
726
+ </xs:sequence>
727
+ </xs:complexType>
728
+ <xs:complexType name="ParamsMergeLeads">
729
+ <xs:sequence>
730
+ <xs:element name="winningLeadKeyList" type="tns:ArrayOfAttribute" minOccurs="1" maxOccurs="1" nillable="false"/>
731
+ <xs:element name="losingLeadKeyLists" type="tns:ArrayOfKeyList" minOccurs="1" maxOccurs="1" nillable="false"/>
732
+ </xs:sequence>
733
+ </xs:complexType>
734
+ <xs:complexType name="ParamsGetChannels">
735
+ <xs:sequence>
736
+ <xs:element name="tag" type="tns:Tag" minOccurs="0" maxOccurs="1" nillable="false"/>
737
+ </xs:sequence>
738
+ </xs:complexType>
739
+ <xs:complexType name="ParamsGetTags">
740
+ <xs:sequence>
741
+ <xs:element name="tagList" type="tns:ArrayOfTag" minOccurs="0" maxOccurs="1" nillable="false"/>
742
+ </xs:sequence>
743
+ </xs:complexType>
744
+
745
+ <!-- ***************************************************************** -->
746
+ <!-- ** Result for MObject APIs ** -->
747
+ <!-- ***************************************************************** -->
748
+ <xs:complexType name="ResultDeleteMObjects">
749
+ <xs:sequence>
750
+ <xs:element name="mObjStatusList" type="tns:ArrayOfMObjStatus" minOccurs="1" maxOccurs="1" nillable="false"/>
751
+ </xs:sequence>
752
+ </xs:complexType>
753
+ <xs:complexType name="ResultDescribeMObject">
754
+ <xs:sequence>
755
+ <xs:element name="metadata" type="tns:MObjectMetadata" minOccurs="1" maxOccurs="1"/>
756
+ </xs:sequence>
757
+ </xs:complexType>
758
+ <xs:complexType name="ResultGetMObjects">
759
+ <xs:sequence>
760
+ <xs:element name="returnCount" type="xs:int" minOccurs="1" maxOccurs="1" nillable="false"/>
761
+ <xs:element name="hasMore" type="xs:boolean" minOccurs="1" maxOccurs="1" nillable="false"/>
762
+ <xs:element name="newStreamPosition" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
763
+ <xs:element name="mObjectList" type="tns:ArrayOfMObject" minOccurs="0" maxOccurs="1" nillable="false"/>
764
+ </xs:sequence>
765
+ </xs:complexType>
766
+ <xs:complexType name="ResultListMObjects">
767
+ <xs:sequence>
768
+ <xs:element name="objects" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
769
+ </xs:sequence>
770
+ </xs:complexType>
771
+ <xs:complexType name="ResultSyncMObjects">
772
+ <xs:sequence>
773
+ <xs:element name="mObjStatusList" type="tns:ArrayOfMObjStatus" minOccurs="1" maxOccurs="1" nillable="false"/>
774
+ </xs:sequence>
775
+ </xs:complexType>
776
+
777
+ <!-- ***************************************************************** -->
778
+ <!-- ** Result for all APIs (except MObject APIs) ** -->
779
+ <!-- ***************************************************************** -->
780
+ <xs:complexType name="LeadActivityList">
781
+ <xs:sequence>
782
+ <xs:element name="returnCount" type="xs:int" minOccurs="1" maxOccurs="1"/>
783
+ <xs:element name="remainingCount" type="xs:int" minOccurs="1" maxOccurs="1"/>
784
+ <xs:element name="newStartPosition" type="tns:StreamPosition" minOccurs="1" maxOccurs="1"/>
785
+ <xs:element name="activityRecordList" type="tns:ArrayOfActivityRecord" minOccurs="0" maxOccurs="1" nillable="true"/>
786
+ </xs:sequence>
787
+ </xs:complexType>
788
+ <xs:complexType name="ResultGetCampaignsForSource">
789
+ <xs:sequence>
790
+ <xs:element name="returnCount" type="xs:int" minOccurs="1" maxOccurs="1"/>
791
+ <xs:element name="campaignRecordList" type="tns:ArrayOfCampaignRecord" minOccurs="0" maxOccurs="1" nillable="true"/>
792
+ </xs:sequence>
793
+ </xs:complexType>
794
+ <xs:complexType name="ResultGetImportToListStatus">
795
+ <xs:sequence>
796
+ <xs:element name="status" type="tns:ImportToListStatusEnum" minOccurs="1" maxOccurs="1" nillable="false"/>
797
+ <xs:element name="startedTime" type="xs:dateTime" minOccurs="0" maxOccurs="1" nillable="true"/>
798
+ <xs:element name="endedTime" type="xs:dateTime" minOccurs="0" maxOccurs="1" nillable="true"/>
799
+ <xs:element name="estimatedTime" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
800
+ <xs:element name="estimatedRows" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
801
+ <xs:element name="rowsImported" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
802
+ <xs:element name="rowsFailed" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
803
+ <xs:element name="rowsIgnored" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true"/>
804
+ <xs:element name="importSummary" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"/>
805
+ </xs:sequence>
806
+ </xs:complexType>
807
+ <xs:complexType name="ResultGetLeadChanges">
808
+ <xs:sequence>
809
+ <xs:element name="returnCount" type="xs:int" minOccurs="1" maxOccurs="1"/>
810
+ <xs:element name="remainingCount" type="xs:int" minOccurs="1" maxOccurs="1"/>
811
+ <xs:element name="newStartPosition" type="tns:StreamPosition" minOccurs="1" maxOccurs="1"/>
812
+ <xs:element name="leadChangeRecordList" type="tns:ArrayOfLeadChangeRecord" minOccurs="0" maxOccurs="1" nillable="true"/>
813
+ </xs:sequence>
814
+ </xs:complexType>
815
+ <xs:complexType name="ResultGetLead">
816
+ <xs:sequence>
817
+ <xs:element name="count" type="xs:int" minOccurs="1" maxOccurs="1"/>
818
+ <xs:element name="leadRecordList" type="tns:ArrayOfLeadRecord" minOccurs="0" maxOccurs="1" nillable="true"/>
819
+ </xs:sequence>
820
+ </xs:complexType>
821
+ <xs:complexType name="ResultListOperation">
822
+ <xs:sequence>
823
+ <xs:element name="success" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
824
+ <xs:element name="statusList" type="tns:ArrayOfLeadStatus" minOccurs="0" maxOccurs="1" nillable="true" />
825
+ </xs:sequence>
826
+ </xs:complexType>
827
+ <xs:complexType name="ResultGetMultipleLeads">
828
+ <xs:sequence>
829
+ <xs:element name="returnCount" type="xs:int" minOccurs="1" maxOccurs="1"/>
830
+ <xs:element name="remainingCount" type="xs:int" minOccurs="1" maxOccurs="1"/>
831
+ <xs:element name="newStreamPosition" type="xs:string" minOccurs="1" maxOccurs="1"/>
832
+ <xs:element name="leadRecordList" type="tns:ArrayOfLeadRecord" minOccurs="0" maxOccurs="1" nillable="true"/>
833
+ </xs:sequence>
834
+ </xs:complexType>
835
+ <xs:complexType name="ResultImportToList">
836
+ <xs:sequence>
837
+ <xs:element name="importStatus" type="tns:ImportToListStatusEnum" minOccurs="1" maxOccurs="1" nillable="false"/>
838
+ </xs:sequence>
839
+ </xs:complexType>
840
+ <xs:complexType name="ResultRequestCampaign">
841
+ <xs:sequence>
842
+ <xs:element name="success" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
843
+ </xs:sequence>
844
+ </xs:complexType>
845
+ <xs:complexType name="ResultScheduleCampaign">
846
+ <xs:sequence>
847
+ <xs:element name="success" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
848
+ </xs:sequence>
849
+ </xs:complexType>
850
+ <xs:complexType name="ResultSyncLead">
851
+ <xs:sequence>
852
+ <xs:element name="leadId" type="xs:int" minOccurs="1" maxOccurs="1"/>
853
+ <xs:element name="syncStatus" type="tns:SyncStatus" minOccurs="1" maxOccurs="1"/>
854
+ <xs:element name="leadRecord" type="tns:LeadRecord" minOccurs="0" maxOccurs="1" nillable="true"/>
855
+ </xs:sequence>
856
+ </xs:complexType>
857
+ <xs:complexType name="ResultSyncMultipleLeads">
858
+ <xs:sequence>
859
+ <xs:element name="syncStatusList" type="tns:ArrayOfSyncStatus" minOccurs="1" maxOccurs="1"/>
860
+ </xs:sequence>
861
+ </xs:complexType>
862
+ <xs:complexType name="ResultSyncCustomObjects">
863
+ <xs:sequence>
864
+ <xs:element name="syncCustomObjStatusList" type="tns:ArrayOfSyncCustomObjStatus" minOccurs="1" maxOccurs="1" nillable="false"/>
865
+ </xs:sequence>
866
+ </xs:complexType>
867
+ <xs:complexType name="ResultDeleteCustomObjects">
868
+ <xs:sequence>
869
+ <xs:element name="deleteCustomObjStatusList" type="tns:ArrayOfSyncCustomObjStatus" minOccurs="1" maxOccurs="1" nillable="false"/>
870
+ </xs:sequence>
871
+ </xs:complexType>
872
+ <xs:complexType name="ResultGetCustomObjects">
873
+ <xs:sequence>
874
+ <xs:element name="objTypeName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
875
+ <xs:element name="returnCount" type="xs:int" minOccurs="1" maxOccurs="1" nillable="false"/>
876
+ <xs:element name="remainingCount" type="xs:int" minOccurs="1" maxOccurs="1" nillable="false"/>
877
+ <xs:element name="newStreamPosition" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
878
+ <xs:element name="customObjList" type="tns:ArrayOfCustomObj" minOccurs="0" maxOccurs="1" nillable="true"/>
879
+ </xs:sequence>
880
+ </xs:complexType>
881
+ <xs:complexType name="ResultMergeLeads">
882
+ <xs:sequence>
883
+ <xs:element name="mergeStatus" type="tns:MergeStatus" minOccurs="1" maxOccurs="1" nillable="false"/>
884
+ </xs:sequence>
885
+ </xs:complexType>
886
+ <xs:complexType name="ResultGetChannels">
887
+ <xs:sequence>
888
+ <xs:element name="tags" type="tns:ArrayOfTagStatus" minOccurs="1" maxOccurs="1" nillable="false"/>
889
+ </xs:sequence>
890
+ </xs:complexType>
891
+ <xs:complexType name="ResultGetTags">
892
+ <xs:sequence>
893
+ <xs:element name="tagList" type="tns:ArrayOfTag" minOccurs="1" maxOccurs="1" nillable="false"/>
894
+ </xs:sequence>
895
+ </xs:complexType>
896
+
897
+ <!-- ***************************************************************** -->
898
+ <!-- ** Success for MObject APIs ** -->
899
+ <!-- ***************************************************************** -->
900
+ <xs:complexType name="SuccessDeleteMObjects">
901
+ <xs:sequence>
902
+ <xs:element name="result" type="tns:ResultDeleteMObjects" minOccurs="1" maxOccurs="1"/>
903
+ </xs:sequence>
904
+ </xs:complexType>
905
+ <xs:complexType name="SuccessDescribeMObject">
906
+ <xs:sequence>
907
+ <xs:element name="result" type="tns:ResultDescribeMObject" minOccurs="1" maxOccurs="1"/>
908
+ </xs:sequence>
909
+ </xs:complexType>
910
+ <xs:complexType name="SuccessGetMObjects">
911
+ <xs:sequence>
912
+ <xs:element name="result" type="tns:ResultGetMObjects" minOccurs="1" maxOccurs="1"/>
913
+ </xs:sequence>
914
+ </xs:complexType>
915
+ <xs:complexType name="SuccessListMObjects">
916
+ <xs:sequence>
917
+ <xs:element name="result" type="tns:ResultListMObjects" minOccurs="1" maxOccurs="1"/>
918
+ </xs:sequence>
919
+ </xs:complexType>
920
+ <xs:complexType name="SuccessSyncMObjects">
921
+ <xs:sequence>
922
+ <xs:element name="result" type="tns:ResultSyncMObjects" minOccurs="1" maxOccurs="1"/>
923
+ </xs:sequence>
924
+ </xs:complexType>
925
+
926
+ <!-- ***************************************************************** -->
927
+ <!-- ** Success for all APIs (except MObjects APIs) ** -->
928
+ <!-- ***************************************************************** -->
929
+ <xs:complexType name="SuccessGetCampaignsForSource">
930
+ <xs:sequence>
931
+ <xs:element name="result" type="tns:ResultGetCampaignsForSource" minOccurs="1" maxOccurs="1"/>
932
+ </xs:sequence>
933
+ </xs:complexType>
934
+ <xs:complexType name="SuccessGetImportToListStatus">
935
+ <xs:sequence>
936
+ <xs:element name="result" type="tns:ResultGetImportToListStatus" minOccurs="1" maxOccurs="1"/>
937
+ </xs:sequence>
938
+ </xs:complexType>
939
+ <xs:complexType name="SuccessGetLead">
940
+ <xs:sequence>
941
+ <xs:element name="result" type="tns:ResultGetLead" minOccurs="1" maxOccurs="1"/>
942
+ </xs:sequence>
943
+ </xs:complexType>
944
+ <xs:complexType name="SuccessGetLeadActivity">
945
+ <xs:sequence>
946
+ <xs:element name="leadActivityList" type="tns:LeadActivityList" minOccurs="1" maxOccurs="1"/>
947
+ </xs:sequence>
948
+ </xs:complexType>
949
+ <xs:complexType name="SuccessGetLeadChanges">
950
+ <xs:sequence>
951
+ <xs:element name="result" type="tns:ResultGetLeadChanges" minOccurs="1" maxOccurs="1"/>
952
+ </xs:sequence>
953
+ </xs:complexType>
954
+ <xs:complexType name="SuccessGetMultipleLeads">
955
+ <xs:sequence>
956
+ <xs:element name="result" type="tns:ResultGetMultipleLeads" minOccurs="1" maxOccurs="1"/>
957
+ </xs:sequence>
958
+ </xs:complexType>
959
+ <xs:complexType name="SuccessImportToList">
960
+ <xs:sequence>
961
+ <xs:element name="result" type="tns:ResultImportToList" minOccurs="1" maxOccurs="1"/>
962
+ </xs:sequence>
963
+ </xs:complexType>
964
+ <xs:complexType name="SuccessListOperation">
965
+ <xs:sequence>
966
+ <xs:element name="result" type="tns:ResultListOperation" minOccurs="1" maxOccurs="1"/>
967
+ </xs:sequence>
968
+ </xs:complexType>
969
+ <xs:complexType name="SuccessRequestCampaign">
970
+ <xs:sequence>
971
+ <xs:element name="result" type="tns:ResultRequestCampaign" minOccurs="1" maxOccurs="1"/>
972
+ </xs:sequence>
973
+ </xs:complexType>
974
+ <xs:complexType name="SuccessScheduleCampaign">
975
+ <xs:sequence>
976
+ <xs:element name="result" type="tns:ResultScheduleCampaign" minOccurs="1" maxOccurs="1"/>
977
+ </xs:sequence>
978
+ </xs:complexType>
979
+ <xs:complexType name="SuccessSyncLead">
980
+ <xs:sequence>
981
+ <xs:element name="result" type="tns:ResultSyncLead" minOccurs="1" maxOccurs="1"/>
982
+ </xs:sequence>
983
+ </xs:complexType>
984
+ <xs:complexType name="SuccessSyncMultipleLeads">
985
+ <xs:sequence>
986
+ <xs:element name="result" type="tns:ResultSyncMultipleLeads" minOccurs="1" maxOccurs="1"/>
987
+ </xs:sequence>
988
+ </xs:complexType>
989
+ <xs:complexType name="SuccessSyncCustomObjects">
990
+ <xs:sequence>
991
+ <xs:element name="result" type="tns:ResultSyncCustomObjects" minOccurs="1" maxOccurs="1"/>
992
+ </xs:sequence>
993
+ </xs:complexType>
994
+ <xs:complexType name="SuccessDeleteCustomObjects">
995
+ <xs:sequence>
996
+ <xs:element name="result" type="tns:ResultDeleteCustomObjects" minOccurs="1" maxOccurs="1"/>
997
+ </xs:sequence>
998
+ </xs:complexType>
999
+ <xs:complexType name="SuccessGetCustomObjects">
1000
+ <xs:sequence>
1001
+ <xs:element name="result" type="tns:ResultGetCustomObjects" minOccurs="1" maxOccurs="1"/>
1002
+ </xs:sequence>
1003
+ </xs:complexType>
1004
+ <xs:complexType name="SuccessMergeLeads">
1005
+ <xs:sequence>
1006
+ <xs:element name="result" type="tns:ResultMergeLeads" minOccurs="1" maxOccurs="1"/>
1007
+ </xs:sequence>
1008
+ </xs:complexType>
1009
+ <xs:complexType name="SuccessGetChannels">
1010
+ <xs:sequence>
1011
+ <xs:element name="result" type="tns:ResultGetChannels" minOccurs="1" maxOccurs="1"/>
1012
+ </xs:sequence>
1013
+ </xs:complexType>
1014
+ <xs:complexType name="SuccessGetTags">
1015
+ <xs:sequence>
1016
+ <xs:element name="result" type="tns:ResultGetTags" minOccurs="1" maxOccurs="1"/>
1017
+ </xs:sequence>
1018
+ </xs:complexType>
1019
+
1020
+
1021
+ <!-- ***************************************************************** -->
1022
+ <!-- ** SOAP Headers ** -->
1023
+ <!-- ***************************************************************** -->
1024
+ <!--
1025
+ The Authentication Header is a SOAP header used in all API calls. The
1026
+ mode element should not be used and is reserved for internal use.
1027
+ -->
1028
+ <xs:complexType name="AuthenticationHeaderInfo">
1029
+ <xs:sequence>
1030
+ <xs:element name="mktowsUserId" type="xs:string" minOccurs="1" maxOccurs="1"/>
1031
+ <xs:element name="requestSignature" type="xs:string" minOccurs="1" maxOccurs="1"/>
1032
+ <xs:element name="requestTimestamp" type="xs:string" minOccurs="1" maxOccurs="1"/>
1033
+ <xs:element name="audit" type="xs:string" minOccurs="0" maxOccurs="1"/>
1034
+ <xs:element name="mode" type="xs:int" minOccurs="0" maxOccurs="1"/>
1035
+ </xs:sequence>
1036
+ </xs:complexType>
1037
+ <!--
1038
+ The Context Header is a SOAP header used in some API calls. Consult the
1039
+ API documentation and the operation definition in this WSDL
1040
+ -->
1041
+ <xs:complexType name="MktowsContextHeaderInfo">
1042
+ <xs:sequence>
1043
+ <xs:element name="targetWorkspace" type="xs:string" minOccurs="1" maxOccurs="1"/>
1044
+ </xs:sequence>
1045
+ </xs:complexType>
1046
+
1047
+
1048
+ <!-- ***************************************************************** -->
1049
+ <!-- ** Message Elements ** -->
1050
+ <!-- ***************************************************************** -->
1051
+ <xs:element name="AuthenticationHeader" type="tns:AuthenticationHeaderInfo"/>
1052
+ <xs:element name="MktowsContextHeader" type="tns:MktowsContextHeaderInfo"/>
1053
+ <xs:element name="paramsDeleteMObjects" type="tns:ParamsDeleteMObjects"/>
1054
+ <xs:element name="paramsDescribeMObject" type="tns:ParamsDescribeMObject"/>
1055
+ <xs:element name="paramsGetMObjects" type="tns:ParamsGetMObjects"/>
1056
+ <xs:element name="paramsSyncMObjects" type="tns:ParamsSyncMObjects"/>
1057
+ <xs:element name="paramsGetCampaignsForSource" type="tns:ParamsGetCampaignsForSource"/>
1058
+ <xs:element name="paramsGetImportToListStatus" type="tns:ParamsGetImportToListStatus"/>
1059
+ <xs:element name="paramsGetLead" type="tns:ParamsGetLead"/>
1060
+ <xs:element name="paramsGetLeadActivity" type="tns:ParamsGetLeadActivity"/>
1061
+ <xs:element name="paramsGetLeadChanges" type="tns:ParamsGetLeadChanges"/>
1062
+ <xs:element name="paramsGetMultipleLeads" type="tns:ParamsGetMultipleLeads"/>
1063
+ <xs:element name="paramsImportToList" type="tns:ParamsImportToList"/>
1064
+ <xs:element name="paramsListMObjects" type="tns:ParamsListMObjects"/>
1065
+ <xs:element name="paramsListOperation" type="tns:ParamsListOperation"/>
1066
+ <xs:element name="paramsRequestCampaign" type="tns:ParamsRequestCampaign"/>
1067
+ <xs:element name="paramsScheduleCampaign" type="tns:ParamsScheduleCampaign"/>
1068
+ <xs:element name="paramsSyncLead" type="tns:ParamsSyncLead"/>
1069
+ <xs:element name="paramsSyncMultipleLeads" type="tns:ParamsSyncMultipleLeads"/>
1070
+ <xs:element name="paramsSyncCustomObjects" type="tns:ParamsSyncCustomObjects"/>
1071
+ <xs:element name="paramsDeleteCustomObjects" type="tns:ParamsDeleteCustomObjects"/>
1072
+ <xs:element name="paramsGetCustomObjects" type="tns:ParamsGetCustomObjects"/>
1073
+ <xs:element name="paramsMergeLeads" type="tns:ParamsMergeLeads"/>
1074
+ <xs:element name="paramsGetChannels" type="tns:ParamsGetChannels"/>
1075
+ <xs:element name="paramsGetTags" type="tns:ParamsGetTags"/>
1076
+ <xs:element name="successDeleteMObjects" type="tns:SuccessDeleteMObjects"/>
1077
+ <xs:element name="successDescribeMObject" type="tns:SuccessDescribeMObject"/>
1078
+ <xs:element name="successGetMObjects" type="tns:SuccessGetMObjects"/>
1079
+ <xs:element name="successSyncMObjects" type="tns:SuccessSyncMObjects"/>
1080
+ <xs:element name="successGetCampaignsForSource" type="tns:SuccessGetCampaignsForSource"/>
1081
+ <xs:element name="successGetImportToListStatus" type="tns:SuccessGetImportToListStatus"/>
1082
+ <xs:element name="successGetLead" type="tns:SuccessGetLead"/>
1083
+ <xs:element name="successGetLeadActivity" type="tns:SuccessGetLeadActivity"/>
1084
+ <xs:element name="successGetLeadChanges" type="tns:SuccessGetLeadChanges"/>
1085
+ <xs:element name="successGetMultipleLeads" type="tns:SuccessGetMultipleLeads"/>
1086
+ <xs:element name="successImportToList" type="tns:SuccessImportToList"/>
1087
+ <xs:element name="successListMObjects" type="tns:SuccessListMObjects"/>
1088
+ <xs:element name="successListOperation" type="tns:SuccessListOperation"/>
1089
+ <xs:element name="successRequestCampaign" type="tns:SuccessRequestCampaign"/>
1090
+ <xs:element name="successScheduleCampaign" type="tns:SuccessScheduleCampaign"/>
1091
+ <xs:element name="successSyncLead" type="tns:SuccessSyncLead"/>
1092
+ <xs:element name="successSyncMultipleLeads" type="tns:SuccessSyncMultipleLeads"/>
1093
+ <xs:element name="successSyncCustomObjects" type="tns:SuccessSyncCustomObjects"/>
1094
+ <xs:element name="successDeleteCustomObjects" type="tns:SuccessDeleteCustomObjects"/>
1095
+ <xs:element name="successGetCustomObjects" type="tns:SuccessGetCustomObjects"/>
1096
+ <xs:element name="successMergeLeads" type="tns:SuccessMergeLeads"/>
1097
+ <xs:element name="successGetChannels" type="tns:SuccessGetChannels"/>
1098
+ <xs:element name="successGetTags" type="tns:SuccessGetTags"/>
1099
+ </xs:schema>
1100
+ </wsdl:types>
1101
+
1102
+ <wsdl:message name="AuthenticationHeader">
1103
+ <wsdl:part name="authentication" element="tns:AuthenticationHeader"/>
1104
+ </wsdl:message>
1105
+ <!-- MObject Messages -->
1106
+ <wsdl:message name="MktowsContextHeader">
1107
+ <wsdl:part name="mktowsContext" element="tns:MktowsContextHeader"/>
1108
+ </wsdl:message>
1109
+ <wsdl:message name="DeleteMObjectsRequest">
1110
+ <wsdl:part name="paramsDeleteMObjects" element="tns:paramsDeleteMObjects"/>
1111
+ </wsdl:message>
1112
+ <wsdl:message name="DeleteMObjectsResponse">
1113
+ <wsdl:part name="successDeleteMObjects" element="tns:successDeleteMObjects"/>
1114
+ </wsdl:message>
1115
+ <wsdl:message name="DescribeMObjectRequest">
1116
+ <wsdl:part name="paramsDescribeMObject" element="tns:paramsDescribeMObject"/>
1117
+ </wsdl:message>
1118
+ <wsdl:message name="DescribeMObjectResponse">
1119
+ <wsdl:part name="successDescribeMObject" element="tns:successDescribeMObject"/>
1120
+ </wsdl:message>
1121
+ <wsdl:message name="GetMObjectsRequest">
1122
+ <wsdl:part name="paramsGetMObjects" element="tns:paramsGetMObjects"/>
1123
+ </wsdl:message>
1124
+ <wsdl:message name="GetMObjectsResponse">
1125
+ <wsdl:part name="successGetMObjects" element="tns:successGetMObjects"/>
1126
+ </wsdl:message>
1127
+ <wsdl:message name="SyncMObjectsRequest">
1128
+ <wsdl:part name="paramsSyncMObjects" element="tns:paramsSyncMObjects"/>
1129
+ </wsdl:message>
1130
+ <wsdl:message name="SyncMObjectsResponse">
1131
+ <wsdl:part name="successSyncMObjects" element="tns:successSyncMObjects"/>
1132
+ </wsdl:message>
1133
+ <!-- Messages, except MObject -->
1134
+ <wsdl:message name="GetCampaignsForSourceRequest">
1135
+ <wsdl:part name="paramsGetCampaignsForSource" element="tns:paramsGetCampaignsForSource"/>
1136
+ </wsdl:message>
1137
+ <wsdl:message name="GetCampaignsForSourceResponse">
1138
+ <wsdl:part name="successGetCampaignsForSource" element="tns:successGetCampaignsForSource"/>
1139
+ </wsdl:message>
1140
+ <wsdl:message name="GetImportToListStatusRequest">
1141
+ <wsdl:part name="paramsGetImportToListStatus" element="tns:paramsGetImportToListStatus"/>
1142
+ </wsdl:message>
1143
+ <wsdl:message name="GetImportToListStatusResponse">
1144
+ <wsdl:part name="successGetImportToListStatus" element="tns:successGetImportToListStatus"/>
1145
+ </wsdl:message>
1146
+ <wsdl:message name="GetLeadRequest">
1147
+ <wsdl:part name="paramsGetLead" element="tns:paramsGetLead"/>
1148
+ </wsdl:message>
1149
+ <wsdl:message name="GetLeadResponse">
1150
+ <wsdl:part name="successGetLead" element="tns:successGetLead"/>
1151
+ </wsdl:message>
1152
+ <wsdl:message name="GetLeadActivityRequest">
1153
+ <wsdl:part name="paramsGetLeadActivity" element="tns:paramsGetLeadActivity"/>
1154
+ </wsdl:message>
1155
+ <wsdl:message name="GetLeadActivityResponse">
1156
+ <wsdl:part name="successGetLeadActivity" element="tns:successGetLeadActivity"/>
1157
+ </wsdl:message>
1158
+ <wsdl:message name="GetLeadChangesRequest">
1159
+ <wsdl:part name="paramsGetLeadChanges" element="tns:paramsGetLeadChanges"/>
1160
+ </wsdl:message>
1161
+ <wsdl:message name="GetLeadChangesResponse">
1162
+ <wsdl:part name="successGetLeadChanges" element="tns:successGetLeadChanges"/>
1163
+ </wsdl:message>
1164
+ <wsdl:message name="GetMultipleLeadsRequest">
1165
+ <wsdl:part name="paramsGetMultipleLeads" element="tns:paramsGetMultipleLeads"/>
1166
+ </wsdl:message>
1167
+ <wsdl:message name="GetMultipleLeadsResponse">
1168
+ <wsdl:part name="successGetMultipleLeads" element="tns:successGetMultipleLeads"/>
1169
+ </wsdl:message>
1170
+ <wsdl:message name="ImportToListRequest">
1171
+ <wsdl:part name="paramsImportToList" element="tns:paramsImportToList"/>
1172
+ </wsdl:message>
1173
+ <wsdl:message name="ImportToListResponse">
1174
+ <wsdl:part name="successImportToList" element="tns:successImportToList"/>
1175
+ </wsdl:message>
1176
+ <wsdl:message name="ListMObjectsRequest">
1177
+ <wsdl:part name="paramsListMObjects" element="tns:paramsListMObjects"/>
1178
+ </wsdl:message>
1179
+ <wsdl:message name="ListMObjectsResponse">
1180
+ <wsdl:part name="successListMObjects" element="tns:successListMObjects"/>
1181
+ </wsdl:message>
1182
+ <wsdl:message name="ListOperationRequest">
1183
+ <wsdl:part name="paramsListOperation" element="tns:paramsListOperation"/>
1184
+ </wsdl:message>
1185
+ <wsdl:message name="ListOperationResponse">
1186
+ <wsdl:part name="successListOperation" element="tns:successListOperation"/>
1187
+ </wsdl:message>
1188
+ <wsdl:message name="RequestCampaignRequest">
1189
+ <wsdl:part name="paramsRequestCampaign" element="tns:paramsRequestCampaign"/>
1190
+ </wsdl:message>
1191
+ <wsdl:message name="RequestCampaignResponse">
1192
+ <wsdl:part name="successRequestCampaign" element="tns:successRequestCampaign"/>
1193
+ </wsdl:message>
1194
+ <wsdl:message name="ScheduleCampaignRequest">
1195
+ <wsdl:part name="paramsScheduleCampaign" element="tns:paramsScheduleCampaign"/>
1196
+ </wsdl:message>
1197
+ <wsdl:message name="ScheduleCampaignResponse">
1198
+ <wsdl:part name="successScheduleCampaign" element="tns:successScheduleCampaign"/>
1199
+ </wsdl:message>
1200
+ <wsdl:message name="SyncLeadRequest">
1201
+ <wsdl:part name="paramsSyncLead" element="tns:paramsSyncLead"/>
1202
+ </wsdl:message>
1203
+ <wsdl:message name="SyncLeadResponse">
1204
+ <wsdl:part name="successSyncLead" element="tns:successSyncLead"/>
1205
+ </wsdl:message>
1206
+ <wsdl:message name="SyncMultipleLeadsRequest">
1207
+ <wsdl:part name="paramsSyncMultipleLeads" element="tns:paramsSyncMultipleLeads"/>
1208
+ </wsdl:message>
1209
+ <wsdl:message name="SyncMultipleLeadsResponse">
1210
+ <wsdl:part name="successSyncMultipleLeads" element="tns:successSyncMultipleLeads"/>
1211
+ </wsdl:message>
1212
+ <wsdl:message name="SyncCustomObjectsRequest">
1213
+ <wsdl:part name="paramsSyncCustomObjects" element="tns:paramsSyncCustomObjects"/>
1214
+ </wsdl:message>
1215
+ <wsdl:message name="SyncCustomObjectsResponse">
1216
+ <wsdl:part name="successSyncCustomObjects" element="tns:successSyncCustomObjects"/>
1217
+ </wsdl:message>
1218
+ <wsdl:message name="DeleteCustomObjectsRequest">
1219
+ <wsdl:part name="paramsDeleteCustomObjects" element="tns:paramsDeleteCustomObjects"/>
1220
+ </wsdl:message>
1221
+ <wsdl:message name="DeleteCustomObjectsResponse">
1222
+ <wsdl:part name="successDeleteCustomObjects" element="tns:successDeleteCustomObjects"/>
1223
+ </wsdl:message>
1224
+ <wsdl:message name="GetCustomObjectsRequest">
1225
+ <wsdl:part name="paramsGetCustomObjects" element="tns:paramsGetCustomObjects"/>
1226
+ </wsdl:message>
1227
+ <wsdl:message name="GetCustomObjectsResponse">
1228
+ <wsdl:part name="successGetCustomObjects" element="tns:successGetCustomObjects"/>
1229
+ </wsdl:message>
1230
+ <wsdl:message name="MergeLeadsRequest">
1231
+ <wsdl:part name="paramsMergeLeads" element="tns:paramsMergeLeads"/>
1232
+ </wsdl:message>
1233
+ <wsdl:message name="MergeLeadsResponse">
1234
+ <wsdl:part name="successMergeLeads" element="tns:successMergeLeads"/>
1235
+ </wsdl:message>
1236
+ <wsdl:message name="GetChannelsRequest">
1237
+ <wsdl:part name="paramsGetChannels" element="tns:paramsGetChannels"/>
1238
+ </wsdl:message>
1239
+ <wsdl:message name="GetChannelsResponse">
1240
+ <wsdl:part name="successGetChannels" element="tns:successGetChannels"/>
1241
+ </wsdl:message>
1242
+ <wsdl:message name="GetTagsRequest">
1243
+ <wsdl:part name="paramsGetTags" element="tns:paramsGetTags"/>
1244
+ </wsdl:message>
1245
+ <wsdl:message name="GetTagsResponse">
1246
+ <wsdl:part name="successGetTags" element="tns:successGetTags"/>
1247
+ </wsdl:message>
1248
+
1249
+ <wsdl:portType name="MktowsPort">
1250
+ <wsdl:operation name="deleteMObjects">
1251
+ <wsdl:documentation>Delete one or more MObject.
1252
+ </wsdl:documentation>
1253
+ <wsdl:input message="tns:DeleteMObjectsRequest"/>
1254
+ <wsdl:output message="tns:DeleteMObjectsResponse"/>
1255
+ </wsdl:operation>
1256
+ <wsdl:operation name="describeMObject">
1257
+ <wsdl:documentation>Get meta data for a MObject.
1258
+ </wsdl:documentation>
1259
+ <wsdl:input message="tns:DescribeMObjectRequest"/>
1260
+ <wsdl:output message="tns:DescribeMObjectResponse"/>
1261
+ </wsdl:operation>
1262
+ <wsdl:operation name="getMObjects">
1263
+ <wsdl:documentation>Get one or more MObject.
1264
+ </wsdl:documentation>
1265
+ <wsdl:input message="tns:GetMObjectsRequest"/>
1266
+ <wsdl:output message="tns:GetMObjectsResponse"/>
1267
+ </wsdl:operation>
1268
+ <wsdl:operation name="syncMObjects">
1269
+ <wsdl:documentation>Create, update, or upsert MObject.
1270
+ </wsdl:documentation>
1271
+ <wsdl:input message="tns:SyncMObjectsRequest"/>
1272
+ <wsdl:output message="tns:SyncMObjectsResponse"/>
1273
+ </wsdl:operation>
1274
+ <wsdl:operation name="getCampaignsForSource">
1275
+ <wsdl:documentation>Get a list campaigns.
1276
+ </wsdl:documentation>
1277
+ <wsdl:input message="tns:GetCampaignsForSourceRequest"/>
1278
+ <wsdl:output message="tns:GetCampaignsForSourceResponse"/>
1279
+ </wsdl:operation>
1280
+ <wsdl:operation name="getImportToListStatus">
1281
+ <wsdl:documentation>Provides information regarding the status of list import.
1282
+ </wsdl:documentation>
1283
+ <wsdl:input message="tns:GetImportToListStatusRequest"/>
1284
+ <wsdl:output message="tns:GetImportToListStatusResponse"/>
1285
+ </wsdl:operation>
1286
+ <wsdl:operation name="getLead">
1287
+ <wsdl:documentation>Get all details about a lead.
1288
+ </wsdl:documentation>
1289
+ <wsdl:input message="tns:GetLeadRequest"/>
1290
+ <wsdl:output message="tns:GetLeadResponse"/>
1291
+ </wsdl:operation>
1292
+ <wsdl:operation name="getLeadActivity">
1293
+ <wsdl:documentation>Get all activity log details about a lead.
1294
+ </wsdl:documentation>
1295
+ <wsdl:input message="tns:GetLeadActivityRequest"/>
1296
+ <wsdl:output message="tns:GetLeadActivityResponse"/>
1297
+ </wsdl:operation>
1298
+ <wsdl:operation name="getLeadChanges">
1299
+ <wsdl:documentation>Get changes for all leads.
1300
+ </wsdl:documentation>
1301
+ <wsdl:input message="tns:GetLeadChangesRequest"/>
1302
+ <wsdl:output message="tns:GetLeadChangesResponse"/>
1303
+ </wsdl:operation>
1304
+ <wsdl:operation name="getMultipleLeads">
1305
+ <wsdl:documentation>Get all details about one or more leads.
1306
+ </wsdl:documentation>
1307
+ <wsdl:input message="tns:GetMultipleLeadsRequest"/>
1308
+ <wsdl:output message="tns:GetMultipleLeadsResponse"/>
1309
+ </wsdl:operation>
1310
+ <wsdl:operation name="importToList">
1311
+ <wsdl:documentation>Imports the list from web file info
1312
+ </wsdl:documentation>
1313
+ <wsdl:input message="tns:ImportToListRequest"/>
1314
+ <wsdl:output message="tns:ImportToListResponse"/>
1315
+ </wsdl:operation>
1316
+ <wsdl:operation name="listMObjects">
1317
+ <wsdl:documentation>Send a Marketo email.
1318
+ </wsdl:documentation>
1319
+ <wsdl:input message="tns:ListMObjectsRequest"/>
1320
+ <wsdl:output message="tns:ListMObjectsResponse"/>
1321
+ </wsdl:operation>
1322
+ <wsdl:operation name="listOperation">
1323
+ <wsdl:documentation>Perform an operation on a Marketo List, like add lead or remove lead.
1324
+ </wsdl:documentation>
1325
+ <wsdl:input message="tns:ListOperationRequest"/>
1326
+ <wsdl:output message="tns:ListOperationResponse"/>
1327
+ </wsdl:operation>
1328
+ <wsdl:operation name="requestCampaign">
1329
+ <wsdl:documentation>Request to add a set of leads to a campaign.
1330
+ </wsdl:documentation>
1331
+ <wsdl:input message="tns:RequestCampaignRequest"/>
1332
+ <wsdl:output message="tns:RequestCampaignResponse"/>
1333
+ </wsdl:operation>
1334
+ <wsdl:operation name="scheduleCampaign">
1335
+ <wsdl:documentation>Request to add tokens to a schedule campaign.
1336
+ </wsdl:documentation>
1337
+ <wsdl:input message="tns:ScheduleCampaignRequest"/>
1338
+ <wsdl:output message="tns:ScheduleCampaignResponse"/>
1339
+ </wsdl:operation>
1340
+ <wsdl:operation name="syncLead">
1341
+ <wsdl:documentation>Create or update a lead.
1342
+ </wsdl:documentation>
1343
+ <wsdl:input message="tns:SyncLeadRequest"/>
1344
+ <wsdl:output message="tns:SyncLeadResponse"/>
1345
+ </wsdl:operation>
1346
+ <wsdl:operation name="syncMultipleLeads">
1347
+ <wsdl:documentation>Create or update one or more leads.
1348
+ </wsdl:documentation>
1349
+ <wsdl:input message="tns:SyncMultipleLeadsRequest"/>
1350
+ <wsdl:output message="tns:SyncMultipleLeadsResponse"/>
1351
+ </wsdl:operation>
1352
+ <wsdl:operation name="syncCustomObjects">
1353
+ <wsdl:documentation>Update, Insert, or Upsert custom object records
1354
+ </wsdl:documentation>
1355
+ <wsdl:input message="tns:SyncCustomObjectsRequest"/>
1356
+ <wsdl:output message="tns:SyncCustomObjectsResponse"/>
1357
+ </wsdl:operation>
1358
+ <wsdl:operation name="deleteCustomObjects">
1359
+ <wsdl:documentation>Delete custom object records
1360
+ </wsdl:documentation>
1361
+ <wsdl:input message="tns:DeleteCustomObjectsRequest"/>
1362
+ <wsdl:output message="tns:DeleteCustomObjectsResponse"/>
1363
+ </wsdl:operation>
1364
+ <wsdl:operation name="getCustomObjects">
1365
+ <wsdl:documentation>Get custom object records
1366
+ </wsdl:documentation>
1367
+ <wsdl:input message="tns:GetCustomObjectsRequest"/>
1368
+ <wsdl:output message="tns:GetCustomObjectsResponse"/>
1369
+ </wsdl:operation>
1370
+ <wsdl:operation name="mergeLeads">
1371
+ <wsdl:documentation>Merge Leads
1372
+ </wsdl:documentation>
1373
+ <wsdl:input message="tns:MergeLeadsRequest"/>
1374
+ <wsdl:output message="tns:MergeLeadsResponse"/>
1375
+ </wsdl:operation>
1376
+ <wsdl:operation name="getChannels">
1377
+ <wsdl:documentation>Get Tags
1378
+ </wsdl:documentation>
1379
+ <wsdl:input message="tns:GetChannelsRequest"/>
1380
+ <wsdl:output message="tns:GetChannelsResponse"/>
1381
+ </wsdl:operation>
1382
+ <wsdl:operation name="getTags">
1383
+ <wsdl:documentation>Get Tags
1384
+ </wsdl:documentation>
1385
+ <wsdl:input message="tns:GetTagsRequest"/>
1386
+ <wsdl:output message="tns:GetTagsResponse"/>
1387
+ </wsdl:operation>
1388
+ </wsdl:portType>
1389
+
1390
+ <wsdl:binding name="MktowsApiSoapBinding" type="tns:MktowsPort">
1391
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
1392
+ <wsdl:operation name="deleteMObjects">
1393
+ <soap:operation soapAction="http://www.marketo.com/mktows/deleteMObjects" />
1394
+ <wsdl:input>
1395
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1396
+ <soap:body use="literal" />
1397
+ </wsdl:input>
1398
+ <wsdl:output>
1399
+ <soap:body use="literal" />
1400
+ </wsdl:output>
1401
+ </wsdl:operation>
1402
+ <wsdl:operation name="describeMObject">
1403
+ <soap:operation soapAction="http://www.marketo.com/mktows/describeMObject" />
1404
+ <wsdl:input>
1405
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1406
+ <soap:body use="literal" />
1407
+ </wsdl:input>
1408
+ <wsdl:output>
1409
+ <soap:body use="literal" />
1410
+ </wsdl:output>
1411
+ </wsdl:operation>
1412
+ <wsdl:operation name="getMObjects">
1413
+ <soap:operation soapAction="http://www.marketo.com/mktows/getMObjects" />
1414
+ <wsdl:input>
1415
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1416
+ <soap:body use="literal" />
1417
+ </wsdl:input>
1418
+ <wsdl:output>
1419
+ <soap:body use="literal" />
1420
+ </wsdl:output>
1421
+ </wsdl:operation>
1422
+ <wsdl:operation name="syncMObjects">
1423
+ <soap:operation soapAction="http://www.marketo.com/mktows/syncMObjects" />
1424
+ <wsdl:input>
1425
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1426
+ <soap:body use="literal" />
1427
+ </wsdl:input>
1428
+ <wsdl:output>
1429
+ <soap:body use="literal" />
1430
+ </wsdl:output>
1431
+ </wsdl:operation>
1432
+ <wsdl:operation name="getCampaignsForSource">
1433
+ <soap:operation soapAction="http://www.marketo.com/mktows/getCampaignsForSource" />
1434
+ <wsdl:input>
1435
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1436
+ <soap:body use="literal" />
1437
+ </wsdl:input>
1438
+ <wsdl:output>
1439
+ <soap:body use="literal" />
1440
+ </wsdl:output>
1441
+ </wsdl:operation>
1442
+ <wsdl:operation name="getImportToListStatus">
1443
+ <soap:operation soapAction="http://www.marketo.com/mktows/getImportToListStatus" />
1444
+ <wsdl:input>
1445
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1446
+ <soap:body use="literal" />
1447
+ </wsdl:input>
1448
+ <wsdl:output>
1449
+ <soap:body use="literal" />
1450
+ </wsdl:output>
1451
+ </wsdl:operation>
1452
+ <wsdl:operation name="getLead">
1453
+ <soap:operation soapAction="http://www.marketo.com/mktows/getLead" />
1454
+ <wsdl:input>
1455
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1456
+ <soap:body use="literal" />
1457
+ </wsdl:input>
1458
+ <wsdl:output>
1459
+ <soap:body use="literal" />
1460
+ </wsdl:output>
1461
+ </wsdl:operation>
1462
+ <wsdl:operation name="getLeadActivity">
1463
+ <soap:operation soapAction="http://www.marketo.com/mktows/getLeadActivity" />
1464
+ <wsdl:input>
1465
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1466
+ <soap:body use="literal" />
1467
+ </wsdl:input>
1468
+ <wsdl:output>
1469
+ <soap:body use="literal" />
1470
+ </wsdl:output>
1471
+ </wsdl:operation>
1472
+ <wsdl:operation name="getLeadChanges">
1473
+ <soap:operation soapAction="http://www.marketo.com/mktows/getLeadChanges" />
1474
+ <wsdl:input>
1475
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1476
+ <soap:body use="literal" />
1477
+ </wsdl:input>
1478
+ <wsdl:output>
1479
+ <soap:body use="literal" />
1480
+ </wsdl:output>
1481
+ </wsdl:operation>
1482
+ <wsdl:operation name="getMultipleLeads">
1483
+ <soap:operation soapAction="http://www.marketo.com/mktows/getMultipleLeads" />
1484
+ <wsdl:input>
1485
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1486
+ <soap:body use="literal" />
1487
+ </wsdl:input>
1488
+ <wsdl:output>
1489
+ <soap:body use="literal" />
1490
+ </wsdl:output>
1491
+ </wsdl:operation>
1492
+ <wsdl:operation name="importToList">
1493
+ <soap:operation soapAction="http://www.marketo.com/mktows/importToList" />
1494
+ <wsdl:input>
1495
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1496
+ <soap:body use="literal" />
1497
+ </wsdl:input>
1498
+ <wsdl:output>
1499
+ <soap:body use="literal" />
1500
+ </wsdl:output>
1501
+ </wsdl:operation>
1502
+ <wsdl:operation name="listMObjects">
1503
+ <soap:operation soapAction="http://www.marketo.com/mktows/listMObjects" />
1504
+ <wsdl:input>
1505
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1506
+ <soap:body use="literal" />
1507
+ </wsdl:input>
1508
+ <wsdl:output>
1509
+ <soap:body use="literal" />
1510
+ </wsdl:output>
1511
+ </wsdl:operation>
1512
+ <wsdl:operation name="listOperation">
1513
+ <soap:operation soapAction="http://www.marketo.com/mktows/listOperation" />
1514
+ <wsdl:input>
1515
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1516
+ <soap:body use="literal" />
1517
+ </wsdl:input>
1518
+ <wsdl:output>
1519
+ <soap:body use="literal" />
1520
+ </wsdl:output>
1521
+ </wsdl:operation>
1522
+ <wsdl:operation name="requestCampaign">
1523
+ <soap:operation soapAction="http://www.marketo.com/mktows/requestCampaign" />
1524
+ <wsdl:input>
1525
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1526
+ <soap:body use="literal" />
1527
+ </wsdl:input>
1528
+ <wsdl:output>
1529
+ <soap:body use="literal" />
1530
+ </wsdl:output>
1531
+ </wsdl:operation>
1532
+ <wsdl:operation name="scheduleCampaign">
1533
+ <soap:operation soapAction="http://www.marketo.com/mktows/scheduleCampaign" />
1534
+ <wsdl:input>
1535
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1536
+ <soap:body use="literal" />
1537
+ </wsdl:input>
1538
+ <wsdl:output>
1539
+ <soap:body use="literal" />
1540
+ </wsdl:output>
1541
+ </wsdl:operation>
1542
+ <wsdl:operation name="syncLead">
1543
+ <soap:operation soapAction="http://www.marketo.com/mktows/syncLead" />
1544
+ <wsdl:input>
1545
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1546
+ <soap:header use="literal" part="mktowsContext" message="tns:MktowsContextHeader" />
1547
+ <soap:body use="literal" />
1548
+ </wsdl:input>
1549
+ <wsdl:output>
1550
+ <soap:body use="literal" />
1551
+ </wsdl:output>
1552
+ </wsdl:operation>
1553
+ <wsdl:operation name="syncMultipleLeads">
1554
+ <soap:operation soapAction="http://www.marketo.com/mktows/syncMultipleLeads" />
1555
+ <wsdl:input>
1556
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1557
+ <soap:body use="literal" />
1558
+ </wsdl:input>
1559
+ <wsdl:output>
1560
+ <soap:body use="literal" />
1561
+ </wsdl:output>
1562
+ </wsdl:operation>
1563
+ <wsdl:operation name="syncCustomObjects">
1564
+ <soap:operation soapAction="http://www.marketo.com/mktows/syncCustomObjects" />
1565
+ <wsdl:input>
1566
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1567
+ <soap:body use="literal" />
1568
+ </wsdl:input>
1569
+ <wsdl:output>
1570
+ <soap:body use="literal" />
1571
+ </wsdl:output>
1572
+ </wsdl:operation>
1573
+ <wsdl:operation name="deleteCustomObjects">
1574
+ <soap:operation soapAction="http://www.marketo.com/mktows/deleteCustomObjects" />
1575
+ <wsdl:input>
1576
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1577
+ <soap:body use="literal" />
1578
+ </wsdl:input>
1579
+ <wsdl:output>
1580
+ <soap:body use="literal" />
1581
+ </wsdl:output>
1582
+ </wsdl:operation>
1583
+ <wsdl:operation name="getCustomObjects">
1584
+ <soap:operation soapAction="http://www.marketo.com/mktows/getCustomObjects" />
1585
+ <wsdl:input>
1586
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1587
+ <soap:body use="literal" />
1588
+ </wsdl:input>
1589
+ <wsdl:output>
1590
+ <soap:body use="literal" />
1591
+ </wsdl:output>
1592
+ </wsdl:operation>
1593
+ <wsdl:operation name="mergeLeads">
1594
+ <soap:operation soapAction="http://www.marketo.com/mktows/mergeLeads" />
1595
+ <wsdl:input>
1596
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1597
+ <soap:body use="literal" />
1598
+ </wsdl:input>
1599
+ <wsdl:output>
1600
+ <soap:body use="literal" />
1601
+ </wsdl:output>
1602
+ </wsdl:operation>
1603
+ <wsdl:operation name="getChannels">
1604
+ <soap:operation soapAction="http://www.marketo.com/mktows/getChannels" />
1605
+ <wsdl:input>
1606
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1607
+ <soap:body use="literal" />
1608
+ </wsdl:input>
1609
+ <wsdl:output>
1610
+ <soap:body use="literal" />
1611
+ </wsdl:output>
1612
+ </wsdl:operation>
1613
+ <wsdl:operation name="getTags">
1614
+ <soap:operation soapAction="http://www.marketo.com/mktows/getTags" />
1615
+ <wsdl:input>
1616
+ <soap:header use="literal" part="authentication" message="tns:AuthenticationHeader" />
1617
+ <soap:body use="literal" />
1618
+ </wsdl:input>
1619
+ <wsdl:output>
1620
+ <soap:body use="literal" />
1621
+ </wsdl:output>
1622
+ </wsdl:operation>
1623
+ </wsdl:binding>
1624
+
1625
+ <wsdl:service name="MktMktowsApiService">
1626
+ <wsdl:port name="MktowsApiSoapPort" binding="tns:MktowsApiSoapBinding">
1627
+ <soap:address location="https://na-aba.marketo.com/soap/mktows/2_2" />
1628
+ </wsdl:port>
1629
+ </wsdl:service>
1630
+ </wsdl:definitions>