tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r956867 - 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 Tue, 22 Jun 2010 12:55:21 GMT
Author: slaws
Date: Tue Jun 22 12:55:20 2010
New Revision: 956867

URL: http://svn.apache.org/viewvc?rev=956867&view=rev
Log:
Small improvement to message reported to include exception text when interface is not valid

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=956867&r1=956866&r2=956867&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
Tue Jun 22 12:55:20 2010
@@ -389,7 +389,7 @@ public class WebServiceBindingProcessor 
                 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);

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=956867&r1=956866&r2=956867&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
Tue Jun 22 12:55:20 2010
@@ -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



Mime
View raw message