tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r956516 - in /tuscany/sca-java-2.x/trunk/modules/binding-ws/src/main: java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java resources/binding-wsxml-validation-messages.properties
Date Mon, 21 Jun 2010 09:41:55 GMT
Author: slaws
Date: Mon Jun 21 09:41:55 2010
New Revision: 956516

URL: http://svn.apache.org/viewvc?rev=956516&view=rev
Log:
Change the previous warning thrown when a service can't be found into an error

Modified:
    tuscany/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java
    tuscany/sca-java-2.x/trunk/modules/binding-ws/src/main/resources/binding-wsxml-validation-messages.properties

Modified: tuscany/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java?rev=956516&r1=956515&r2=956516&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java
Mon Jun 21 09:41:55 2010
@@ -340,7 +340,7 @@ public class WebServiceBindingProcessor 
                     wsdlDefinition.setDefinition(binding.getDefinition());
                     model.setBinding(binding.getElement());
                 } else {
-                	warning(monitor, "WsdlBindingDoesNotMatch", wsdlDefinition, model.getBindingName());
+                	error(monitor, "WsdlBindingDoesNotMatch", wsdlDefinition, model.getBindingName());
                 }
             }
             if (model.getServiceName() != null) {
@@ -358,7 +358,7 @@ public class WebServiceBindingProcessor 
                         }
                     }
                 } else {
-                	warning(monitor, "WsdlServiceDoesNotMatch", wsdlDefinition, model.getServiceName());
+                	error(monitor, "WsdlServiceDoesNotMatch", wsdlDefinition, model.getServiceName());
                 }
             }
 

Modified: tuscany/sca-java-2.x/trunk/modules/binding-ws/src/main/resources/binding-wsxml-validation-messages.properties
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/binding-ws/src/main/resources/binding-wsxml-validation-messages.properties?rev=956516&r1=956515&r2=956516&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/binding-ws/src/main/resources/binding-wsxml-validation-messages.properties
(original)
+++ tuscany/sca-java-2.x/trunk/modules/binding-ws/src/main/resources/binding-wsxml-validation-messages.properties
Mon Jun 21 09:41:55 2010
@@ -21,8 +21,8 @@
 InvalidWsdlElementAttr = Invalid WebService binding wsdlElement attribute: {0}
 MustUseWsdlBinding = {0} must use wsdl.binding when using wsa:EndpointReference
 InvalidInterfaceException = Exception creating interface from WSDL for binding: {0}
-WsdlBindingDoesNotMatch = The #wsdl.binding({0}) does not match with the WSDL Definitions
-WsdlServiceDoesNotMatch = The #wsdl.service({0}) does not match with the WSDL Definitions
+WsdlBindingDoesNotMatch = The #wsdl.binding({0}) not found in the available WSDL Definitions
+WsdlServiceDoesNotMatch = [BWS20005] The #wsdl.service({0}) not found in the available WSDL
Definitions
 WsdlPortTypeDoesNotMatch = The #wsdl.port({0}) does not match with the WSDL Definitions
 WsdliLocationMissingWsdlElement = binding.ws has a @wsdli:wsdlLocation attribute but no @wsdlElement
attribute
 URINotAbsolute = [BWS20001] The URI value for binding.ws on an SCA reference must be absolute.
Non-absolute value found {0}



Mime
View raw message