WebServiceExporter should generate WebServiceBinding attribute with WSI basic profile 1.1 by default. [SPRNET-869]

This commit is contained in:
bbaia
2008-08-05 14:01:19 +00:00
parent 38cab98326
commit e410a395e4

View File

@@ -57,7 +57,6 @@ namespace Spring.Web.Services
/// </p>
/// </remarks>
/// <author>Aleksandar Seovic</author>
[WebServiceBinding(ConformsTo=WsiProfiles.BasicProfile1_1)]
public class WebServiceExporter : IInitializingObject, IObjectFactoryAware, IFactoryObject, IObjectNameAware
{
#region Fields
@@ -500,7 +499,9 @@ namespace Spring.Web.Services
IList attrs = base.GetTypeAttributes(type);
bool containsWebServiceAttribute = false;
#if NET_2_0
bool containsWebServiceBindingAttribute = false;
#endif
for (int i = 0; i < attrs.Count; i++)
{
if (IsAttributeMatchingType(attrs[i], typeof(WebServiceAttribute)))