Commit Graph
175 Commits
Author SHA1 Message Date
Atsushi Eno 16ab5ebfe1 2006-11-21 Atsushi Enomoto <[email protected]>
* WebClientProtocol.cs HttpWebClientProtocol.cs SoapException.cs
	  SoapHeaderException.cs HttpSimpleClientProtocol.cs
	  SoapHttpClientProtocol.cs SoapMessage.cs:
	  assorted cosmetic API fixes.


svn path=/trunk/mcs/; revision=68318
2006-11-22 02:09:45 +00:00
Atsushi Eno 7e83659d1e 2006-11-19 Atsushi Enomoto <[email protected]>
* HttpSoapWebServiceHandler.cs: on deserializing the request, do not 
	  close the input stream. Fixed bug #79954. Fix by Juan C. Olivares.


svn path=/trunk/mcs/; revision=68167
2006-11-20 01:46:43 +00:00
Atsushi Eno 335e814f08 2006-11-16 Atsushi Enomoto <[email protected]>
* 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.

	* System.Web.Services.dll.sources : added/removed/replaced 2.0 server
	  protocol classes in S.W.S.Protocols.


svn path=/trunk/mcs/; revision=67973
2006-11-16 05:49:19 +00:00
Atsushi Eno fa773d3e17 2006-11-15 Atsushi Enomoto <[email protected]>
* WebService.cs: minor API fixes (attributes).

	* ServiceDescriptionImporter.cs : API fix. Now we can use new
	  WebReferenceOptions.

	* DiscoveryReference.cs: FilenameFromUrl() is public.

	* SoapHeaderException.cs, SoapException.cs, SoapFaultSubcode.cs,
	  Soap12FaultCodes.cs : API fixes, mostly for SoapFaultSubCode.

	* MonoWSDL2.cs : 2.0 API fixes (use WebReferenceOptions)


svn path=/trunk/mcs/; revision=67882
2006-11-15 02:37:11 +00:00
Atsushi Eno 6aa92ee31b 2006-11-14 Atsushi Enomoto <[email protected]>
* System.Web.Services.dll.sources : removed obsolete WsiClaims.cs.

	* WebServiceBindingAttribute.cs, WebServiceAttribute.cs :
	  2.0 API fixes (WsiClaims -> WsiProfiles).
	* WsiClaims.cs : removed obsolete type.

	* ConformanceChecker.cs, WebServicesInteroperability.cs,
	  BasicProfileViolation.cs, BasicProfileChecker.cs:
	  2.0 API fixes (WsiClaims -> WsiProfiles).

	* SoapHttpClientProtocol.cs : 2.0 API fix (WsiClaims -> WsiProfiles).


svn path=/trunk/mcs/; revision=67831
2006-11-14 10:29:41 +00:00
Lluis Sanchez de9b6b8963 2006-09-06 Lluis Sanchez Gual <[email protected]>
* ValueCollectionParameterReader.cs, MimeFormatter.cs: Support enums in
	the http get and post protocols. Fixes bug #78461.


svn path=/trunk/mcs/; revision=65009
2006-09-06 15:05:03 +00:00
Lluis Sanchez ca8e1de4d8 svn path=/trunk/mcs/; revision=64989 2006-09-06 09:32:18 +00:00
Ankit Jain fb787a2e89 In class/System.Web.Services/System.Web.Services.Description:
* ServiceDescriptionImportWarnings.cs: Remove [Serializable].

In class/System.Web.Services/System.Web.Services.Protocols:

	* LogicalMethodTypes.cs:
	* SoapMessageStage.cs:
	* SoapServiceRoutingStyle.cs:
	* SoapHeaderDirection.cs:
	* SoapParameterStyle.cs:
	* SoapProtocolVersion.cs: Remove [Serializable].

svn path=/trunk/mcs/; revision=64921
2006-09-05 09:57:52 +00:00
Konstantin Triger 60829a9bba implemented WebClientProtocol.UseDefaultCredentials()
svn path=/trunk/mcs/; revision=64553
2006-08-30 13:51:51 +00:00
Chris Toshok 8a32087a28 In System.Web.Services.Description:
2006-06-08  Chris Toshok  <[email protected]>

	* ExtensionManager.cs: remove the CONFIGURATION_2_0 from ifdefs.
	NET_2_0 implies this now.

In System.Web.Services.Protocols:
2006-06-08  Chris Toshok  <[email protected]>

	* WebServiceHandlerFactory.cs: remove the CONFIGURATION_2_0 from
	ifdefs. NET_2_0 implies this now.

	* SoapExtension.cs: same.

	* SoapDocumentationHandler.cs: same.

In .:
2006-06-08  Chris Toshok  <[email protected]>

	* Makefile (LIB_MCS_FLAGS): remove the CONFIGURATION_2_0 define.
	NET_2_0 implies this now.


svn path=/trunk/mcs/; revision=61572
2006-06-08 14:48:28 +00:00
Vladimir Krasnov ce60d51d2c * 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

svn path=/trunk/mcs/; revision=58011
2006-03-15 12:21:09 +00:00
Vladimir Krasnov 8d7872790a * SoapServerMessage.cs: fixed SoapServerMessage constructors to remove quotes from SoapAction http header when initializing local action member
svn path=/trunk/mcs/; revision=58008
2006-03-15 11:55:41 +00:00
Vladimir Krasnov 03f437729c * HttpSoapWebServiceHandler.cs, SoapServerMessage.cs: fixed SoapMessage.ContentEncoding that used in ProcessMessage method in SoapExtension
svn path=/trunk/mcs/; revision=58001
2006-03-15 11:48:55 +00:00
Vladimir Krasnov 86d0162287 * TypeStubManager.cs: fixed type_to_manager member to be initialized per appdoamin (within TARGET_JVM block)
svn path=/trunk/mcs/; revision=57863
2006-03-12 13:19:35 +00:00
Vladimir Krasnov e91854472e * SoapDocumentationHandler.cs: TARGET_JVM blocks added to exclude not supported methods
svn path=/trunk/mcs/; revision=57862
2006-03-12 12:46:59 +00:00
Ben Maurer 4dfb170da8 2006-01-12 Ben Maurer <[email protected]>
* WebClientProtocol.cs: Add a 2.0 stub


svn path=/trunk/mcs/; revision=55473
2006-01-13 03:18:53 +00:00
Chris Toshok 06f7600e0c 2006-01-04 Chris Toshok <[email protected]>
* SoapDocumentationHandler.cs: add CONFIGURATION_2_0 stuff.


svn path=/trunk/mcs/; revision=55085
2006-01-04 22:34:44 +00:00
Chris Toshok adbcf03bfe 2006-01-04 Chris Toshok <[email protected]>
* WebServiceHandlerFactory.cs: add CONFIGURATION_2_0 stuff.

	* SoapExtension.cs: add CONFIGURATION_2_0 stuff.


svn path=/trunk/mcs/; revision=55079
2006-01-04 21:16:17 +00:00
Lluis Sanchez 5dba3ecc3a 2005-09-26 Lluis Sanchez Gual <[email protected]>
* LogicalMethodInfo.cs: GetCustomAttribute* does not return
	inherited attributes in MS.NET.


svn path=/trunk/mcs/; revision=50780
2005-09-26 15:43:49 +00:00
Gert Driesen 90f344c1bb * 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.

svn path=/trunk/mcs/; revision=48384
2005-08-15 06:50:56 +00:00
Gonzalo Paniagua Javier 20d5bbed44 2005-08-03 Gonzalo Paniagua Javier <[email protected]>
* SoapDocumentationHandler.cs: workaround for a bug in the HttpRequest
	QueryString property. Under MS, GetKey (0) yields null.


svn path=/trunk/mcs/; revision=47984
2005-08-03 23:13:55 +00:00
Konstantin Triger a9a7a2df35 Disposing the WebService instance after a WebMethod invocation
svn path=/trunk/mcs/; revision=46767
2005-06-30 13:29:37 +00:00
Lluis Sanchez a36b5dd3f7 2005-06-14 Lluis Sanchez Gual <[email protected]>
* 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.


svn path=/trunk/mcs/; revision=45941
2005-06-14 09:31:49 +00:00
Gonzalo Paniagua Javier 6cad24df33 2005-06-10 Gonzalo Paniagua Javier <[email protected]>
* 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.


svn path=/trunk/mcs/; revision=45744
2005-06-10 10:46:12 +00:00
Gonzalo Paniagua Javier 615bb6af02 2005-06-09 Gonzalo Paniagua Javier <[email protected]>
* 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.


svn path=/trunk/mcs/; revision=45723
2005-06-09 23:23:28 +00:00
Kornél Pál e24ffec772 WebServiceHandlerFactory.cs: Throw InvalidOperationException instead of returning DummyHttpHandler when the request format is not supported.
svn path=/trunk/mcs/; revision=45599
2005-06-07 20:10:20 +00:00
Kornél Pál a3c56b0e95 Added support for HttpPostLocalhost and HttpSoap12
svn path=/trunk/mcs/; revision=45483
2005-06-06 12:28:22 +00:00
Konstantin Triger 48f31f7e1e Close WebResponse to free resources
svn path=/trunk/mcs/; revision=45432
2005-06-05 09:04:32 +00:00
Konstantin Triger c84831d044 moving static fields to AppDomain in Java builds
svn path=/trunk/mcs/; revision=45431
2005-06-05 07:38:47 +00:00
Lluis Sanchez 3c78e87029 2005-02-07 Lluis Sanchez Gual <[email protected]>
* XmlReturnWriter.cs, SoapDocumentationHandler.cs: Use utf-8 encoding
	when generating xml responses, wsdl documents and schemas. This fixes
	bug #72202.


svn path=/trunk/mcs/; revision=40244
2005-02-07 15:13:09 +00:00
Lluis Sanchez f8e758fc44 2004-12-09 Lluis Sanchez Gual <[email protected]>
* 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.


svn path=/trunk/mcs/; revision=37485
2004-12-09 13:50:52 +00:00
Lluis Sanchez de5a70b4dc 2004-12-09 Lluis Sanchez Gual <[email protected]>
* TypeStubManager.cs: Removed redundat hastable access.
	* SoapHttpClientProtocol.cs: Accept responses with ContentLength==0.
	This fixes bug #70310.


svn path=/trunk/mcs/; revision=37476
2004-12-09 10:40:03 +00:00
Gonzalo Paniagua Javier 8fc81b0190 2004-12-03 Gonzalo Paniagua Javier <[email protected]>
* SoapHttpClientProtocol.cs: dispose the StreamReader that wraps the
	response stream.


svn path=/trunk/mcs/; revision=36998
2004-12-03 09:54:10 +00:00
Lluis Sanchez ad31e6d9f6 * Methods.cs: Use the service namespace as the base for the soap action.
This fixes bug #60379.

svn path=/trunk/mcs/; revision=33941
2004-09-15 16:14:18 +00:00
Lluis Sanchez 532df5ab65 * HttpSoapWebServiceHandler.cs, WebServiceHandler.cs: Do not assign the
context to the service. It already gets it from HttpContext.Current.

svn path=/trunk/mcs/; revision=32815
2004-08-25 08:53:43 +00:00
Lluis Sanchez 08f98cbb46 * HttpSimpleClientProtocol.cs, HttpWebClientProtocol.cs,
SoapHttpClientProtocol.cs: Implemented support for the new async model.
	* InvokeCompletedEventArgs.cs: Implemented.

svn path=/trunk/mcs/; revision=31538
2004-07-28 09:07:00 +00:00
Lluis Sanchez 238f2ff322 * HttpWebClientProtocol.cs: Add received cookies to cookieContainer when
getting the response, do not wait for the next request to do it.

svn path=/trunk/mcs/; revision=31326
2004-07-21 12:42:15 +00:00
Lluis Sanchez e792c7c5cd * 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).

svn path=/trunk/mcs/; revision=31069
2004-07-13 10:16:10 +00:00
Lluis Sanchez 42281c4845 * 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.

svn path=/trunk/mcs/; revision=30972
2004-07-09 23:21:42 +00:00
Lluis Sanchez b5b5ac9edf * Methods.cs: When using RPC, ignore RequestElementName and MessageName,
and always uses the method name (MS.NET seems to do this).

svn path=/trunk/mcs/; revision=30735
2004-07-05 09:52:18 +00:00
Lluis Sanchez 2a5ca4ac29 * XmlReturnWriter.cs: Add XmlIncludes to the reflection importer when
reflecting the return type.

svn path=/trunk/mcs/; revision=30668
2004-07-02 13:57:28 +00:00
Lluis Sanchez 26c519a5c8 * 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.

svn path=/trunk/mcs/; revision=30627
2004-07-01 17:24:21 +00:00
Lluis Sanchez d3ce74361e * 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.

svn path=/trunk/mcs/; revision=30622
2004-07-01 14:11:28 +00:00
Lluis Sanchez e23c82103d * XmlReturnReader.cs, XmlReturnWriter.cs: Generate the serializer with
the root attribute taken from the method attributes.

svn path=/trunk/mcs/; revision=30106
2004-06-22 10:03:21 +00:00
Lluis Sanchez caa7ee9da6 * TypeStubManager.cs: Improved locking in GetLogicalTypeInfo().
* WebServiceHandler.cs: Removed unneded methods.

svn path=/trunk/mcs/; revision=29175
2004-06-10 09:09:38 +00:00
Lluis Sanchez 3e5c944d3c * LogicalMethodInfo.cs: Don't crash in GetCustomAttribute if the requested
attribute is not found.

svn path=/trunk/mcs/; revision=28693
2004-06-02 13:42:29 +00:00
Lluis Sanchez d939457bb9 2004-06-01 Gert Driesen <[email protected]>
* HttpSoapWebServiceHandler.cs: Removed unused variables.
	* SoapHeaderAttribute.cs: Added Obsolete attribute.

svn path=/trunk/mcs/; revision=28616
2004-06-01 08:58:32 +00:00
Lluis Sanchez 8934a37601 * SoapClientMessage.cs: Get the MethodInfo from the corresponding
SoapMethodStubInfo.

svn path=/trunk/mcs/; revision=27967
2004-05-24 14:03:37 +00:00
Gonzalo Paniagua Javier b53a254e78 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* SoapHttpClientProtocol.cs: when the response has a not acceptable
	status code, the WebException we throw has a status of ProtocolError.
	Fixes bug #58564.

svn path=/trunk/mcs/; revision=27543
2004-05-17 23:12:01 +00:00
Lluis Sanchez 797c6414c2 * LogicalMethodInfo.cs: Made EnableSession property internal.
svn path=/trunk/mcs/; revision=27186
2004-05-12 19:07:08 +00:00