* 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
* 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
client/external/GlobalWeatherTest.cs, client/external/HPcatalogTest.cs,
client/external/IODCODESPOSTAUXTest.cs,
client/external/TemperatureServiceTest.cs,
client/localhost/DataServiceTest.cs,
client/localhost/DuplicateArrayTestTest.cs,
client/localhost/IncludeTestTest.cs,
client/localhost/TestBinding4Test.cs: Use new nunit 2.2 api.
* server/ConvDocLitWra.asmx, server/ConvDocEncWra.asmx,
server/ConvDocLitBar.asmx, server/ConvDocLitWra.asmx,
server/ConvRpc.asmx,
* wstest.cs: Added support for generating tests cases from a template.
Useful to test the same case in all formats and protocols.
* proxies.net.xml.gz, wsdlfiles.tar.gz: Updated.
* client/localhost/ConvDocEncBarTest.cs,
client/localhost/ConvDocLitBarTest.cs,
client/localhost/ConvDocLitWraTest.cs,
client/localhost/ConvRpcTest.cs,
client/localhost/ConvDocEncBar.asmx:
Improved tests. Use new nunit 2.2 api.
* Conv.cs.template: template for ConverterService client tests.
* Conv.asmx.template: template for ConverterService services.
* templates.xml: Configuration file for generating the tests.
svn path=/trunk/mcs/; revision=30621