cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Mao <james....@iona.com>
Subject Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl
Date Fri, 26 Oct 2007 02:21:09 GMT
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
>   

Mime
View raw message