WsdlValidator fails to evaluate a type even though its type was defined in an
imported wsdl file
------------------------------------------------------------------------------------------------
Key: CXF-647
URL: https://issues.apache.org/jira/browse/CXF-647
Project: CXF
Issue Type: Bug
Reporter: Edell Nolan
Hi,
I have three files a schema, a logical wsdl file that imports the schema and
then a physical wsdl that imports the logical wsdl.
Cxf throws an error when it trys to evalute the reference to the port Type
INFO: Create Schema
jar:file:/C:/.m2/repository/org/apache/cxf/cxf-tools-common/2.0-incubator-RC-SNAPSHOT/cxf-tools-common-2.0-incubator-RC-SNAPSHOT.jar!/schemas/wsdl/jms.xsd
which was loaded from jar
11-May-2007 16:57:16 org.apache.cxf.tools.validator.internal.SchemaValidator
createSchema
INFO: Create Schema
jar:file:/C:/.m2/repository/org/apache/cxf/cxf-tools-common/2.0-incubator-RC-SNAPSHOT/cxf-tools-common-2.0-incubator-RC-SNAPSHOT.jar!/schemas/wsdl/xml-binding.xsd
which was loaded from jar
11-May-2007 16:57:16
org.apache.cxf.tools.validator.internal.SchemaResourceResolver resolveResource
INFO: Resolve schema wsdl.xsd from baseURI:
file:/C:/yoko_tan/trunk/api/target/classes/schemas/wsdl/corba-binding.xsd,
namespace: http://schemas.xmlsoap.org/wsdl/
11-May-2007 16:57:16
org.apache.cxf.tools.validator.internal.SchemaResourceResolver resolveResource
INFO: Resolve schema xml.xsd from baseURI:
jar:file:/C:/.m2/repository/org/apache/cxf/cxf-common-schemas/2.0-incubator-RC-SNAPSHOT/cxf-common-schemas-2.0-incubator-RC-SNAPSHOT.jar!/schemas/wsdl/XMLSchema.xsd,
namespace: http://www.w3.org/XML/1998/namespace
WSDLValidator Error : line 11 of
file:/C:/yoko_tan/trunk/tools/expected_PhysicalPT.wsdl
{http://schemas.apache.org/yoko/idl/OptionsPT}foo.bar is not defined
Edell.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.