WebServiceExporter should generate WebServiceBinding attribute with WSI basic profile 1.1 by default. [SPRNET-869]
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user