Commit Graph
57 Commits
Author SHA1 Message Date
Rolf Bjarne Kvinge d3e516763f [System.Web.Services] Make sure we don't keep results forever when doing async requests. Fixes #2473. 2011-12-13 23:12:57 +01:00
Atsushi Eno 923d995925 2007-11-12 Atsushi Enomoto <[email protected]>
* SoapHttpClientProtocol.cs : compare content-type in case-
	  insensitive manner. Fixed bug #325277.


svn path=/trunk/mcs/; revision=89444
2007-11-12 05:03:44 +00:00
Miguel de Icaza 9a834a8eb1 2007-01-19 Atsushi Enomoto <[email protected]>
* System.Web.Services_test.dll.sources:
	  Added ServiceDescriptionImporterTest.cs.
	* Makefile : added test2.wsdl to EXTRA_DISTFILES.

2007-01-15  Gert Driesen  <[email protected]>

	* System.Web.Services_test.dll.sources: added SocketResponder.cs and
	SoapHttpClientProtocolTest.cs.

svn path=/trunk/mcs/; revision=71495
2007-01-22 23:56:37 +00:00
Atsushi Eno 2cf88c8d13 2006-12-21 Atsushi Enomoto <[email protected]>
* WebServiceHelper.cs :
	  added Soap12FaultToSoapException conversion method (copied from
	  SoapHttpClientProtocol.cs).
	  Added couple of switching fault code getter (by soap12 flag).
	* SoapMessage.cs: added IsSoap12 property to simplify SOAP 1.2
	  conditional code.
	* HttpSimpleServerProtocolFactory.cs, WebServiceHelper.cs,
	  HttpSoapWebServiceHandler.cs, SoapHttpClientProtocol.cs :
	  reflected all changes above. Switch 1.2 fault and 1.1 fault, and
	  simplify 1.2 switch.


svn path=/branches/atsushi/mcs/; revision=69894
2006-12-21 20:10:30 +00:00
Atsushi Eno 51c06f15ad 2006-12-21 Atsushi Enomoto <[email protected]>
* SoapHttpClientProtocol.cs : SOAP 1.2 client should allow text/xml
	  content type. Now bug #79985 is fixed here.


svn path=/branches/atsushi/mcs/; revision=69882
2006-12-21 19:05:09 +00:00
Atsushi Eno a9d9613853 2006-12-19 Atsushi Enomoto <[email protected]>
* SoapHttpClientProtocol.cs :
          Don't use HTTP header when SoapVersion is Soap12.
        * HttpSoapWebServiceHandler.cs :
          With SOAP 1.2 message we can only use Body content.
          Set correct Content-Type for SOAP 1.2 message.
        * Fault12.cs : added null check.
        * SoapClientMessage.cs :
          Set correct Content-Type for SOAP 1.2 message.
        * WebServiceHandlerFactory.cs :
          don't reject SOAP 1.2 protocol here.


svn path=/branches/atsushi/mcs/; revision=69710
2006-12-19 05:52:02 +00:00
Atsushi Eno 4b15457502 2006-12-15 Atsushi Enomoto <[email protected]>
* SoapProtocolImporter.cs : since Soap12Binding is derived from
	  SoapBinding, extra care in IsBindingSupported() is needed.

	* HttpSoapWebServiceHandler.cs,
	  SoapHttpClientProtocol.cs : support application/soap+xml.


svn path=/branches/atsushi/mcs/; revision=69521
2006-12-15 04:54:38 +00:00
Atsushi Eno 655dd67c31 2006-12-04 Atsushi Enomoto <[email protected]>
* WebService.cs : implemented SoapVersion as documented in MSDN.

	* SoapProtocolImporter.cs : added trivial IsSoapEncodingPresent().

	* AnyReturnReader.cs : not sure why, but the build must have been
	  broken, and now it is exposed.
	* SoapHttpClientProtocol.cs : added missing members, left as MonoTODO.


svn path=/branches/atsushi/mcs/; revision=68936
2006-12-04 10:20:11 +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 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 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
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
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
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 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
Konstantin Triger 48f31f7e1e Close WebResponse to free resources
svn path=/trunk/mcs/; revision=45432
2005-06-05 09:04:32 +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 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 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
Duncan Mak 58a0067567 Add MIT license to System.Web.Services.DLL
svn path=/trunk/mcs/; revision=30058
2004-06-21 18:30:28 +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 de7bdac611 * 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.

svn path=/trunk/mcs/; revision=27168
2004-05-12 14:25:07 +00:00
Lluis Sanchez 80f7efa5ae * 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.

svn path=/trunk/mcs/; revision=23855
2004-03-09 23:56:58 +00:00
Lluis Sanchez 0bf8cc59e9 * 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.

svn path=/trunk/mcs/; revision=23542
2004-02-27 17:32:58 +00:00
Lluis Sanchez ceb8ba178e * HttpSoapWebServiceHandler.cs, SoapHttpClientProtocol.cs: Do not use
indented format for requests and responses. SOAPAction header value
	  must be quoted (fix by Yaacov Akiba Slama).

svn path=/trunk/mcs/; revision=22345
2004-01-21 17:16:27 +00:00
Lluis Sanchez 2bc1f2ed46 * 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.

svn path=/trunk/mcs/; revision=20539
2003-11-27 16:47:17 +00:00
Lluis Sanchez 1b07d5ac23 * 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.

svn path=/trunk/mcs/; revision=20385
2003-11-24 15:02:41 +00:00
Gonzalo Paniagua Javier a713da6c38 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
* 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.

svn path=/trunk/mcs/; revision=20261
2003-11-20 06:11:16 +00:00
Gonzalo Paniagua Javier 015cf670d2 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
* SoapHttpClientProtocol.cs:
	* WebServiceHelper.cs: throw a WebException instead of an Exception.
	Fixes bug #51193.

svn path=/trunk/mcs/; revision=20258
2003-11-20 05:19:25 +00:00
Lluis Sanchez 875d805d53 * 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.

svn path=/trunk/mcs/; revision=19013
2003-10-14 00:50:40 +00:00
Lluis Sanchez 806e2a4821 * SoapHttpClientProtocol.cs: Replaced AsyncInfo by a new
SoapWebClientAsyncResult class derived from WebClientAsyncResult.
	* WebClientAsyncResult.cs: Removed unneeded members.

svn path=/trunk/mcs/; revision=18939
2003-10-12 23:09:33 +00:00
Lluis Sanchez 5d0e259a4e * 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.

svn path=/trunk/mcs/; revision=18575
2003-10-04 00:38:45 +00:00
Lluis Sanchez c8a7cd4755 * 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.

svn path=/trunk/mcs/; revision=18472
2003-10-01 15:22:05 +00:00
Lluis Sanchez 2e0bbe4953 * SoapHttpClientProtocol.cs: Removed debug WriteLine.
svn path=/trunk/mcs/; revision=16307
2003-07-16 14:39:46 +00:00
Lluis Sanchez 79e2f136e5 * HttpSoapWebServiceHandler.cs: MS puts the soap action in quotation marks??
Fix for this case.
	* SoapHttpClientProtocol.cs: Implemented support for asynchronous calls
	  (BeginInvoke and EndInvoke).

svn path=/trunk/mcs/; revision=16097
2003-07-10 14:25:18 +00:00
Lluis Sanchez 3f5448730c * 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.

svn path=/trunk/mcs/; revision=16057
2003-07-09 16:23:31 +00:00
Lluis Sanchez 311407acb2 * 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.

svn path=/trunk/mcs/; revision=15909
2003-07-04 01:30:56 +00:00
Gonzalo Paniagua Javier ae5983eb06 2003-06-21 Gonzalo Paniagua Javier <[email protected]>
* 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.

svn path=/trunk/mcs/; revision=15536
2003-06-21 15:42:13 +00:00
Lluis Sanchez 5fbb899cb0 * 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.

svn path=/trunk/mcs/; revision=15382
2003-06-14 14:38:01 +00:00
Lluis Sanchez 1b17c3d245 * Methods.cs: Added serializer to MethodStubInfo for deserializing faults.
* SoapHttpClientProtocol.cs: Added support for faults.

svn path=/trunk/mcs/; revision=15366
2003-06-13 15:30:58 +00:00
Miguel de Icaza d40e781521 First set of attempts to do RPC, but I need to prefix the method name only,
not the parameters.   So still confused.  Only needed for Google

2003-05-30  Miguel de Icaza  <[email protected]>

	* 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.

svn path=/trunk/mcs/; revision=15014
2003-05-31 00:47:21 +00:00
Miguel de Icaza 98a9809816 2003-05-30 Miguel de Icaza <[email protected]>
* Methods.cs (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.

svn path=/trunk/mcs/; revision=15013
2003-05-30 20:08:41 +00:00
Miguel de Icaza c668eb05ea 2003-05-30 Miguel de Icaza <[email protected]>
* Methods.cs (MakeResponseSerializer): DUH.  Use the
	ResponseName/ResponseNamespace for the member import, not the
	RequestName and RequestNamespace.  The bugs of cut-and-paste.

svn path=/trunk/mcs/; revision=15011
2003-05-30 19:03:12 +00:00
Miguel de Icaza a3508aac7a Thanks to Lluis' work on the XmlSerializer it is now possible to perform
a Soap invocation.

The result is still not handled though.

2003-05-29  Miguel de Icaza  <[email protected]>

	* 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.

svn path=/trunk/mcs/; revision=15003
2003-05-30 04:32:14 +00:00