* class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs:
Extensions can be XmlElement or ServiceDescriptionFormatExtension.
* class/System.Web.Services/System.Web.Services.Description/ServiceDescription.cs:
(AddExtensionNamespaces): Likewise. Also, ignore namespaces from
XmlElement, as we retain and write them out as-is.
(WriteExtension): Emit the XmlElement as-is.
* class/System.Web.Services/Test/System.Web.Services.Description/ServiceDescriptionTest.cs:
Update to write out the wsdl also.
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller. I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.
With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2009-06-26 Robert Jordan <[email protected]>
* *.cs: Upgrade to new NUnit style.
In Test/System.Web.Services.Configuration:
2009-06-26 Robert Jordan <[email protected]>
* *.cs: Upgrade to new NUnit style.
In Test/System.Web.Services.Discovery:
2009-06-26 Robert Jordan <[email protected]>
* *.cs: Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136961
* BasicProfileChecker.cs : reimplemented R2305 that turned out to
be wrong on fixing bug #443095 (fixed).
* 443095.wsdl, WebServicesInteroperabilityTest.cs : added
new test for R2305 checker.
svn path=/trunk/mcs/; revision=121095
* BasicProfileChecker.cs : it does not really resolve relative URI in
<import> element. It caused error, which should be reported, but
.net ignores it. It must be LAMESPEC. Anyways added comments.
* WebServicesInteroperabilityTest.cs : new test. wsdl with <import>
should not result in an error.
* check-import.wsdl, check-import2.wsdl : test helper files.
* System.Web.Services_test.dll.sources :
added WebServicesInteroperabilityTest.cs.
* Makefile: updated EXTRA_DISTFILES.
svn path=/trunk/mcs/; revision=107006
* ServiceDescription.cs : fill RetrievalUrl by string.Empty
by default.
* ServiceDescriptionTest.cs : check RetrievalUrl before/after Read().
Sadly it does not provide the actual URL...
svn path=/trunk/mcs/; revision=107004
* ProtocolReflector.cs : reverted previous change, which caused
several regressions.
* TypeStubManager.cs : reverted 2007-12-11 change as it caused
several regressions.
* ServiceDescriptionReflectorTest.cs : mark Bug345448() NotWorking.
svn path=/trunk/mcs/; revision=96408
* Methods.cs: Fix for compatibility with .NET:
In .NET if SOAPAction is set to empty string it is regarded like
clearly specified with empty string.
2008-01-08 Atsushi Enomoto <[email protected]>
* ServiceDescriptionReflectorTest.cs : added test for empty SOAP
action.
svn path=/trunk/mcs/; revision=92427
* SoapHttpClientProtocolTest.cs: actually those tests fails on mono
on Windows, so mark them as Ignore (not only in 2.0).
svn path=/trunk/mcs/; revision=86811
* TypeElement.cs : disable a test that causes NRE on .NET.
* SoapHttpClientProtocolTest.cs: disabled connection-oriented tests
that do not work fine on .NET 2.0.
svn path=/trunk/mcs/; revision=86802
* WebClientProtocolTest.cs: Fixed namespace.
* SoapHttpClientProtocolTest.cs: Fixed namespace. Added test for
bug #81886.
* SoapServerTypeTest.cs: Fixed namespace.
* SocketResponder.cs: Sync with copy in System assembly.
* Fault.cs: In SOAP 1.1, the child elements of Fault may be unqualified.
Fixed FaultReader's ReadObject_Fault to only process either unqualified
elements or elements in the SOAP 1.1 namespace, hereby fixing part of
bug #81886 where an unqualified detail element was not processed. In
FaultWriter, write unqualified detail element. Fixes second part of
bug #81886.
svn path=/trunk/mcs/; revision=79855
* ProtocolImporter.cs, ServiceDescriptionImporter.cs : when there
is no binding item for a supported protocol in a WSDL, skip such
protocol and try next protocol, so that it can match HTTPGET-only
WSDLs. Part of fix for #81457.
* ServiceDescriptionImporterTest.cs : added ignored test for #81457.
svn path=/trunk/mcs/; revision=77240
* SoapServerMethod.cs : Some refactoring. simply use GetMethod() in
type stub. WsiClaims could be retrieved from type stub.
* SoapServerType.cs : store server methods and implement GetMethod().
* SoapServerTypeTest.cs : added some more tests related to server
methods.
svn path=/trunk/mcs/; revision=76986
* SoapServerType.cs
ServerType.cs
Methods.cs : SoapBindingUse and SoapServiceRoutingStyle could just
be stored in LogicalTypeInfo (as they are attributed in a web
service class), and removed duplicates of them in SoapTypeStubInfo.
Invalid attributes on a service class are checked in SoapServerType
.ctor().
* SoapServerTypeTest.cs : added some .ctor() tests to verify
validity of attributes on the service class.
svn path=/trunk/mcs/; revision=76969
* LogicalMethodInfo.cs : MethodInfo is null when it is async.
Added internal ActualMethodInfo to represent "sync or begin" method
(i.e. former MethodInfo).
* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs :
MethodInfo -> ActualMethodInfo.
* LogicalMethodInfoTest.cs : new test (cosmetic for now).
* System.Web.Services.dll.sources :
removed SoapClientMethod.cs (not in use).
* System.Web.Services_test.dll.sources :
added LogicalMethodInfoTest.cs.
svn path=/trunk/mcs/; revision=76888
* TypeStubManager.cs : fix binding enumeration on finding by name.
fix wrong ONLY_1_1.
* ServerType.cs : ONLY_1_1 is evil enough to make sources confusing.
Use it only when it is really needed.
* SoapServerTypeTest.cs : added new test (one is not working yet).
It will be very useful when we test service type generation.
* System.Web.Services_test.dll.sources: added SoapServerType.cs.
svn path=/trunk/mcs/; revision=76113
* SocketResponder.cs: Utility class for emulating Web Service backend.
* System.Web.Services_test.dll.sources: added SocketResponder.cs and
SoapHttpClientProtocolTest.cs.
svn path=/trunk/mcs/; revision=71044
* 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
* 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
* 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