We use the wsdl4j to parse the wsdl and schemas, the error message
simply said that wsdl4j can not parse the schema, the reason it can not
parse the schema is that it can not get it.
I found that the "extension-types.xsd" is using a relative path, the
location is relative to the document
http://localhost/xsd/get-csta-features.xsd
That could be the reason, I've to check the code, and will file an issue.
Regards,
James
Hi,
What does the following error mean? Both get-csta-features.xsd and
extension-types.xsd are deployed in the same web site in my local computer,
they are accessible from browser.
thanks
[java] Caused by: javax.wsdl.WSDLException: WSDLException(at
/definitions/types/xs:schema/xsd:schema/xsd:schma): faultCode=OTHER_ERROR:
Unable to locate with locator the schema referenced at 'extension-types.xsd'
relative to document 'http://localhost/xsd/get-csta-features.xsd'
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown
Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown
Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown
Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown
Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown
Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown
Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at
org.apache.cxf.wsdl11.WSDLDefinitionBuilder.parseWSDL(WSDLDefinitionBuilder.java:125)
[java] ... 8 more