1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061
|
2006-11-21 Atsushi Enomoto <atsushi@ximian.com>
* WebClientProtocol.cs HttpWebClientProtocol.cs SoapException.cs
SoapHeaderException.cs HttpSimpleClientProtocol.cs
SoapHttpClientProtocol.cs SoapMessage.cs:
assorted cosmetic API fixes.
2006-11-19 Atsushi Enomoto <atsushi@ximian.com>
* HttpSoapWebServiceHandler.cs: on deserializing the request, do not
close the input stream. Fixed bug #79954. Fix by Juan C. Olivares.
2006-11-16 Atsushi Enomoto <atsushi@ximian.com>
* HttpServerProtocol.cs : removed old code.
* SoapServerProtocol.cs, ServerProtocol.cs : removed as well, and
added up-to-date ones.
* SoapHeaderHandling.cs, SoapHeaderMapping.cs,
ServerProtocolFactory.cs, SoapServerType.cs,
SoapServerProtocolFactory.cs, ServerType.cs,
SoapServerProtocol.cs, ServerProtocol.cs,
SoapServerMethod.cs :
Added stubs for 2.0 server protocol model. For now I don't spend
time on these ones but rather fill more important bits like
SOAP 1.2 support.
2006-11-15 Atsushi Enomoto <atsushi@ximian.com>
* SoapHeaderException.cs, SoapException.cs, SoapFaultSubcode.cs,
Soap12FaultCodes.cs : API fixes, mostly for SoapFaultSubCode.
2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
* SoapHttpClientProtocol.cs : 2.0 API fix (WsiClaims -> WsiProfiles).
2006-09-06 Lluis Sanchez Gual <lluis@novell.com>
* ValueCollectionParameterReader.cs, MimeFormatter.cs: Support enums in
the http get and post protocols. Fixes bug #78461.
2006-09-06 Lluis Sanchez Gual <lluis@novell.com>
* SoapException.cs: Fix property name.
2006-09-05 Ankit Jain <jankit@novell.com>
* LogicalMethodTypes.cs:
* SoapMessageStage.cs:
* SoapServiceRoutingStyle.cs:
* SoapHeaderDirection.cs:
* SoapParameterStyle.cs:
* SoapProtocolVersion.cs: Remove [Serializable].
2006-08-30 Konstantin Triger <kostat@mainsoft.com>
* WebClientProtocol.cs: implemented WebClientProtocol.UseDefaultCredentials().
2006-06-08 Chris Toshok <toshok@ximian.com>
* WebServiceHandlerFactory.cs: remove the CONFIGURATION_2_0 from
ifdefs. NET_2_0 implies this now.
* SoapExtension.cs: same.
* SoapDocumentationHandler.cs: same.
2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
* SoapExtension.cs: fixed ExecuteProcessMessage signature, added
stream parameter in order to update SoapMessage stream
* SoapMessage.cs: removed unused ctor, added internal property to
set SoapMessage's stream member
* HttpSoapWebServiceHandler.cs, SoapHttpClientProtocol.cs: updated
usage of ExecuteProcessMessage
2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
* SoapServerMessage.cs: fixed SoapServerMessage constructors to
remove quotes from SoapAction http header when initializing local
action member
2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpSoapWebServiceHandler.cs, SoapServerMessage.cs: fixed
SoapMessage.ContentEncoding that used in ProcessMessage method
in SoapExtension
2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
* TypeStubManager.cs: fixed type_to_manager member to be initialized
per appdoamin (within TARGET_JVM block)
2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
* SoapDocumentationHandler.cs: TARGET_JVM blocks added to exclude
not supported methods
2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
* WebClientProtocol.cs: Add a 2.0 stub
2006-01-04 Chris Toshok <toshok@ximian.com>
* SoapDocumentationHandler.cs: add CONFIGURATION_2_0 stuff.
2006-01-04 Chris Toshok <toshok@ximian.com>
* WebServiceHandlerFactory.cs: add CONFIGURATION_2_0 stuff.
* SoapExtension.cs: add CONFIGURATION_2_0 stuff.
2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
* LogicalMethodInfo.cs: GetCustomAttribute* does not return
inherited attributes in MS.NET.
2005-08-15 Gert Driesen <drieseng@users.sourceforge.net>
* SoapException.cs: Only mark serializable on 2.0 profile.
* SoapHeaderException.cs: Only mark serializable on 2.0 profile.
* WebClientProtocol.cs: DefaultValue of RequestEncoding must be null
to match MS.NET. Fixed line endings.
2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SoapDocumentationHandler.cs: workaround for a bug in the HttpRequest
QueryString property. Under MS, GetKey (0) yields null.
2005-06-30 Konstantin Triger <kostat@mainsoft.com>
* HttpSoapWebServiceHandler.cs:
* HttpSimpleWebServiceHandler.cs: Disposing the WebService instance
after a WebMethod invocation.
2005-06-14 Lluis Sanchez Gual <lluis@novell.com>
* SoapHttpClientProtocol.cs:
* WebServiceHelper.cs:
* Methods.cs: Changed the way headers are serialized. Instead of having
a serializer per header type, we now have a serializer per method, and
headers are serialized using a member mapping.
* HttpSoapWebServiceHandler.cs: Handle one way methods properly.
Fixes bug #70699.
2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpSoapWebServiceHandler.cs: use the HttpResponse.BufferOutput
instead of our own MemoryStream when buffering is enabled. Flush the
response instead of closing it, as that allows for Content-Length to
be sent from HttpResponse and helps reusing connections.
2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebServiceHelper.cs: don't even try to read the response if its length
is known to be 0.
* SoapHttpClientProtocol.cs: for successful responses on methods that
are not one-way, don't return immediately if the content length is 0 so
that the check for Content-Type takes place.
2005-06-07 Kornél Pál <kornelpal@hotmail.com>
* WebServiceHandlerFactory.cs: Throw InvalidOperationException instead of
returning DummyHttpHandler when the request format is not supported.
2005-06-06 Kornél Pál <kornelpal@hotmail.com>
* WebServiceHandlerFactory.cs: Added support for HttpPostLocalhost and HttpSoap12
2005-06-05 Konstantin Triger <kostat@mainsoft.com>
* SoapHttpClientProtocol.cs: Close WebResponse to free resources
* WebClientProtocol.cs, TypeStubManager.cs, SoapExtension.cs: moving static fields to AppDomain in Java builds
2005-02-07 Lluis Sanchez Gual <lluis@novell.com>
* XmlReturnWriter.cs, SoapDocumentationHandler.cs: Use utf-8 encoding
when generating xml responses, wsdl documents and schemas. This fixes
bug #72202.
2004-12-09 Lluis Sanchez Gual <lluis@novell.com>
* ValueCollectionParameterReader.cs: Parse parameters in the correct
way, Convert.ChangeType is not enough. This fixes bug #70266.
Removed some types that are not supported as parameters.
* MimeFormatter.cs: Added methods for xml <-> object conversion.
* UrlEncodedParameterWriter.cs: Use a more elaborate method for converting
from object to string, ToString() is not enough.
2004-12-09 Lluis Sanchez Gual <lluis@novell.com>
* TypeStubManager.cs: Removed redundat hastable access.
* SoapHttpClientProtocol.cs: Accept responses with ContentLength==0.
This fixes bug #70310.
2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SoapHttpClientProtocol.cs: dispose the StreamReader that wraps the
response stream.
2004-09-15 Lluis Sanchez Gual <lluis@novell.com>
* Methods.cs: Use the service namespace as the base for the soap action.
This fixes bug #60379.
2004-08-25 Lluis Sanchez Gual <lluis@novell.com>
* HttpSoapWebServiceHandler.cs, WebServiceHandler.cs: Do not assign the
context to the service. It already gets it from HttpContext.Current.
2004-07-27 Lluis Sanchez Gual <lluis@ximian.com>
* HttpSimpleClientProtocol.cs, HttpWebClientProtocol.cs,
SoapHttpClientProtocol.cs: Implemented support for the new async model.
* InvokeCompletedEventArgs.cs: Implemented.
2004-07-20 Lluis Sanchez Gual <lluis@ximian.com>
* HttpWebClientProtocol.cs: Add received cookies to cookieContainer when
getting the response, do not wait for the next request to do it.
2004-07-13 Lluis Sanchez Gual <lluis@ximian.com>
* HttpWebClientProtocol.cs, Soap12FaultCodes.cs, SoapClientMessage.cs,
SoapException.cs, SoapHeader.cs, SoapHeaderException.cs,
SoapHttpClientProtocol.cs, SoapMessage.cs, SoapRpcMethodAttribute.cs,
SoapRpcServiceAttribute.cs, SoapServerMessage.cs: Api fixage (mainly
missing attributes).
2004-07-10 Lluis Sanchez Gual <lluis@ximian.com>
* HttpSimpleClientProtocol.cs, HttpWebClientProtocol.cs,
SoapClientMessage.cs, SoapHttpClientProtocol.cs, SoapServerMessage.cs:
Added 2.0 stubs.
* SoapException.cs, SoapHeader.cs, SoapHeaderException.cs, SoapMessage.cs,
SoapRpcMethodAttribute.cs, SoapRpcServiceAttribute.cs: Implemented some
new methods and properties.
* WebClientProtocol.cs: uri field must be internal.
2004-07-05 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: When using RPC, ignore RequestElementName and MessageName,
and always uses the method name (MS.NET seems to do this).
2004-07-02 Lluis Sanchez Gual <lluis@ximian.com>
* XmlReturnWriter.cs: Add XmlIncludes to the reflection importer when
reflecting the return type.
2004-07-01 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: Check for null when looking for a header serializer, since
unknown headers don't have a serializer.
* SoapHeader.cs: Check for empty string before setting
EncodedMustUnderstand.
2004-07-01 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs, SoapMessage.cs: Added support for unknown headers.
* SoapHeader.cs, SoapUnknownHeader.cs: Added new constructor that takes an
XmlElement with header info.
* WebServiceHelper.cs: Write the encodingStyle attribute when using the
encoded format. Added support for unknown headers.
2004-06-22 Lluis Sanchez Gual <lluis@ximian.com>
* XmlReturnReader.cs, XmlReturnWriter.cs: Generate the serializer with
the root attribute taken from the method attributes.
2004-06-10 Lluis Sanchez Gual <lluis@ximian.com>
* TypeStubManager.cs: Improved locking in GetLogicalTypeInfo().
* WebServiceHandler.cs: Removed unneded methods.
2004-06-02 Lluis Sanchez Gual <lluis@ximian.com>
* LogicalMethodInfo.cs: Don't crash in GetCustomAttribute if the requested
attribute is not found.
2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
* HttpSoapWebServiceHandler.cs: Removed unused variables.
* SoapHeaderAttribute.cs: Added Obsolete attribute.
2004-05-24 Lluis Sanchez Gual <lluis@ximian.com>
* SoapClientMessage.cs: Get the MethodInfo from the corresponding
SoapMethodStubInfo.
2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SoapHttpClientProtocol.cs: when the response has a not acceptable
status code, the WebException we throw has a status of ProtocolError.
Fixes bug #58564.
2004-05-12 Lluis Sanchez Gual <lluis@ximian.com>
* LogicalMethodInfo.cs: Made EnableSession property internal.
2004-05-12 Lluis Sanchez Gual <lluis@ximian.com>
* HttpSimpleWebServiceHandler.cs: Added GetRequestMethod(), which is used
by the handler factory to check if the target method needs session or not.
Also factorized error handling in WriteError().
* HttpSoapWebServiceHandler.cs: Added GetRequestMethod(), for the same
reason. Assign the context to the WebService just before invoking the
method.
* SoapHttpClientProtocol.cs: Use helper method to create the xml writer.
* WebServiceHandler.cs: Added virtual GetRequestMethod().
* WebServiceHandlerFactory.cs: Use an http handler wrapper when the target
method requires session support.
* WebServiceHelper.cs: Added some helper methods.
2004-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SoapDocumentationHandler.cs: added internal property to get the page
handler when available.
* WebServiceHandlerFactory.cs: wrap the documentation handler in a class
that implements IRequiresSessionState and, if requested,
IReadOnlySessionState, so that we can use Sesion object in the default
WSDL help generator.
2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpSoapWebServiceHandler.cs: finish the request after serializing
the fault message.
2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpGetWebServiceHandler.cs:
* HttpPostWebServiceHandler.cs: removed.
* HttpSimpleWebServiceHandler.cs: changed ctor parameters and added
EnableSession property.
* WebServiceHandler.cs: added EnableSession virtual property.
* WebServiceHandlerFactory.cs: added a new handler that implements
IRequiresSessionState used for HttpGet and HttpPost.
(GetHandler): for HttpGet and HttpPost check if the method requires to
have a Session object and use the new SimpleSyncSessionHandler in that
case.
Still missing proper session handler for SOAP requests.
2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpSimpleWebServiceHandler.cs:
* HttpSoapWebServiceHandler.cs: use the session if the method has
EnableSession set.
* LogicalMethodInfo.cs: added EnableSession property.
* WebServiceHandler.cs: set the Session object of the WebService.
2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
* WebServiceHelper.cs: In GetContentEncoding, chop off the single & double
quotes around the encoding name. Patch by George Kodinov. This fixes
bug #55806.
2004-03-10 Lluis Sanchez Gual <lluis@ximian.com>
* HttpSoapWebServiceHandler.cs: Set the properties ContentType and
ContentEncoding in SoapServerMessage.
* LogicalMethodInfo.cs: Implemented AsyncResultParameter, BeginInvoke and
EndInvoke. Fixed ComputeParameters, so it computes the correct parameters
for async logical methods.
* Methods.cs: Check that client proxies have one and only one
WebServiceBindingAttribute.
* PatternMatcher.cs: Implemented (in fact, just moved code from
TextReturnReader.cs)
* SoapDocumentationHandler.cs: Add soap bindings in the generated
discovery document.
* SoapHttpClientProtocol.cs: Implemented method Discover().
* SoapMessage.cs: Implemented property ContentEncoding.
* TextReturnReader.cs: Moved code to PatternMatcher.cs.
2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
* Fault.cs: Moved Fault class from Methods.cd to this file. It also includes
a generated serializer.
* HttpSoapWebServiceHandler.cs, WebServiceHelper.cs: Use the new static Fault serializer.
* Methods.cs: Include types declared with XmlInclude and SoapInclude to the
reflection importer. Moved Fault and its serializer to Fault.cs
* SoapHttpClientProtocol.cs: Removed unused method.
2004-02-12 Lluis Sanchez Gual <lluis@ximian.com>
* WebServiceHelper.cs: When reading a soap request, skip empty headers.
This fixes bug #51846.
2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
* WebServiceHandler.cs: inheritance from WebService is not mandatory.
2004-02-05 Alon Gazit <along@mainsoft.com>
* HttpMethodAttribute.cs:
* MatchAttribute.cs:
* SoapDocumentMethodAttribute.cs:
* SoapDocumentServiceAttribute.cs:
* SoapHeaderAttribute.cs:
* SoapRpcMethodAttribute.cs:
* SoapRpcServiceAttribute.cs: This attribute is inherited by
derived classes.changed the AttributeUsage attribute.
2004-02-05 Alon Gazit <along@mainsoft.com>
* SoapHeaderAttribute.cs: This attribute is multiuse.
Changed the AttributeUsage attribute.
2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
* SoapDocumentMethodAttribute.cs: Fixed bug in ResponseNamespace.
2004-01-24 Lluis Sanchez Gual <lluis@ximian.com>
* HttpWebClientProtocol.cs: Added missing property.
* Methods.cs: Default binding for a method must be null.
* SoapHeaderDirection.cs: Added missing enum value.
* SoapMessage.cs: Added missing property.
* TypeStubManager.cs: Removed unneded check from AddBinding.
In GetBinding(), return default binding if name is null.
* ValueCollectionParameterReader.cs: IsPrimitive must be internal.
2004-01-21 Lluis Sanchez Gual <lluis@ximian.com>
* HttpSoapWebServiceHandler.cs, SoapHttpClientProtocol.cs: Do not use
indented format for requests and responses. SOAPAction header value
must be quoted (fix by Yaacov Akiba Slama).
2004-01-21 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: Set the correct namespaces for Fault. This fixes bug #53117.
Based on the fix by Eran Domb.
2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: Get the method namespace from the binding, not from the web
service.
* TypeStubManager.cs: When adding a binding, ignore it if it has already
been added. Changed WebServiceLiteralNamespace by the method
GetWebServiceLiteralNamespace. The literal namespace depends on the binding
namespace, so it has to be provided as parameter.
* XmlReturnReader.cs, XmlReturnWriter.cs: Use GetWebServiceLiteralNamespace
instead of WebServiceLiteralNamespace.
2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: Set the correct element name and namespace for headers (those
are not managed like other data classes).
2004-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpSoapWebServiceHandler.cs:
* HttpSimpleWebServiceHandler.cs: set
base.Context property.
* WebServiceHandler.cs: added set_Context and set the context for the
WebService when creating the instance.
2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
* SoapDocumentationHandler.cs: Added support for DISCO file generation.
2003-12-16 Lluis Sanchez Gual <lluis@ximian.com>
* HttpSimpleClientProtocol.cs: Do not encode the request url, since it is
already encoded by the MimeParameterWriter.
* MatchAttribute.cs: Set default value for Group to 1.
* TextReturnReader.cs: Implemented. With this it is possible to create an
XML web service that parse the contents of a web page.
2003-12-15 Lluis Sanchez Gual <lluis@ximian.com>
* HttpSoapWebServiceHandler.cs: Added check for valid SOAPAction header.
Fixed bug when routing style is RequestElement.
Removed GetMethodFromAction. This is done now in the type stub.
Other minor fixes.
* Methods.cs, WebServiceHelper.cs: Faults are always serialized using
literal format. Removed unneded code.
2003-12-12 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: Added special handling for RPC format.
2003-11-27 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: Added correct namespace for serialization in Fault class.
* SoapHttpClientProtocol.cs: Changed the method used to check if the
result is a fault. Now the check is done inside
WebServiceHelper.ReadSoapMessage. Removed some debug writelines.
* WebServiceHelper.cs: If the message body is a fault, use the fault
serializer.
2003-11-24 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs, TypeStubManager.cs, SoapMessage.cs: Removed TODO comment.
* SoapDocumentationHandler.cs: Check that the documentation page exist.
* SoapHttpClientProtocol.cs: Removed cast from WebResponse to
HttpWebResponse. This fixes bug #51281.
2003-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpSoapWebServiceHandler.cs: WebException is ok here for wrong
content encoding...
* SoapHttpClientProtocol.cs: ... but here, we should throw an
InvalidOperationException including the full response.
* WebServiceHelper.cs:
(GetContentEncoding): now fills an output variable with the name of the
content encoding used.
(InvalidOperation): new method to build the message for
InvalidOperationException.
2003-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SoapHttpClientProtocol.cs:
* WebServiceHelper.cs: throw a WebException instead of an Exception.
Fixes bug #51193.
2003-10-26 Miguel de Icaza <miguel@ximian.com>
* WebServiceHelper.cs: Compute content type and encoding
correctly in the absence of extra options.
2003-10-22 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: Class Fault is now public, so it can be serialized.
2003-10-15 Lluis Sanchez Gual <lluis@ximian.com>
* TypeStubManager.cs: Added OperationName property.
2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs, HttpSimpleTypeStubInfo.cs,
HttpSoapWebServiceHandler.cs, Methods.cs, SoapHttpClientProtocol.cs,
TypeStubManager.cs
Added class LogicalTypeInfo, which contains info common to all protocols
through which a web service can be accessed. Also, modified the way
Serializers are created. Instead of creating one by one, they are now
created all at once. This will make serialization creation more efficient
when the serializer code generator is in place.
* SoapRpcMethodAttribute.cs: Set the correct default values for the
properties.
* WebServiceHelper.cs: Removed unused method GetServiceNamespace().
* XmlReturnReader.cs, XmlReturnWriter.cs: Get the namespace for the return
type from LogicalTypeInfo.
2003-10-12 Lluis Sanchez Gual <lluis@ximian.com>
* SoapHttpClientProtocol.cs: Replaced AsyncInfo by a new
SoapWebClientAsyncResult class derived from WebClientAsyncResult.
* WebClientAsyncResult.cs: Removed unneeded members.
2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SoapDocumentationHandler.cs: don't close the response stream here
to allow filtering.
2003-10-06 Lluis Sanchez Gual <lluis@ximian.com>
* HtmlFormParameterWriter.cs: Fixed WriteRequest().
* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs: Check that
HttpMethodAttribute is present in proxy's method.
* HttpSimpleClientProtocol.cs: Forgot to call InitializeRequest before
getting the request stream.
* UrlEncodedParameterWriter.cs: in Encode(), take into account that
requestEncoding can be null.
2003-10-04 Lluis Sanchez Gual <lluis@ximian.com>
* SoapDocumentationHandler.cs: Moved here the code from
WebServiceHandlerFactory that generates the documentation page.
* WebServiceHandlerFactory.cs: Moved the code that generates the doc page
to SoapDocumentationHandler.cs.
* HttpGetClientProtocol.cs, HttpGetWebServiceHandler.cs,
HttpPostClientProtocol.cs, HttpPostWebServiceHandler.cs,
HttpSimpleWebServiceHandler.cs, HttpSoapWebServiceHandler.cs,
SoapHttpClientProtocol.cs: Changed parameters of GetTypeStub call.
* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs: Added ProtocolName
property. Added check for valid parameters.
* HttpSimpleTypeStubInfo.cs: Define return MimeFormatter in constructor.
* Methods.cs: BindingInfo and related properties moved to base TypeStubInfo.
Added properties for XmlImporter and SoapImporter.
* TypeStubManager.cs: Added BindingInfo and related properties.
Changed GetTypeStub method. Now it takes the name of the protocol for
which to get the type stub info.
* ValueCollectionParameterReader.cs: IsSupported should only return true
for input primitive parameters or array of primitives.
2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SoapDocumentationHandler.cs: it does not generate the documentation
page any more. GetDescription and GetSchemas are now internal.
* WebServiceHandlerFactory.cs: generate the documentation page without
doing a Transfer () but instead creating a Page instance from the wsdl
help file. This file is located from the configuration file that
contains the <wsdlHelpGenerator> tag.
2003-10-01 Lluis Sanchez Gual <lluis@ximian.com>
* HtmlFormParameterReader.cs, HtmlFormParameterWriter.cs,
HttpGetClientProtocol.cs, HttpPostClientProtocol.cs,
HttpSimpleClientProtocol.cs, MimeFormatter.cs, MimeParameterWriter.cs,
NopReturnReader.cs, UrlEncodedParameterWriter.cs, UrlParameterReader.cs,
UrlParameterWriter.cs, ValueCollectionParameterReader.cs,
WebClientAsyncResult.cs, XmlReturnReader.cs, XmlReturnWriter.cs
: Implemented.
* HttpSoapWebServiceHandler.cs, SoapClientMessage.cs, SoapServerMessage.cs,
SoapDocumentationHandler.cs, SoapHttpClientProtocol.cs,
WebServiceHelper.cs: Changed due to modifications in TypeStubInfo.
* Methods.cs: Moved common code to TypeStubInfo.cs.
* WebServiceHandler.cs: Moved invoke code to HttpSoapWebServiceHandler.cs
* ServerProtocol.cs, SoapServerProtocol.cs: Fixed formatting.
* WebServiceHandlerFactory.cs: Added support for HttpGet and HttpPost.
2003-09-29 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: Little fix in binding check.
* SoapExtension.cs: Implemented ChainStream. Changed some methods from
public to internal.
* SoapClientMessage: Implemented EnsureInStage.
* SoapServerMessage: Implemented EnsureInStage, EnsureOutStage.
2003-09-28 Lluis Sanchez Gual <lluis@ximian.com>
* HttpSoapWebServiceHandler.cs: In SerializeResponse method, improved
management of exceptions. Also added support for BufferResponse flag.
* Methods.cs: Added MethodAttribute property in MethodStubInfo. Added
XmlImporter, SoapImporter and Type properties in TypeStubInfo.
* SoapMessage.cs: little fix.
2003-09-14 Lluis Sanchez Gual <lluis@ximian.com>
* SoapDocumentationHandler.cs: Added support for on-the-fly proxy
code generation in documentation pages.
2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: Added support for bare parameter style. Fixed some defaults.
2003-09-01 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: In TypeStubInfo, added Documentation field.
2003-07-28 Lluis Sanchez Gual <lluis@ximian.com>
* HttpSoapWebServiceHandler.cs:
* Methods.cs: Added SoapBindingStyle, SoapBindingUse, InputMembersMapping
and OutputMembersMapping properties in MethodStubInfo.
Use default value defined in TypeStubInfo for RequestNamespace,
ResponseNamespace and other properties.
Added class BindingInfo to store information about class bindings.
In TypeStubInfo added SoapBindingStyle, DefaultBinding, Methods and
Bindings properties.
* SoapRpcMethodAttribute.cs: Use WebServiceAttribute.DefaultNamespace constant
instead of hardcoded namespace name.
* WebServiceHandlerFactory.cs: Create new SoapDocumentationHandler for
documentation requests.
* SoapDocumentationHandler.cs: new handler that generates WS documentation.
2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
* WebServiceHandler.cs: Fixed Invoke(). ParameterInfo.Position is now
zero-based, like in MS.NET.
2003-07-16 Lluis Sanchez Gual <lluis@ximian.com>
* SoapHttpClientProtocol.cs: Removed debug WriteLine.
2003-07-10 Lluis Sanchez Gual <lluis@ximian.com>
* HttpSoapWebServiceHandler.cs: MS puts the soap action in quotation marks??
Fix for this case.
* SoapHttpClientProtocol.cs: Implemented support for asynchronous calls
(BeginInvoke and EndInvoke).
2003-07-09 Lluis Sanchez Gual <lluis@ximian.com>
* SoapHttpClientProtocol.cs, HttpSoapWebServiceHandler.cs, Methods.cs:
Added support for soap extensions. Moved some code to
WebServiceHelper. Implemented support for the two types of RoutingStyle. Added support
for In and Out headers. Improved management of exceptions.
* SoapClientMessage.cs: code to retrieve soap headers moved to SoapMessage.
* SoapExtension.cs: Added methods for getting and creating soap extensions.
* SoapMessage.cs: Added methods for getting and assigning headers to an object.
* SoapServerMessage.cs: Added setter for MethodStubInfo. Other minor fixes.
* WebServiceHandler.cs: Added support for In and Out headers. Fixed management of exceptions.
* WebServiceHandlerFactory.cs: Check if the request protocol is supported.
* WebServiceHelper.cs: Added method for reading a soap request.
2003-07-04 Lluis Sanchez Gual <lluis@ximian.com>
* LogicalMethodInfo.cs: Fixed Invoke method. If return type is void,
then the result object array only contain output parameters.
* Methods.cs: In class MethodStubInfo, added support from some server properties
taken from WebMethodAttribute. Now MethodStubInfo can be created without SoapDocument*
or SoapRpc* attributes, in which case takes default values from TypeStubInfo.
Added method for getting header info.
In class Fault: added constructor for creating a fault from a SoapException.
In class TypeStubInfo: new way to manage serializers for headers. Now it is possible to
get a header using a name and namespace (used when deserializing).
* SoapHttpClientProtocol.cs: moved WriteSoapEnvelope method to WebServiceHelper (so it can be shared).
Also moved other serialization stuff to WebServiceHelper.
* SoapMessage.cs: Added some convenient constructors and internal properties.
Implemented GetOutParameterValue and GetReturnValue.
* SoapServerMessage.cs: Implemented.
* WebServiceHandler.cs: Implemented method Invoke.
* WebServiceHandlerFactory.cs: Basic implementation.
* WebServiceHelper.cs: Added. Has some methods shared between client and server classes.
* HttpSoapWebServiceHandler.cs: Added. IHttpHandler implementation for HttpSoap requests.
2003-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWebClientProtocol.cs: handle cookies if the request is a
HttpWebRequest. It gets the cookies set in the response and sends them
on subsequent requests.
* SoapHttpClientProtocol.cs:
(GetWebRequest): just calls the base method.
(SendRequest): set the method here.
(Invoke): call GetWebResponse instead of request.GetResponse.
* WebClientProtocol.cs:
(GetWebRequest): set some properties of the request.
(GetWebResponse): if we get a WebException containing a response, return
that as the response and ignore the exception.
(GetWebResponse (req, async)): only call EndGetResponse.
2003-06-14 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: Added information about headers in MethodStubInfo. Added cache of serializers
in TypeStubInfo so serializers for headers they can be shared by several methods.
* SoapClientMessage.cs: Headers added in the constructor.
* SoapMessage.cs: Added header list initialization.
* SoapHttpClientProtocol.cs: Added support soap headers.
2003-06-13 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: Added serializer to MethodStubInfo for deserializing faults.
* SoapHttpClientProtocol.cs: Added support for faults.
2003-06-10 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: removed handler for UnknownNode event
2003-06-05 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: added support for encoded format
2003-06-01 Miguel de Icaza <miguel@ximian.com>
* Methods.cs (MethodStubInfo): If creating an RPC call, pass an
optional XmlElementAttribute with the namespace set to null; Use
this on each element of the request and response serializers.
(MakeRequestSerializer, MakeResponseSerializer): Use the empty
element for the return values.
* SoapRpcMethodAttribute.cs: Drop the default name on the
SoapRpcMethodAttribute, it was incorrectly given a default name.
2003-05-30 Miguel de Icaza <miguel@ximian.com>
* Methods.cs (MethodStubInfo): Start support for RPC style as well
as Literal style. Take an object instead of a
SoapDocumentMethodAttribute, and allow the value to be also a
SoapRpcMethodAttribute. Pull data from both.
Kill SoapBindingUse, we only use this during validation.
Turn out Google uses RPC/Literal, and its a good demo.
(MakeResponseSerializer): OneWay is not the only
condition to catch; Also void return types are not required to
have a response.
(MakeRequestSerializer): InParameters *might* be ref parameters,
deal with that here too.
Add some debugging code for tracking down missing implementation
details in serialization creation.
(MakeResponseSerializer): DUH. Use the
ResponseName/ResponseNamespace for the member import, not the
RequestName and RequestNamespace. The bugs of cut-and-paste.
2003-05-29 Miguel de Icaza <miguel@ximian.com>
* SoapHttpClientProtocol.cs (CreateMessage): Kill. Move
functionality to Invoke.
(Invoke): Use new TypeStubInfo/MethodStubInfo instead.
* SoapClientMessage.cs: Drop old mechanism, use MethodStubInfo instead.
* Methods.cs: New file. Contains the managed for TypeStubs and
MethodInfoStubs.
A MethodInfoStub contains the serializers we use for the SOAP
request.
* SoapClientMessage.cs: Drop parameters from the clientmessage, it
does not belong here. Drop oneway, we canextract that from the
SoapDocumentMethodAttribute class that we pass.
2003-05-28 Miguel de Icaza <miguel@ximian.com>
* LogicalMethodInfo.cs (Create): Implement begin/end method
pairing.
(Name): Implement.
(EndMethodInfo): Always return end_method_info.
2003-04-30 Miguel de Icaza <miguel@ximian.com>
* SoapHttpClientProtocol.cs: Flag the methods in the chain that
gets the caller method as non-inlineable.
2003-04-29 Miguel de Icaza <miguel@ximian.com>
* SoapHttpClientProtocol.cs (CreateMessage): Extract information
from the method to be called.
* SoapDocumentMethodAttribute.cs: Do not initialize all the fields
on the attribute at bootstrap, for default values, just compute
them when queried.
* SoapMessage.cs (SetStage): New internal method, used to register
the stage as we move along the soap pipeline.
* LogicalMethodInfo.cs: Most of this is implemented. Its only
missing a few bits in the Create() method.
* SoapHttpClientProtocol.cs: Begin implementation of Invoke, which
lead to other dependencies to be implemented.
* LogicalMethodInfo.cs: Mostly complete. It is only missing the
async features (BeginInvoke/EndInvoke) on a LogicalMethodInfo.
* WebClientProtocol.cs (GetWebRequest): Track the web request, so
we can abort it later.
(Abort): Call abort on the underlying transport.
2002-08-24 Tim Coleman <tim@timcoleman.com>
* HttpServerProtocol.cs:
* WebServiceHandler.cs:
Some commented code added, from analysing
an exception trace.
* MimeReturnWriter.cs:
* XmlReturnWriter.cs:
New stubs added.
2002-08-23 Tim Coleman <tim@timcoleman.com>
* ServerProtocol.cs:
* SoapServerProtocol.cs:
More cleanup, comparison with class status.
* WebServiceHandler.cs:
* HttpServerProtocol.cs:
New stubs added.
2002-08-15 Tim Coleman <tim@timcoleman.com>
* ServerProtocol.cs:
* SoapServerProtocol.cs:
Some more implementation.
2002-08-06 Tim Coleman <tim@timcoleman.com>
* ServerProtocol.cs:
Add new class as implied by class statuc page.
SoapServerProtocol is derived from this.
* SoapServerProtocol.cs:
Change base class to ServerProtocol. Add some
properties shown by class status page.
* SoapClientMethod.cs:
This class should not be sealed. Add some
fields shown by the class status page.
2002-07-25 Tim Coleman <tim@timcoleman.com>
* SoapClientMethod.cs:
* SoapServerProtocol.cs:
Add new internal classes as discovered.
* SoapClientMessage.cs:
* SoapMessage.cs:
* SoapServerMessage.cs:
* WebClientAsyncResult.cs:
Add internal constructor, as found on class
status page; modify some properties.
2002-07-23 Tim Coleman <tim@timcoleman.com>
* SoapException.cs: modified constructors to
call base class correctly.
* WebClientAsyncResult: some implementation
2002-07-23 Tim Coleman <tim@timcoleman.com>
* HttpGetClientProtocol.cs:
* HttpPostClientProtocol.cs
Implemented the GetWebRequest method
* HttpSimpleClientProtocol:
Some implementation of the EndInvoke method
* HttpWebClientProtocol.cs:
Set the UserAgent string appropriately
Implemented the GetWebRequest method
Implemented the GetWebResponse methods
* SoapHttpClientProtocol.cs:
Removed unused fields
Implemented the GetWebRequest method
* SoapMessage.cs:
Implemented the EnsureStage method
* WebClientProtocol.cs:
Added a static constructor to construct the cache
Implemented the Abort method
Implemented the AddToCache, GetFromCache methods
Implemented the GetWebRequest method
Implemented the GetWebResponse methods
2002-07-23 Tim Coleman <tim@timcoleman.com>
* LogicalMethodTypes.cs:
* SoapHeaderDirection.cs:
* SoapMessageStage.cs:
* SoapParameterStyle.cs:
* SoapServiceRoutingStyle.cs:
Explicitly define values in enum to match
.NET.
* SoapMessage.cs:
Removed constructor which should not be present.
* SoapException.cs:
Made protected fields private as they should
be.
* SoapHeaderException.cs:
Modifications to constructors to propertly
call base class constructor
2002-07-22 Tim Coleman <tim@timcoleman.com>
* SoapHeaderException.cs:
Fixed name error in constructor
* SoapUnknownHeader.cs:
Added reference to System.Xml.Serialization
2002-07-22 Tim Coleman <tim@timcoleman.com>
* SoapHeaderException.cs:
New file added
2002-07-22 Tim Coleman <tim@timcoleman.com>
* AnyReturnReader.cs:
* HtmlFormParameterReader.cs :
* HtmlFormParameterWriter.cs :
* HttpGetClientProtocol.cs :
* HttpMethodAttribute.cs :
* HttpPostClientProtocol.cs :
* HttpSimpleClientProtocol.cs :
* HttpWebClientProtocol.cs :
* LogicalMethodInfo.cs :
* LogicalMethodTypes.cs :
* MatchAttribute.cs :
* MimeFormatter.cs :
* MimeParameterReader.cs :
* MimeParameterWriter.cs :
* MimeReturnReader.cs :
* NopReturnReader.cs :
* PatternMatcher.cs :
* SoapClientMessage.cs :
* SoapDocumentMethodAttribute.cs :
* SoapDocumentServiceAttribute.cs :
* SoapException.cs :
* SoapExtension.cs :
* SoapExtensionAttribute.cs :
* SoapHeader.cs :
* SoapHeaderAttribute.cs :
* SoapHeaderCollection.cs :
* SoapHeaderDirection.cs :
* SoapHttpClientProtocol.cs :
* SoapMessage.cs :
* SoapMessageStage.cs :
* SoapParameterStyle.cs :
* SoapRpcMethodAttribute.cs :
* SoapRpcServiceAttribute.cs :
* SoapServerMessage.cs :
* SoapServiceRoutingStyle.cs :
* SoapUnknownHeader.cs :
* TextReturnReader.cs :
* UrlEncodedParameterWriter.cs :
* UrlParameterReader.cs :
* UrlParameterWriter.cs :
* ValueCollectionParameterReader.cs :
* WebClientAsyncResult.cs :
* WebClientProtocol.cs :
* WebServiceHandlerFactory.cs :
* XmlReturnReader.cs :
Add missing methods and attributes to make as few missing
things as possible in this namespace. This is from the
project status page.
2002-07-20 Tim Coleman <tim@timcoleman.com>
* AnyReturnReader.cs:
* HtmlFormParameterReader.cs:
* HtmlFormParameterWriter.cs:
* HttpGetClientProtocol.cs:
* HttpMethodAttribute.cs:
* HttpPostClientProtocol.cs:
* HttpSimpleClientProtocol.cs:
* HttpWebClientProtocol.cs:
* MatchAttribute.cs:
* MimeFormatter.cs:
* MimeParameterReader.cs:
* MimeParameterWriter.cs:
* MimeReturnReader.cs:
* NopReturnReader.cs:
* PatternMatcher.cs:
* SoapClientMessage.cs:
* SoapDocumentMethodAttribute.cs:
* SoapDocumentServiceAttribute.cs:
* SoapException.cs:
* SoapExtensionAttribute.cs:
* SoapExtension.cs:
* SoapHeaderAttribute.cs:
* SoapHeaderCollection.cs:
* SoapHeader.cs:
* SoapHeaderDirection.cs:
* SoapHttpClientProtocol.cs:
* SoapMessage.cs:
* SoapMessageStage.cs:
* SoapParameterStyle.cs:
* SoapRpcMethodAttribute.cs:
* SoapRpcServiceAttribute.cs:
* SoapServerMessage.cs:
* SoapServiceRoutingStyle.cs:
* SoapUnknownHeader.cs:
* TextReturnReader.cs:
* UrlEncodedParameterWriter.cs:
* UrlParameterReader.cs:
* UrlParameterWriter.cs:
* ValueCollectionParameterReader.cs:
* WebClientAsyncResult.cs:
* WebClientProtocol.cs:
* WebServiceHandlerFactory.cs:
* XmlReturnReader.cs:
Added new stubbs and some implementation
* LogicalMethodTypes.cs:
Added [Serializable] attribute which was missing.
2002-07-19 Tim Coleman <tim@timcoleman.com>
* ChangeLog:
* LogicalMethodInfo.cs:
* LogicalMethodTypes.cs:
Add required classes to maek System.Web.Services.Description
buildable.
|