You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ba...@apache.org on 2007/01/16 19:42:30 UTC
svn commit: r496815 -
/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java
Author: barrettj
Date: Tue Jan 16 10:42:29 2007
New Revision: 496815
URL: http://svn.apache.org/viewvc?view=rev&rev=496815
Log:
Validation change: Allow the JSR-224 BindingType annotation on service impl that references an SEI; it was being disallowed with other JSR-181 annotations per the 181 spec.
Modified:
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java
Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java?view=diff&rev=496815&r1=496814&r2=496815
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java Tue Jan 16 10:42:29 2007
@@ -606,10 +606,10 @@
throw ExceptionFactory.makeWebServiceException("DescriptionBuilderComposite: cannot find SEI composite specified by the endpoint interface");
}
- //Verify that the only class annotations are WebService and HandlerChain
- //(per JSR181 Sec. 3.1)
- if ( composite.getBindingTypeAnnot()!= null
- || composite.getSoapBindingAnnot() != null
+ // Verify that the only class annotations are WebService and HandlerChain
+ // (per JSR181 Sec. 3.1). Note that this applies to JSR-181 annotations; the restriction
+ // does not apply to JSR-224 annotations such as BindingType
+ if ( composite.getSoapBindingAnnot() != null
|| composite.getWebFaultAnnot() != null
|| composite.getWebServiceClientAnnot() != null
|| composite.getWebServiceContextAnnot()!= null
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org