summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-ws
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-06-22 12:55:20 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-06-22 12:55:20 +0000
commit2053c07b1d8de5a7aba3155402cd7d0e42e6ab70 (patch)
tree9c2cf94862ea6dbb657c4328c69ec47b324bca94 /sca-java-2.x/trunk/modules/binding-ws
parent650382e2bb8b650ab99fd16bdda7c97b565a58d3 (diff)
Small improvement to message reported to include exception text when interface is not valid
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@956867 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-ws')
-rw-r--r--sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java2
-rw-r--r--sca-java-2.x/trunk/modules/binding-ws/src/main/resources/binding-wsxml-validation-messages.properties2
2 files changed, 2 insertions, 2 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 67bd206115..7231925787 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
@@ -389,7 +389,7 @@ public class WebServiceBindingProcessor extends BaseStAXArtifactProcessor implem
try {
wsdlInterface = wsdlFactory.createWSDLInterface(portType, wsdlDefinition, resolver, context.getMonitor());
} catch (InvalidInterfaceException e) {
- warning(monitor, "InvalidInterfaceException", wsdlFactory, model.getName());
+ warning(monitor, "InvalidInterfaceException", wsdlFactory, model.getName(), e.getMessage());
}
interfaceContract.setInterface(wsdlInterface);
model.setBindingInterfaceContract(interfaceContract);
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 a355d1b5ae..215220a72d 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
@@ -20,7 +20,7 @@
#
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}
+InvalidInterfaceException = Exception creating interface from WSDL for binding {0} exception {1}
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