Commit Graph
159 Commits
Author SHA1 Message Date
Atsushi Eno ba9c7395e0 2006-11-15 Atsushi Enomoto <[email protected]>
* WebReference.cs : added missing .ctor().

	* WebReferenceTest.cs : added new test (so minor).

	* System.Web.Services_test.dll.sources : added WebReferenceTest.cs.


svn path=/trunk/mcs/; revision=67905
2006-11-15 12:40:39 +00:00
Atsushi Eno 0b883c012e 2006-11-15 Atsushi Enomoto <[email protected]>
* WebReferenceOptionsSerializer.cs :
	  (#if NET_2_0) oops, I did it again :-(


svn path=/trunk/mcs/; revision=67891
2006-11-15 08:45:38 +00:00
Atsushi Eno e7ab80b08f 2006-11-15 Atsushi Enomoto <[email protected]>
* web-reference.genxs : fixed <reader> -> <writer>.
	* WebReferenceOptionsSerializer.cs : regenerated.


svn path=/trunk/mcs/; revision=67888
2006-11-15 07:32:07 +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 e7ac581148 2006-11-14 Atsushi Enomoto <[email protected]>
* WebReferenceOptionsSerializer.cs : oops, surrounding #if NET_2_0
	  is required when it is regenerated.


svn path=/trunk/mcs/; revision=67864
2006-11-14 17:52:58 +00:00
Atsushi Eno ab2f11f5d9 2006-11-14 Atsushi Enomoto <[email protected]>
* WebReferenceOptions.cs : actually Read() raises invalid operation
	  when it raises an error.

	* WebReferenceOptionsTest.cs :
	  Read() actually causes invalid operation.


svn path=/trunk/mcs/; revision=67863
2006-11-14 17:51:15 +00:00
Atsushi Eno b6ec9e0276 2006-11-14 Atsushi Enomoto <[email protected]>
* web-reference.xsd : fixed namespace URI.
	* web-reference.genxs : genxs file.
	* WebReferenceOptionsSerializer.cs : new file, generated by genxs.
	* WebReferenceOptions.cs : implemented Read().

	* WebReferenceOptionsTest.cs :
	  added test for Read(). Fixed namespace URI.

	* System.Web.Services.dll.sources :
	  added WebReferenceOptionsSerializer.cs.


svn path=/trunk/mcs/; revision=67861
2006-11-14 17:43:32 +00:00
Atsushi Eno a375178906 2006-11-14 Atsushi Enomoto <[email protected]>
* System.Web.Services.dll.sources : added WebReferenceOptions.cs.
	* System.Web.Services_test.dll.sources :
	  added WebReferenceOptionsTest.cs.
	* Makefile: added web-reference.xsd to resources and dist files.

	* ServiceDescriptionImportStyle.cs : added XmlEnum attributes in
	  2.0 profile.
	* WebReferenceOptions.cs : new 2.0 class.
	* web-reference.xsd : new resource for WebReferenceOptions.Schema.

	* WebReferenceOptionsTest.cs : new test.


svn path=/trunk/mcs/; revision=67849
2006-11-14 15:10:23 +00:00
Atsushi Eno ce238d30c3 2006-11-14 Atsushi Enomoto <[email protected]>
* ServiceDescription.cs : add [XmlIgnore] to ValidationWarnings.
	  (yes, it is a collection, thus we need explicit attribute.)


svn path=/trunk/mcs/; revision=67832
2006-11-14 10:32:22 +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
Atsushi Eno 327dbbefde 2006-11-14 Atsushi Enomoto <[email protected]>
* wsdl-1.1.xsd : imported from the spec site (schemas.xmlsoap.org)
	  to be used for ServiceDescription.Schema.
	* ServiceDescription.cs : added Schema property and validating Read() 
	  overloads.

	* ServiceDescriptionTest.cs : added test for invalid Read() inputs.

	* Makefile : added *.wsdl to the build.
	  Added wsdl and genxs to EXTRA_DISTFILES.


svn path=/trunk/mcs/; revision=67815
2006-11-14 07:33:56 +00:00
Atsushi Eno 9c010024ad 2006-11-07 Atsushi Enomoto <[email protected]>
* ServiceDescriptionSerializerBase2.cs :
	  sync with sys.xml.serialization API updates.


svn path=/trunk/mcs/; revision=67474
2006-11-07 18:17:19 +00:00
Ankit Jain 818f5b9e6b * ServiceDescriptionSerializerBase2.cs: Mark classes as internal.
svn path=/trunk/mcs/; revision=66984
2006-10-25 23:08:41 +00:00
Ankit Jain d743289afb Fix incorrect ChangeLog entry in the previous commit.
svn path=/trunk/mcs/; revision=65041
2006-09-07 08:54:50 +00:00
Ankit Jain 907ce066d1 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (Ctor): New.

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

	* ServiceDescriptionTest.cs (Ctor): New.


svn path=/trunk/mcs/; revision=65040
2006-09-07 08:52:33 +00:00
Vladimir Krasnov 171d7b2395 * System.Web.Services20.vmwcsproj: added ServiceDescriptionSerializerBase2.cs for 2.0
* ServiceDescriptionSerializerBase2.cs: inserted TARGET_JVM for not supported class

svn path=/trunk/mcs/; revision=64993
2006-09-06 11:14:12 +00:00
Ankit Jain 9df1ff50f2 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (Namespaces): New.

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

	* wsdl.genxs: Remove readerhooks for "unknownAttribute" and
	"attributes".
	* ServiceDescription.cs (ServiceDescription.AddUnknownAttribute):
	(ServiceDescription.SetExtensibleAttributes): Remove.
	* ServiceDescriptionSerializerBase.cs: Regenerated with genxs (for
	!NET_2_0 profile)
	* ServiceDescriptionSerializerBase2.cs: Generated with genxs2 (for
	NET_2_0 profile)

In class/System.Web.Services:

	* System.Web.Services.dll.sources: Add
	ServiceDescriptionSerializerBase2.cs


svn path=/trunk/mcs/; revision=64937
2006-09-05 13:41:57 +00:00
Lluis Sanchez 3327754d83 svn path=/trunk/mcs/; revision=64924 2006-09-05 11:31:58 +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
Ankit Jain 21e5ac52b3 * OperationFlow.cs: Remove [Serializable].
svn path=/trunk/mcs/; revision=64920
2006-09-05 08:58:55 +00:00
Ankit Jain ef838e3123 * DocumentableItem.cs (DocumentableItem.Namespaces): Add missing NET_2_0
property.

svn path=/trunk/mcs/; revision=64917
2006-09-05 07:36:05 +00:00
Konstantin Triger dc8197691c * ServiceDescriptionReflector.cs: remove CONFIGURATION_2_0 #if since NET_2_0
implies it.
* ServiceDescription.cs: Added TARGET_JVM to workaround lack of TARGET_JVM
		support for 'new T()' in generics.

svn path=/trunk/mcs/; revision=64227
2006-08-23 07:57:52 +00:00
Konstantin Triger 7d63f4b2eb * ServiceDescriptionCollection.cs: refactoring for Add(), removing using of
ServiceDescriptionImporter for java profile as there is no support for
	code generation.

svn path=/trunk/mcs/; revision=64126
2006-08-21 07:00:53 +00:00
Atsushi Eno b3cbbff9ce 2006-07-24 Atsushi Enomoto <[email protected]>
In class/System.XML:
	* System.Xml.dll.sources : added XmlMappingAccess.

	* XmlMappingAccess.cs : new type in 2.0 RTM.
	* XmlCodeExporter.cs, SoapCodeExporter.cs,
	  MapCodeGenerator.cs,
	  XmlSchemaImporter.cs, SoapSchemaImporter.cs, SchemaImporter.cs,
	  SchemaImporterExtension.cs, SchemaImporterExtensionCollection.cs,
	  XmlMemberMapping.cs, XmlSerializationReader.cs :
	  several 2.0 API fixes from betas to RTM.

	In class/System.Web.Services:
	* ProtocolImporter.cs, ServiceDescriptionImporter.cs :
	  some 2.0 API fixes from betas to RTM.

	In tools/wsdl:
	* MonoWSDL2.cs : 2.0 API fixes from beta2 to RTM.


svn path=/trunk/mcs/; revision=62910
2006-07-24 10:50:58 +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
Ankit Jain 9a50adef15 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (Extensions) New test.
	(CheckExtensions):
	(CheckXmlElement): New. Helper methods.
	* test.wsdl: Test wsdl.

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

	* wsdl.genxs: Call ReadExtension for all unknown elements.
	* ServiceDescription.cs (ServiceDescription.ReadExtension): Add
	XmlDocument param. For NET_2_0, add any elements with no corresponding
	extensions to the DocumentableItem.Extensions property.
	(ServiceDescriptionSerializer.Serialize): Use
	WriteRoot_ServiceDescription instead of WriteTree.
	(ServiceDescriptionSerializer.Deserialize): Use
	ReadRoot_ServiceDescription instead of ReadTree.
	* ServiceDescriptionSerializerBase.cs: Regenerate.

svn path=/trunk/mcs/; revision=60216
2006-05-03 11:04:36 +00:00
Ankit Jain f32b08895a * OperationMessage.cs (Extensions): Remove, incorrectly added in earlier
commit.
* OperationInput.cs (Extensions):
* OperationOutput.cs (Extensions):
* OperationFault.cs (Extensions): Override and implement missing property.

svn path=/trunk/mcs/; revision=59993
2006-04-27 17:16:09 +00:00
Ankit Jain ff58a2de2c * ServiceDescriptionSerializerBase.cs (ServiceDescriptionWriterBase):
Make it internal.

svn path=/trunk/mcs/; revision=59984
2006-04-27 15:29:35 +00:00
Ankit Jain 8e24a975c8 In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (ExtensibleAttributes): New test.

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

	* DocumentableItem.cs (ExtensibleAttributes):
	(Extensions): Add missing NET_2_0 properties.
	* Port.cs:
	* OperationBinding.cs:
	* MessagePart.cs
	* Binding.cs:
	* Types.cs:
	* Service.cs:
	* OperationMessage.cs:
	* Message.cs: 
	* Import.cs: 
	* Operation.cs:
	* PortType.cs: Override and implement Extensions property. Add
	XmlFormatExtensionPoint attribute.

	* MessageBinding.cs: Abstract Extensions property is not present in
	NET_2_0.

	* wsdl.genxs: Update to process unknown attributes as ExtensibleAttributes in NET_2_0.
	* ServiceDescriptionSerializerBase.cs: Regenerated from wsdl.genxs

	* ServiceDescription.cs (ServiceDescription.AddUnknownAttribute): New. Add attribute to
	attributes collection.
	(ServiceDescription.SetExtensibleAttributes): Set DocumentableItem.ExtensibleAttributes
	property.

	* ServiceDescriptionFormatExtensionCollection.cs
	(ServiceDescriptionFormatExtensionCollection.SetParent): Set only if
	value is a ServiceDescriptionFormatExtension type object.


svn path=/trunk/mcs/; revision=59981
2006-04-27 14:26:06 +00:00
Vladimir Krasnov 289ec16d51 ServiceDescription.cs: removed TARGET_JVM directive from serializer member
svn path=/trunk/mcs/; revision=57861
2006-03-12 11:13:05 +00:00
Chris Toshok c793de4406 2006-01-04 Chris Toshok <[email protected]>
* ExtensionManager.cs: add CONFIGURATION_2_0 stuff.

	* ServiceDescriptionReflector.cs: add CONFIGURATION_2_0 stuff.


svn path=/trunk/mcs/; revision=55078
2006-01-04 21:15:13 +00:00
Lluis Sanchez 9c55ed023c 2005-12-07 Lluis Sanchez Gual <[email protected]>
* ProtocolImporter.cs: nullify message fields before processing a
	new method.
	* SoapProtocolImporter.cs: Only use the wrapped format if both the
	input and output messages specify that format. If one of them is not,
	then use bare format. This partially fixes bug #75019.


svn path=/trunk/mcs/; revision=54041
2005-12-07 14:52:57 +00:00
Atsushi Eno d1e3ef0cf8 2005-10-05 Atsushi Enomoto <[email protected]>
* wsdl.genxs, ServiceDescriptionSerializerBase.cs : dependent fix on
	  XmlSchema.Read(). Fixed bug #76311.
	* ServiceDescription.cs : name is null by default otherwise it fails
	  to be written.

	* ServiceDescriptionTest.cs : new file (for part of bug #76311).

	* System.Web.Services_test.dll.sources : added ServiceDescriptionTest.cs


svn path=/trunk/mcs/; revision=51260
2005-10-05 11:49:57 +00:00
Ilya Kharmatsky 44b8f90341 svn path=/trunk/mcs/; revision=49276 2005-09-01 16:00:29 +00:00
Gert Driesen 5f082e211b * DocumentableItem.cs: DocumentationElement is also available in .NET
1.1.
* MimeMultipartRelatedBinding.cs: Changed XmlElement name of Parts
property to match MS.NET.
* OperationMessageCollection.cs: Removed GetKey override to match
MS.NET.
* ServiceDescriptionImportWarnings.cs: SchemaValidation and
WsiConformance should only be exposed in 2.0 profile.
* ServiceDescriptionFormatExtension.cs: Parent should not be ignored
on 2.0 profile.

svn path=/trunk/mcs/; revision=48381
2005-08-15 06:41:30 +00:00
Lluis Sanchez cb376b7187 2005-06-14 Lluis Sanchez Gual <[email protected]>
* SoapProtocolReflector.cs: Set the part name when using bare encoded format.
	* ServiceDescriptionFormatExtensionCollection.cs: Use IsInstanceOfType instead
	of Type.IsAssignableFrom when possible.


svn path=/trunk/mcs/; revision=45940
2005-06-14 09:29:46 +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 dd34085ee0 Perform correct name encoding
svn path=/trunk/mcs/; revision=45434
2005-06-05 09:14:27 +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 d63462024a 2005-04-11 Lluis Sanchez Gual <[email protected]>
* ServiceDescriptionCollection.cs: Notify the parent importer
	  when a service description is added.
	* ServiceDescriptionImporter.cs: Register wsdl docs added to the
	  collection.


svn path=/trunk/mcs/; revision=42778
2005-04-11 09:37:04 +00:00
Lluis Sanchez 86d0c73ac2 2005-02-07 Lluis Sanchez Gual <[email protected]>
* HttpSimpleProtocolImporter.cs: Fixed warning.


svn path=/trunk/mcs/; revision=40243
2005-02-07 15:06:34 +00:00
Lluis Sanchez db35c27829 * HttpPostProtocolReflector.cs: Avoid generating an empty part attribute.
This was causing problems when importing the wsdl from MS Visual Studio.

svn path=/trunk/mcs/; revision=35822
2004-11-08 09:43:55 +00:00
Lluis Sanchez 1826bbddfb * ProtocolImporter.cs, HttpSimpleProtocolImporter.cs,
SoapProtocolImporter.cs: When appsettingurlkey is provided, generate
	  code that reads the url from the config file, instead of doing it at
	  the moment of generation. This fixes bug #68795.

svn path=/trunk/mcs/; revision=35333
2004-10-26 15:29:38 +00:00
Lluis Sanchez 802e76ff67 * HttpSimpleProtocolImporter.cs: Fix import of arrays of primitive types.
svn path=/trunk/mcs/; revision=34574
2004-09-30 21:05:31 +00:00
Lluis Sanchez 8faca29321 * ServiceDescriptionReflector.cs: Don't generate empty schemas.
svn path=/trunk/mcs/; revision=33942
2004-09-15 16:14:48 +00:00
Lluis Sanchez de4373d0c1 * ProtocolImporter.cs: Fixing the fix. The generated class must always
be added.

svn path=/trunk/mcs/; revision=33278
2004-09-03 13:43:56 +00:00
Lluis Sanchez 4856cb6a97 * BasicProfileChecker.cs: Some small fixes.
* FaultBinding.cs: Removed useless code.
	* HttpSimpleProtocolImporter.cs, SoapProtocolImporter.cs: Take into account
	  that now we may be generating code for a binding which is not referenced
	  by any port. In this case Port is null.
	* MessageBinding.cs: Properly set the parent operation binding.
	* OperationBinding.cs: When adding messages, set its parent property.
	* ProtocolImporter.cs: Support generation of proxies for wsdl documents
	  that do not have any Service entry. In this case, it now generates
	  a proxy for every binding.

svn path=/trunk/mcs/; revision=33157
2004-09-01 14:09:56 +00:00
Lluis Sanchez ce02668fc1 * BasicProfileChecker.cs: Implemented more rules.
* ConformanceChecker.cs: Added service list property in
	  ConformanceCheckContext.
	* MessagePart.cs: Added some convenient internal properties.
	* OperationMessageCollection.cs: Added property for getting the fault
	  message.
	* ServiceDescriptionFormatExtensionCollection.cs: The find method now
	  can return subclasses of the provided class.
	* WebServicesInteroperability.cs: Set the context schema when processing
	  a schema.

svn path=/trunk/mcs/; revision=32758
2004-08-24 14:34:19 +00:00
Lluis Sanchez f426954758 * BasicProfileChecker.cs, ConformanceChecker.cs,
WebServicesInteroperability.cs: Fixed build errors. I commited before
	  it was ready :-(.

svn path=/trunk/mcs/; revision=31571
2004-07-28 17:39:28 +00:00
Lluis Sanchez 52620b29fb * BasicProfileChecker.cs: Added checks for R2101, R2102, R2105, R2110, R2111
* ConformanceChecker.cs: Added check methods for schema objects.
	* WebServicesInteroperability.cs: Added checks for schema objects.

svn path=/trunk/mcs/; revision=31539
2004-07-28 09:07:44 +00:00