diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-21 09:41:55 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-21 09:41:55 +0000 |
commit | 4f1c59ade11faf7ce99bd30a86b41ab35af4e7ba (patch) | |
tree | accafb9934efd6155d20126888e3e27b871a6206 /sca-java-2.x/trunk/modules/binding-ws | |
parent | 9d550218d98497eeab43edd0b56239bace3134e3 (diff) |
Change the previous warning thrown when a service can't be found into an error
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@956516 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-ws')
2 files changed, 4 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java b/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java index 4863088cd5..68815fc157 100644 --- a/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java +++ b/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java @@ -340,7 +340,7 @@ public class WebServiceBindingProcessor extends BaseStAXArtifactProcessor implem 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 extends BaseStAXArtifactProcessor implem } } } else { - warning(monitor, "WsdlServiceDoesNotMatch", wsdlDefinition, model.getServiceName()); + error(monitor, "WsdlServiceDoesNotMatch", wsdlDefinition, model.getServiceName()); } } diff --git a/sca-java-2.x/trunk/modules/binding-ws/src/main/resources/binding-wsxml-validation-messages.properties b/sca-java-2.x/trunk/modules/binding-ws/src/main/resources/binding-wsxml-validation-messages.properties index 4e88c5bcce..1e06d882e3 100644 --- a/sca-java-2.x/trunk/modules/binding-ws/src/main/resources/binding-wsxml-validation-messages.properties +++ b/sca-java-2.x/trunk/modules/binding-ws/src/main/resources/binding-wsxml-validation-messages.properties @@ -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} |