1 2004-06-25 Lluis Sanchez Gual <lluis@ximian.com>
3 * HttpSimpleProtocolImporter.cs: Added null check. The XmlTypeMapping for
4 the return type will be null if the method returns void.
6 2004-06-22 Lluis Sanchez Gual <lluis@ximian.com>
8 * HttpSimpleProtocolImporter.cs: Import return types as XmlTypeMapping,
9 not as XmlMemberMapping. This allows the use of the correct AddMetadata
10 method for generating attributes.
12 2004-06-11 Gert Driesen <drieseng@users.sourceforge.net>
14 * SoapProtocolImporter.cs: Added stub for missing IsSoapEncodingPresent
16 * MimeContentBinding.cs: removed extra Default attribute from Part
18 2004-06-10 Lluis Sanchez Gual <lluis@ximian.com>
20 * HttpSimpleProtocolImporter.cs: Add needed XmlInclude attributes to the
21 generated class. Generate the correct data type for input parameters.
22 * SoapProtocolImporter.cs: Like in MS.NET, take the first output parameter
23 as the return value of the method. When generating a header variable,
24 use the type name as the base for the variable name, not the part name.
26 2004-06-02 Lluis Sanchez Gual <lluis@ximian.com>
28 * HttpSimpleProtocolImporter.cs: Fixed case of generated methods to match
29 MS behavior. Always use import input parameters as System.String.
30 * ProtocolImporter.cs: Remove _x0020_ from type names.
31 * SoapProtocolImporter.cs: Fixed case of generated methods to match
34 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
36 * Binding.cs: removed extra XmlIgnore attribute on ServiceDescription
37 * Import.cs: removed extra XmlIgnore attribute on ServiceDescription
38 * Message.cs: removed extra XmlIgnore attribute on ServiceDescription
39 * MessageBinding.cs: removed extra DefaultValue attribute from Name,
40 removed extra XmlIgnoreAttribute from OperationBinding
41 * MessagePart.cs: removed extra XmlIgnore attribute on Message
42 * MimeContentBinding.cs: removed extra DefaultValue attribute on Part
43 * Operation.cs: removed extra XmlIgnore attribute on PortType
44 * OperationBinding.cs: removed extra XmlIgnore attribute on Binding
45 * OperationMessage.cs: removed extra XmlIgnore attribute on Operation
46 * Port.cs: removed extra XmlIgnore attribute on Service
47 * PortType.cs: removed extra XmlIgnore on ServiceDescription
48 * Service.cs: removed extra XmlIgnore on ServiceDescription
49 * ServiceDescriptionFormatExtension.cs: removed extra XmlIgnore
51 * SoapHeaderBinding.cs: added XmlElement attribute on Fault
52 * HttpSimpleProtocolImporter.cs: removed unused variable
53 * ServiceDescriptionImporter.cs: removed unused variable
54 * SoapProtocolImporter.cs: removed unused variable
56 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
58 * BindingCollection.cs: Fixed this[string] property.
60 2004-05-24 Lluis Sanchez Gual <lluis@ximian.com>
62 * ProtocolImporter.cs: issue a warning if no services have been found.
64 2004-03-02 Lluis Sanchez Gual <lluis@ximian.com>
66 * SoapBinding.cs: Added missing attributes. The class is not sealed.
67 * SoapBodyBinding.cs: Removed unneeded attributes.
69 2004-03-02 Lluis Sanchez Gual <lluis@ximian.com>
71 * ProtocolImporter.cs: Little fix in schema classification.
73 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
75 * ExtensionManager.cs: Create all serializers for soap extensions at once.
76 * HttpSimpleProtocolImporter.cs: Assign the correct set of schemas to the
77 schema importers (do not mix literal schemas with encoded schemas).
78 * ProtocolImporter.cs: Added LiteralSchemas and EncodedSchemas properties.
79 Separation between literal and encoded schemas is needed to avoid importing
80 for example a literal schema as encoded. Also implemented ClasifySchemas,
81 which separates literal from encoded schemas. I really don't like doing it
82 in this way, but I haven't found another way.
83 * SoapProtocolImporter.cs: Add type include attributes to the generated
86 2004-02-11 Lluis Sanchez Gual <lluis@ximian.com>
88 * SoapProtocolReflector.cs: Fixed bug #53247. Element name asigned to the
89 message part (in literal+bare format) was incorrect.
91 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
93 * SoapProtocolImporter.cs, SoapProtocolReflector.cs: Support methods with
94 "any" as return type. In this case, the part of the return message contains
95 a reference to the type that describes the "any" element.
97 2004-01-24 Lluis Sanchez Gual <lluis@ximian.com>
99 * ExtensionManager.cs: Support more than one XmlFormatExtensionPrefixAttribute
100 un one soap extension.
101 * HttpSimpleProtocolImporter.cs: Made class internal.
102 * HttpSimpleProtocolReflector.cs.cs: ReflectMethodBinding(): GET and POST
103 do not use method bindings. Return null.
104 * ProtocolReflector.cs: Several fixes: do not generate binding if it doesn't
105 have any operation, avoid port and binding name colisions, and other minor
107 * ServiceDescription.cs: Collect the namespaces to be added to the root
108 element of a serializaed wsdl document from the soap extensions.
109 * ServiceDescriptionSerializerBase.cs: Made classes internal.
110 * SoapAddressBinding.cs, SoapFaultBinding.cs, SoapOperationBinding.cs,
111 SoapProtocolImporter.cs: Class should not be sealed.
112 * SoapBodyBinding.cs: Set the correct class attributes.
113 * SoapHeaderBinding.cs: Class should not be sealed. Added missing method.
114 * SoapHeaderFaultBinding.cs: Fixed class attributes.
116 2004-01-21 Lluis Sanchez Gual <lluis@ximian.com>
118 * HttpSimpleProtocolImporter.cs: pass the web service class list to the xml
119 importers to make sure that no data classes are created with the same
120 name as the web service.
121 * ProtocolImporter.cs: Use port name as class name only if there is more
122 than one port using the same protocol. This fixes big #52742.
124 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
126 * HttpSimpleProtocolReflector.cs, SoapProtocolReflector.cs:
127 Use GetWebServiceLiteralNamespace instead of WebServiceLiteralNamespace.
128 * ProtocolReflector.cs: Port names must be unique in a service description.
129 This fixes bug #53019.
130 * ProtocolImporter.cs: Little fix.
132 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
134 * ProtocolImporter.cs, SoapProtocolImporter.cs: Added support for OneWay
135 operations (those don't have output message).
136 * SoapProtocolReflector.cs: Set the correct element name and
137 namespace for headers (those are not managed like other data classes).
139 2004-01-13 Lluis Sanchez Gual <lluis@ximian.com>
141 * ProtocolReflector.cs: in the case a new ServiceDescription is created,
142 the name of the BindingInfo was not copied into the new ServiceDescriptor.
143 Patch by Yaacov Akiba Slama.
145 2003-12-12 Lluis Sanchez Gual <lluis@ximian.com>
147 * HttpSimpleProtocolImporter.cs: In ImportOutMembersMapping(), support part
148 without element name (use anyType in this case).
149 In GetOutMimeFormatter(), support MimeContentBinding.
150 * ProtocolImporter.cs, SoapProtocolImporter.cs: Improved error and warning
151 handling. Minor fixes.
153 2003-11-11 Lluis Sanchez Gual <lluis@ximian.com>
155 * ServiceDescription.cs, SoapBinding.cs, SoapHeaderBinding.cs,
156 SoapHeaderFaultBinding.cs: Removed some TODOs and FIXMEs.
158 2003-10-20 Lluis Sanchez Gual <lluis@ximian.com>
160 * ServiceDescription.cs: Fixed implementation of CanRead.
162 2003-10-15 Lluis Sanchez Gual <lluis@ximian.com>
164 * MessageBinding.cs: Name property should be null by default.
165 * ProtocolImporter.cs: Take into account the previous change.
167 2003-10-15 Lluis Sanchez Gual <lluis@ximian.com>
169 * HttpSimpleProtocolReflector.cs, ProtocolReflector.cs:
170 Fixed naming of messages.
171 * ProtocolImporter.cs: It now iterates through all bindings. It creates
172 a namespace for all bindings.
173 * ServiceDescriptionImporter.cs: Some code moved to ProtocolImporter.
174 * SoapProtocolImporter.cs: Improved support for RPC format. It now is working.
176 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
178 * HttpSimpleProtocolReflector.cs, SoapProtocolReflector.cs:
179 Get the namespace for literal types from LogicalTypeInfo, since it may not
180 be the same as the service namespace.
181 * ProtocolReflector.cs: Access LogicalTypeInfo to get WS info common to
183 * ServiceDescription.cs: Added soap/encoded namespace.
184 * SoapProtocolImporter.cs: Added some bits of RPC format support.
186 2003-10-06 Lluis Sanchez Gual <lluis@ximian.com>
188 * ProtocolImporter.cs: Moved some code to ServiceDescriptionImporter.
189 WebServiceBindingAttribute addition moved to SoapProtocolImporter.
190 Moved GetServiceUrl here (from SoapProtocolImporter).
191 * ServiceDescriptionImporter.cs: Added support for HttpGet and HttpPost
193 * SoapProtocolImporter.cs: Minor fixes.
194 * HttpSimpleProtocolImporter.cs, HttpGetProtocolImporter.cs,
195 HttpPostProtocolImporter.cs: new files that implement HttpGet and HttpPost
198 2003-10-04 Lluis Sanchez Gual <lluis@ximian.com>
200 * ProtocolReflector.cs: The ReflectionImporter property now creates a
201 reflector if the TypeStubInfo does not provide one.
202 Do not create XmlSchemaExporter. Take it from the service reflector, sine
203 it must be reused for all protocol reflectors. Moved some code to
204 SoapProtocolReflector, since it cannot be reused for all reflectors.
205 * ServiceDescriptionReflector.cs: Reflect the type for all available
207 * SoapProtocolReflector.cs: Moved here some code from ProtoclReflector.
208 * HttpGetProtocolReflector.cs, HttpPostProtocolReflector.cs,
209 HttpSimpleProtocolReflector.cs: new files.
211 2003-10-01 Lluis Sanchez Gual <lluis@ximian.com>
213 * ProtocolReflector.cs: Adapted to the changes in TypeStubInfo. Moved some
214 common code to ServiceDescriptionReflector.
215 * ServiceDescriptionReflector.cs: Moved some code from ProtocolReflector.cs
217 2003-09-28 Lluis Sanchez Gual <lluis@ximian.com>
219 * ExtensionManager.cs: Read extension types from the configuration file.
220 Added methods for getting extension importers and reflectors.
221 * ProtocolImporter.cs: Implemented.
222 * ProtocolReflector.cs: Implemented.
223 * ServiceDescriptionCollection.cs: Fixed some methods for finding wsdl
225 * ServiceDescriptionImporter.cs: moved most of the code to ProtocolImporter.
226 * ServiceDescriptionReflector.cs: moved most of the code to
227 ProtocolReflector and SoapProtocolReflector.
228 * SoapProtocolImporter.cs: Implemented.
229 * SoapProtocolReflector.cs: Implemented.
230 * SoapTransportImporter.cs: Implemented.
231 * SoapHttpTransportImporter.cs: Implemented.
234 2003-09-14 Lluis Sanchez Gual <lluis@ximian.com>
236 * DocumentableItem.cs MimeContentBinding.cs OperationMessage.cs
237 OperationMessageCollection.cs PortCollection.cs PortType.cs
238 PortTypeCollection.cs ServiceCollection.cs ServiceDescriptionCollection.cs
239 SoapBodyBinding.cs SoapOperationBinding.cs: Several fixes by Erik LeBel
240 * ServiceDescriptionImporter.cs:
241 * ServiceDescriptionSerializerBase.cs: regenerated after the changes in
242 the service description changes.
243 * ServiceDescriptionReflector.cs: Fixed generation of message parts in
246 2003-09-11 Lluis Sanchez Gual <lluis@ximian.com>
248 * ServiceDescriptionImporter.cs, ServiceDescriptionReflector.cs: Added
249 first bits of encoded format support.
251 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
253 * ServiceDescription.cs: minor fixes.
254 * ServiceDescriptionImporter.cs: initial implementation.
255 * ServiceDescriptionReflector.cs: Added support for bare parameter style.
256 Added support for encoded format.
258 2003-09-01 Lluis Sanchez Gual <lluis@ximian.com>
260 * ExtensionManager.cs: Added
261 * ServiceDescriptionSerializerBase.cs. Added
262 * ServiceDescription.cs: Reenabled suspport for serialization.
263 * ServiceDescriptionReflector.cs: Import type and method documentation.
265 2003-08-29 Lluis Sanchez Gual <lluis@ximian.com>
267 * ServiceDescription.cs: Disabled suspport for serialization, until I found
268 an easy way of generate serialization readers and writers.
270 2003-08-28 Lluis Sanchez Gual <lluis@ximian.com>
272 * MessageBinding.cs: Added default value attribute for Name property.
273 * OperationMessage.cs: Added default value attribute for Name property.
274 * ServiceDescription.cs: Changed order of some properties, so they are
275 serialized in the right order.
276 Added GetNamespaceList(), which returns the namespaces to add when serializing
278 Implemented classes ServiceDescriptionSerializer and ServiceDescriptionWriter,
279 that extends the XmlSerializer by adding suport for XmlFormatExtensions.
280 * ServiceDescriptionReflector.cs: Basic implementation (no support for
282 * SoapBinding.cs: Fixed namespace name.
283 * SoapBodyBinding.cs: Added null check in PartsString property.
284 * SoapOperationBinding.cs: Fixed namespace name.
286 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
288 * Binding.cs, Import.cs, Message.cs, MessageBinding.cs, MessagePart.cs,
289 Operation.cs, OperationBinding.cs, OperationMessage.cs, Port.cs,
290 PortType.cs, Service.cs: Added XmlIgnore attributes to properties
291 referencing parent objects.
292 * OperationMessageCollection.cs: Fixed wrong OnInsert method
293 * ServiceDescription.cs: Removed unneeded methods in
294 ServiceDescriptionSerializer.
296 2002-08-20 Tim Coleman <tim@timcoleman.com>
297 * ServiceDescription.cs:
298 Add ServiceDescription.ServiceDescriptionSerializer
300 * ServiceDescriptionFormatExtensionCollection.cs:
301 Remove reference to "parent".
303 2002-08-19 Tim Coleman <tim@timcoleman.com>
304 * BindingCollection.cs:
305 Use base constructor, remove SetParent call
306 * FaultBindingCollection.cs:
307 * ImportCollection.cs:
308 * MessageCollection.cs:
309 * MessagePartCollection.cs:
310 * OperationBindingCollection.cs:
311 * OperationCollection.cs:
312 * OperationFaultCollection.cs:
314 * PortTypeCollection.cs:
315 * ServiceCollection.cs:
316 * ServiceDescriptionFormatExtensionCollection.cs:
318 * ServiceDescriptionCollection.cs:
319 Use base constructor, Remove SetParent method
320 * ServiceDescriptionBaseCollection.cs:
321 Make parent object private as according to
323 * OperationMessageCollection.cs:
325 Remove excess break's to avoid compiler warning
326 Remove TODO attribute (confirmed default retval)
328 2002-08-15 Tim Coleman <tim@timcoleman.com>
329 * FaultBindingCollection.cs:
330 * ImportCollection.cs:
331 * MessageCollection.cs:
332 * MessagePartCollection.cs:
333 * OperationBindingCollection.cs:
334 * OperationCollection.cs:
335 * OperationFaultCollection.cs:
336 * OperationMessageCollection.cs:
338 * PortTypeCollection.cs:
339 * ServiceCollection.cs:
340 * ServiceDescriptionFormatExtensionCollection.cs:
341 Use parent from ServiceDescriptionBaseCollection
342 * ServiceDescriptionCollection.cs:
343 Use parent from ServiceDescriptionBaseCollection
344 Implement SetParent () method
345 * ServiceDescriptionBaseCollection.cs:
347 Add SetParent call to OnSet() and OnInsert ()
349 2002-08-12 Tim Coleman <tim@timcoleman.com>
351 Fix ParameterOrderString in case ParameterOrder is
353 * BindingCollection.cs:
354 Remove Table handling on insert/delete/indexer
355 because it is handled in base class.
356 * ServiceDescriptionBaseCollection.cs:
357 Only add an element to the hashtable if its GetKey ()
358 method does not return null.
360 2002-08-09 Tim Coleman <tim@timcoleman.com>
361 * BindingCollection.cs:
362 * ServiceDescriptionCollection.cs:
363 Implement Set indexer
364 * FaultBindingCollection.cs:
365 * MessageCollection.cs:
366 * MessagePartCollection.cs:
367 * OperationFaultCollection.cs:
369 * PortTypeCollection.cs:
370 * ServiceCollection.cs:
371 Implement Set indexer, code cleanup
373 Implement FindPartByName ()
374 * OperationMessageCollection.cs:
375 Alter OnSet () method
376 * ServiceDescriptionBaseCollection.cs:
377 Implement some methods.
378 * ServiceDescriptionFormatExtensionCollection.cs:
379 Implement Find (), FindAll (), OnValidate () methods
382 2002-08-06 Tim Coleman <tim@timcoleman.com>
383 * ServiceDescription.cs:
384 Add namespace definitions when serializing.
386 Change namespace definition (wsdl was spelt wsld)
388 2002-08-06 Tim Coleman <tim@timcoleman.com>
389 * ServiceDescription.cs:
390 Change the XmlElement name from "type" to "types" for
393 2002-08-06 Tim Coleman <tim@timcoleman.com>
395 Add new class as implied by class statuc page.
396 SoapServerProtocol is derived from this.
397 * SoapServerProtocol.cs:
398 Change base class to ServerProtocol.
399 * SoapClientMethod.cs:
400 This class should not be sealed.
402 2002-08-03 Tim Coleman <tim@timcoleman.com>
403 * SoapProtocolReflector.cs:
404 Removed SoapBinding property and made the class
405 not sealed to agree with class reference page.
407 2002-08-03 Tim Coleman <tim@timcoleman.com>
408 * ServiceDescriptionBaseCollection.cs:
409 Removed some NotImplementedException()'s so that
412 2002-07-26 Tim Coleman <tim@timcoleman.com>
413 * ServiceDescription.cs:
414 Changed the creation of the XmlSerializer after
415 consulting the System.Xml.Serialization namespace
416 and trying to serialize a document. Now works somewhat!
418 2002-07-25 Tim Coleman <tim@timcoleman.com>
419 * OperationMessageCollection.cs:
420 Some implementation of this class after consulting a
421 WSDL reference. Now validates the inputs.
423 2002-07-24 Tim Coleman <tim@timcoleman.com>
424 * ProtocolImporter.cs:
425 * ProtocolReflector.cs:
426 Some implementation of these classes. MonoTODO's begone!
427 * SoapProtocolImporter.cs:
428 Changed description to literal string "Soap"
429 * SoapProtocolReflector.cs:
430 Added a new class based on guesswork and conjecture.
432 2002-07-24 Tim Coleman <tim@timcoleman.com>
433 * ServiceDescription.cs:
434 Implement Read/Write methods for serialization/
437 2002-07-23 Tim Coleman <tim@timcoleman.com>
438 * ServiceDescription.cs:
439 Add XmlIgnore attribute to ServiceDescriptions property
441 * ServiceDescriptionImportWarnings.cs:
442 Explicitly set values in enumeration to match
445 2002-07-22 Tim Coleman <tim@timcoleman.com>
447 * BindingCollection.cs:
448 * DocumentableItem.cs:
450 * FaultBindingCollection.cs:
451 * HttpAddressBinding.cs:
453 * HttpOperationBinding.cs:
454 * HttpUrlEncodedBinding.cs:
455 * HttpUrlReplacementBinding.cs:
457 * ImportCollection.cs:
461 * MessageCollection.cs:
463 * MessagePartCollection.cs:
464 * MimeContentBinding.cs:
465 * MimeMultipartRelatedBinding.cs:
467 * MimePartCollection.cs:
468 * MimeTextBinding.cs:
470 * MimeTextMatchCollection.cs:
473 * OperationBinding.cs:
474 * OperationBindingCollection.cs:
475 * OperationCollection.cs:
476 * OperationFaultCollection.cs:
478 * OperationMessage.cs:
479 * OperationMessageCollection.cs:
484 * PortTypeCollection.cs:
485 * ProtocolImporter.cs:
487 * ServiceCollection.cs:
488 * ServiceDescription.cs:
489 * ServiceDescriptionBaseCollection.cs:
490 * ServiceDescriptionCollection.cs:
491 * ServiceDescriptionFormatExtension.cs:
492 * ServiceDescriptionFormatExtensionCollection.cs:
493 * ServiceDescriptionImportWarnings.cs:
494 * SoapAddressBinding.cs:
496 * SoapBindingStyle.cs:
498 * SoapBodyBinding.cs:
499 * SoapExtensionImporter.cs:
500 * SoapExtensionReflector.cs:
501 * SoapFaultBinding.cs:
502 * SoapHeaderBinding.cs:
503 * SoapHeaderFaultBinding.cs:
504 * SoapOperationBinding.cs:
505 * SoapTransportImporter.cs:
507 1. Add missing attributes as determined by reflection
508 2. Fix protection levels where appropriate
509 3. Add missing items where appropriate
510 Basically, this was a change to remove all the X's from
511 the project status page for this namespace :)
513 2002-07-19 Tim Coleman <tim@timcoleman.com>
515 * BindingCollection.cs:
517 * DocumentableItem.cs:
519 * FaultBindingCollection.cs:
520 * HttpAddressBinding.cs:
522 * HttpOperationBinding.cs:
523 * HttpUrlEncodedBinding.cs:
524 * HttpUrlReplacementBinding.cs:
526 * ImportCollection.cs:
530 * MessageCollection.cs:
532 * MessagePartCollection.cs:
533 * MimeContentBinding.cs:
534 * MimeMultipartRelatedBinding.cs:
536 * MimePartCollection.cs:
537 * MimeTextBinding.cs:
539 * MimeTextMatchCollection.cs:
542 * OperationBinding.cs:
543 * OperationBindingCollection.cs:
544 * OperationCollection.cs:
546 * OperationFaultCollection.cs:
549 * OperationMessage.cs:
550 * OperationMessageCollection.cs:
551 * OperationOutput.cs:
556 * PortTypeCollection.cs:
557 * ProtocolImporter.cs:
558 * ProtocolReflector.cs:
560 * ServiceCollection.cs:
561 * ServiceDescription.cs:
562 * ServiceDescriptionBaseCollection.cs:
563 * ServiceDescriptionCollection.cs:
564 * ServiceDescriptionFormatExtension.cs:
565 * ServiceDescriptionFormatExtensionCollection.cs:
566 * ServiceDescriptionImportStyle.cs:
567 * ServiceDescriptionImportWarnings.cs:
568 * ServiceDescriptionImporter.cs:
569 * ServiceDescriptionReflector.cs:
570 * SoapAddressBinding.cs:
572 * SoapBindingStyle.cs:
574 * SoapBodyBinding.cs:
575 * SoapExtensionImporter.cs:
576 * SoapExtensionReflector.cs:
577 * SoapFaultBinding.cs:
578 * SoapHeaderBinding.cs:
579 * SoapHeaderFaultBinding.cs:
580 * SoapOperationBinding.cs:
581 * SoapProtocolImporter.cs:
582 * SoapTransportImporter.cs:
584 Initial implementation