Commit Graph
196 Commits
Author SHA1 Message Date
Atsushi Eno 77c04f9df6 2006-12-01 Atsushi Enomoto <[email protected]>
* SoapDocumentationHandler.cs, SoapExtension.cs :
	  WebServicesSection.Instance -> .Current.


svn path=/branches/atsushi/mcs/; revision=68816
2006-12-01 09:17:08 +00:00
Atsushi Eno b6a1f08fbf 2006-11-30 Atsushi Enomoto <[email protected]>
* SoapHeaderMapping.cs : Now HeaderInfo became this type to implement
	  this class. Remapped some members (e.g. IsUnknownHeader -> Custom).
	* Methods.cs : so, split HeaderInfo from here.
	* SoapMessage.cs : Added alias HeaderInfo to SoapHeaderMapping.
	  Renamed some properties.

	* SoapProtocolReflector.cs : Added alias HeaderInfo to
	  SoapHeaderMapping. Renamed some properties.


svn path=/branches/atsushi/mcs/; revision=68741
2006-11-30 13:47:48 +00:00
Atsushi Eno 6a6b12bac7 2006-11-30 Atsushi Enomoto <[email protected]>
* ServerType.cs : Now LogicalTypeInfo became this type to implement
	  this class (and SoapTypeStubInfo to SoapServerType later).
	* TypeStubManager.cs : so, split LogicalTypeInfo from here.
	* XmlReturnReader.cs, XmlReturnWriter.cs, Methods.cs,
	  HttpSimpleTypeStubInfo.cs, HttpGetTypeStubInfo.cs,
	  HttpPostTypeStubInfo.cs : LogicalTypeInfo -> ServerType.

	* HttpSimpleProtocolReflector.cs : LogicalTypeInfo -> ServerType.


svn path=/branches/atsushi/mcs/; revision=68734
2006-11-30 07:06:59 +00:00
Atsushi Eno 3e61bece78 2006-11-30 Atsushi Enomoto <[email protected]>
* SoapHttpClientProtocol.cs : looks like (only) the last Text is used
	  instead of the first one in .net.


svn path=/branches/atsushi/mcs/; revision=68733
2006-11-30 06:59:32 +00:00
Atsushi Eno f165e59962 2006-11-28 Atsushi Enomoto <[email protected]>
* Fault12.cs : they should be all internal.


svn path=/branches/atsushi/mcs/; revision=68576
2006-11-28 12:45:15 +00:00
Atsushi Eno 58dd40cd09 2006-11-28 Atsushi Enomoto <[email protected]>
* System.Web.Services.dll.sources : added SOAP 1.2 Fault serializer
	  files (fault-12.genxs, Fault12.cs and Fault12Serializer.cs).

	* Fault12.cs, fault-12.genxs, Fault12Serializer.cs :
	  SOAP 1.2 Fault serializer and its generation sources.
	* SoapException.cs :
	  Fixed .ctor() whose initialization was incorrect.
	* WebServiceHelper.cs, Methods.cs, HttpSoapWebServiceHandler.cs,
	  SoapHttpClientProtocol.cs :
	  handle SOAP 1.2 Fault.


svn path=/branches/atsushi/mcs/; revision=68575
2006-11-28 12:38:22 +00:00
Atsushi Eno ac37997c74 merged from trunk.
svn path=/branches/atsushi/mcs/; revision=68566
2006-11-28 08:36:14 +00:00
Atsushi Eno f474d5fedd 2006-11-22 Atsushi Enomoto <[email protected]>
* SoapHeader.cs WebServiceHelper.cs SoapClientMessage.cs
	  HttpSoapWebServiceHandler.cs SoapHttpClientProtocol.cs:
	  SOAP 1.2 Envelope support has started. Though I will have to
	  change its internals significantly, so it is in my branch.


svn path=/branches/atsushi/mcs/; revision=68325
2006-11-22 07:41:11 +00:00
Atsushi Eno 158f738ef2 evil mixed line endings.
svn path=/branches/atsushi/mcs/; revision=68324
2006-11-22 07:38:16 +00:00
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
Konstantin Triger e7c3ed1a35 use correct public documented API (SendOrPost calls Send internally)
svn path=/trunk/mcs/; revision=64125
2006-08-21 06:51:02 +00:00
Konstantin Triger d36bf01c61 Java profile does not support code generation
svn path=/trunk/mcs/; revision=64124
2006-08-21 06:47:06 +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
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +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