Repository: cxf Updated Branches: refs/heads/2.7.x-fixes a04262693 -> 808413779
Fix some error messages where wsdl2java would just display FAIL_TO_CREATE_WSDL_DEFINITION instaead of the actuall problem. Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/32465e0d Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/32465e0d Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/32465e0d Branch: refs/heads/2.7.x-fixes Commit: 32465e0d4d8fbf33d8b1ea4b561f3823218b355e Parents: a042626 Author: Daniel Kulp <dk...@apache.org> Authored: Thu Mar 20 10:48:29 2014 -0400 Committer: Daniel Kulp <dk...@apache.org> Committed: Thu Mar 20 13:03:38 2014 -0400 ---------------------------------------------------------------------- rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties | 2 +- .../java/org/apache/cxf/tools/common/model/Messages.properties | 1 - .../main/java/org/apache/cxf/tools/wsdlto/core/Messages.properties | 1 + .../wsdlto/frontend/jaxws/processor/internal/Messages.properties | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/32465e0d/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties ---------------------------------------------------------------------- diff --git a/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties b/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties index 84a3b4f..c23e4ae 100644 --- a/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties +++ b/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties @@ -27,7 +27,7 @@ EXTENSION_ADD_FAILED_MSG = Failed to add extension element. SERVICE_CREATION_MSG = Failed to create service. NO_SUCH_SERVICE_EXC = Could not find definition for service {0}. NO_SUCH_ENDPOINT_EXC = Could not find definition for port {0}. -FAIL_TO_CREATE_WSDL_DEFINITION = Fail to create wsdl definition from : {0}\r\nCaused by : {1} + MISSING_DESTINATION_FACTORY = Cannot find the destination factory, check the port //wsdl:port[@name=''{0}''] MISSING_SERVICE= No definition of service {0} in the WSDL. WSDL4J_BAD_ELEMENT_PART= Part {0} defined as element {1} which is not in the schema. http://git-wip-us.apache.org/repos/asf/cxf/blob/32465e0d/tools/common/src/main/java/org/apache/cxf/tools/common/model/Messages.properties ---------------------------------------------------------------------- diff --git a/tools/common/src/main/java/org/apache/cxf/tools/common/model/Messages.properties b/tools/common/src/main/java/org/apache/cxf/tools/common/model/Messages.properties index b798795..b3beec9 100644 --- a/tools/common/src/main/java/org/apache/cxf/tools/common/model/Messages.properties +++ b/tools/common/src/main/java/org/apache/cxf/tools/common/model/Messages.properties @@ -20,7 +20,6 @@ # PARAMETER_ALREADY_EXIST = Parameter: {0} already exists for method {1} but of type {2} instead of {3}. Use a JAXWS/JAXB binding customization to rename the parameter. CREATE_JAXBRICONTEXT_EXCEPTION = Failed to create jaxbRIContext -FAIL_TO_CREATE_WSDL_DEFINITION = Failed to create wsdl definition in WSDLModel FAIL_TO_CREATE_JAVA_PARAMETER = Failed to create java parameter for part [{0}] in method [{1}] - this wsdl is invalid, please use the wsdlvalidator tool to validate this wsdl FAIL_TO_CREATE_JAVA_OUTPUT_PARAMETER = Failed to create java return paramter for part [{0}] in method [{1}] - this wsdl is invalid, please use the wsdlvalidator tool to validate this wsdl http://git-wip-us.apache.org/repos/asf/cxf/blob/32465e0d/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/Messages.properties ---------------------------------------------------------------------- diff --git a/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/Messages.properties b/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/Messages.properties index 4e8fc2a..51ef896 100644 --- a/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/Messages.properties +++ b/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/Messages.properties @@ -28,6 +28,7 @@ FRONTEND_MISSING = Could not find {0} frontend within classpath DATABINDING_MISSING = Could not find {0} databinding within classpath LOAD_PROCESSOR_FAILED = Could not load processor {0} FAIL_TO_CREATE_JAVA_MODEL = Failed to create java model +FAIL_TO_CREATE_WSDL_DEFINITION = Fail to create wsdl definition {0}: {1} FOUND_FRONTENDS = Found {1} frontends in <{0}> plugin. LOADING_FRONTEND = Loading <{0}> frontend from <{1}> plugin. http://git-wip-us.apache.org/repos/asf/cxf/blob/32465e0d/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/Messages.properties ---------------------------------------------------------------------- diff --git a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/Messages.properties b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/Messages.properties index 1677b78..cd28a5b 100644 --- a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/Messages.properties +++ b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/Messages.properties @@ -32,7 +32,6 @@ INVALID_MEP = Invalid WSDL,wsdl:operation: "{0}" is not request-response or one- FAIL_TO_COMPILE_GENERATE_CODES = Fail to compile generated code FAIL_TO_COPY_GENERATED_RESOURCE_FILE = Fail to copy generated resource file FAIL_TO_WRITE_FILE = Fail to write file {0} -FAIL_TO_CREATE_WSDL_DEFINITION = Fail to create wsdl definition {0} SERVICE_PORT_EXIST = Input service and port already exist in imported contract BINDING_NOT_EXIST = Input binding does not exist in imported contract