diff options
author | edwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-05 12:25:45 +0000 |
---|---|---|
committer | edwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-05 12:25:45 +0000 |
commit | dc3315fd3b1a4c6dc11679f6bf1b002563fd4dca (patch) | |
tree | 60b827c55b7a34fd153447651d3aab9313eab2ef /java/sca/modules/interface-wsdl | |
parent | 07c80181d65d82698adbbaef820c0162a27b2227 (diff) |
Updated error messages, in particular for case where WSDL is not found.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@801173 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/interface-wsdl')
2 files changed, 3 insertions, 3 deletions
diff --git a/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLInterfaceProcessor.java b/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLInterfaceProcessor.java index 960ef71302..edc005e059 100644 --- a/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLInterfaceProcessor.java +++ b/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLInterfaceProcessor.java @@ -267,7 +267,7 @@ public class WSDLInterfaceProcessor implements StAXArtifactProcessor<WSDLInterfa } else { // If we get here, the WSDLDefinition is unresolved... ContributionResolveException ce = new ContributionResolveException("WSDLDefinition unresolved " + - wsdlInterface.getName().getNamespaceURI() ); + wsdlInterface.getName() ); error("ContributionResolveException", wsdlFactory, ce); }// end if } // end if diff --git a/java/sca/modules/interface-wsdl/src/main/resources/interface-wsdlxml-validation-messages.properties b/java/sca/modules/interface-wsdl/src/main/resources/interface-wsdlxml-validation-messages.properties index 328f3c2d35..6e9e322287 100644 --- a/java/sca/modules/interface-wsdl/src/main/resources/interface-wsdlxml-validation-messages.properties +++ b/java/sca/modules/interface-wsdl/src/main/resources/interface-wsdlxml-validation-messages.properties @@ -18,8 +18,8 @@ # under the License. # # -ContributionReadException = ContributionReadException occured due to : -ContributionResolveException = ContributionResolveException occured due to : +ContributionReadException = ContributionReadException occured due to : {0} +ContributionResolveException = ContributionResolveException occured due to : {0} InvalidWSDLInterfaceAttr = Invalid WSDL interface attribute: {0} WsdlInterfaceDoesNotMatch = The #wsdl.interface({0}) specified does not match with WSDL Definitions InvalidRemotableValue = The interface.wsdl interface {0} element can only have a remotable attribute with the value "true" as WSDL interface are assumed to be remotable by default. The value that was found is: {1}.
\ No newline at end of file |