Commit Graph
24 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Gonzalo Paniagua Javier 466c3edeaf 2010-02-15 Gonzalo Paniagua Javier <[email protected]>
* SoapDocumentationHandler.cs: use IndexOf() instead of LastIndexOf()
	when removing the querystring from the url.



svn path=/trunk/mcs/; revision=151754
2010-02-15 23:12:23 +00:00
Marek Habersack b6969f355f 2009-08-24 Marek Habersack <[email protected]>
* PageParser.cs: 2.0 profile takes advantage of the inputFile
	parameter to GetCompiledPageInstance. A check is made whether the
	file pointed to by this parameter is inside the application's
	virtual path and if not, the compilation request is assumed to
	refer to a fake location. Part of fix for bug #463813

2009-08-24  Marek Habersack  <[email protected]>

	* PageBuildProvider.cs: MapPath now takes a VirtualPath
	instance. Part of fix for bug #463813

	* BuildManager.cs: public APIs which take virtual path strings as
	their parameters got internal counterparts accepting a VirtualPath
	instance in place of string. Part of fix for bug #463813

	* GenericBuildProvider.cs:
	MapPath now takes a VirtualPath instance. Part of fix for bug
	#463813

2009-08-24  Marek Habersack  <[email protected]>

	* SoapDocumentationHandler.cs: get rid of the ugly fake virtual
	path hack when creating the helper page. Part of fix for bug
	#463813

2009-08-24  Marek Habersack  <[email protected]>

	* VirtualPath.cs: Added new constructor which takes virtual and
	physical paths as well as a boolean marking the instance as
	referring to a fake location. Part of fix for bug #463813

svn path=/trunk/mcs/; revision=140548
2009-08-24 20:34:57 +00:00
Arina Itkes b4c067c0cb TARGET_JVM: Restoring of the flow before 94231 revision for TARGET_JVM compilation.
svn path=/trunk/mcs/; revision=94234
2008-01-29 08:45:50 +00:00
Marek Habersack 9527079e54 2008-01-24 Marek Habersack <[email protected]>
* 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
2008-01-28 15:47:56 +00:00
Atsushi Eno 90c51b84d0 2007-11-09 Atsushi Enomoto <[email protected]>
* SoapDocumentationHandler.cs : handle 'schema' HTTP parameter like
	  "...blah.asmx?schema=MySchemaID". (Such URL does not work yet.)


svn path=/trunk/mcs/; revision=89317
2007-11-09 14:45:31 +00:00
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
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 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
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
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
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
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 28e68025c2 2004-05-11 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-05-11 12:18:20 +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 6992a6af1c SoapDocumentationHandler.cs: Added support for DISCO file generation.
svn path=/trunk/mcs/; revision=21455
2003-12-23 16:17:21 +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 cbec6fae55 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
* SoapDocumentationHandler.cs: don't close the response stream here
	to allow filtering.

svn path=/trunk/mcs/; revision=18846
2003-10-10 04:35:54 +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
Gonzalo Paniagua Javier d63b874209 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-10-03 04:06:25 +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 b5995f67d8 * SoapDocumentationHandler.cs: Added support for on-the-fly proxy
code generation in documentation pages.

svn path=/trunk/mcs/; revision=18082
2003-09-14 12:53:38 +00:00
Lluis Sanchez b0ebcda482 * 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.

svn path=/trunk/mcs/; revision=17692
2003-08-28 12:25:14 +00:00