* SoapDocumentationHandler.cs: use a fake virtual path to get the
WSDL help generator.
* WebServiceHandlerFactory.cs: use BuildManager.GetCompiledType
for the 2.0+ profile to get the handler type.
svn path=/trunk/mcs/; revision=94150
* WebServiceHandlerFactory.cs: WebServiceParser.GetCompiledType
must be passed a virtual path, not physical one. Fixes bug
#327809.
svn path=/trunk/mcs/; revision=86290
* 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-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
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
* 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.
svn path=/trunk/mcs/; revision=27092
* System.Web.Services.dll.sources: removed HttpGetWebServiceHandler and
HttpPostWebServiceHandler.
* System.Web.Services.Protocols/HttpGetWebServiceHandler.cs:
* System.Web.Services.Protocols/HttpPostWebServiceHandler.cs: removed.
* System.Web.Services.Protocols/HttpSimpleWebServiceHandler.cs: changed
ctor parameters and added EnableSession property.
* System.Web.Services.Protocols/WebServiceHandler.cs: added EnableSession
virtual property.
* System.Web.Services.Protocols/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.
svn path=/trunk/mcs/; revision=26782
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
* System.Web.Services.Configuration/WebServicesConfigurationSectionHandler.cs: keep the file name of the configuration file around for
wsdlHelpGenerator.
* System.Web.Services.Protocols/SoapDocumentationHandler.cs: it does not
generate the documentation page any more. GetDescription and GetSchemas
are now internal.
* System.Web.Services.Protocols/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.
svn path=/trunk/mcs/; revision=18539
* 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.
svn path=/trunk/mcs/; revision=17692
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
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