cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r954559 - in /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support: JaxWsServiceFactoryBean.java Messages.properties
Date Mon, 14 Jun 2010 17:13:04 GMT
Author: sergeyb
Date: Mon Jun 14 17:13:04 2010
New Revision: 954559

URL: http://svn.apache.org/viewvc?rev=954559&view=rev
Log:
CXF-2846 : minor update to make it easier to merge to 2.2.x

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java?rev=954559&r1=954558&r2=954559&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java
Mon Jun 14 17:13:04 2010
@@ -272,8 +272,7 @@ public class JaxWsServiceFactoryBean ext
     protected void initializeWSDLOperationsForProvider() {
         Class c = getProviderParameterType(getServiceClass());
         if (c == null) {
-            throw new ServiceConstructionException(getServiceClass().getName() + "is not
a valid Provider",
-                                                   LOG);
+            throw new ServiceConstructionException(new Message("INVALID_PROVIDER_EXC", LOG));
         }
         
         if (getEndpointInfo() == null

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties?rev=954559&r1=954558&r2=954559&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/Messages.properties
Mon Jun 14 17:13:04 2010
@@ -19,6 +19,7 @@
 #
 #
 SEI_LOAD_FAILURE_EXC = Failed to load service endpoint interface.
+INVALID_PROVIDER_EXC = {0} is not a valid JAXWS Provider.
 SEI_LOAD_FAILURE_MSG = Could not load Webservice SEI
 SEI_WITHOUT_WEBSERVICE_ANNOTATION_EXC = Service endpoint interface does not have a @WebService
annotation.
 ILLEGAL_ATTRIBUTE_IN_SEI_ANNOTATION_EXC = Attributes portName, serviceName and endpointInterface
are not allowed in the @WebService annotation of an SEI.



Mime
View raw message