cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <daniel.k...@iona.com>
Subject Re: Aegis and JAXB-WS
Date Wed, 05 Sep 2007 21:39:38 GMT

Guillaume,

I THINK this is the same error I fixed yesterday: (or more specifically, 
Benson fixed, but I applied the patch)

https://issues.apache.org/jira/browse/CXF-959

I deployed a new snapshot last night, could you give that a try?


Dan




On Wednesday 05 September 2007, tog wrote:
> Hiya
>
> I have a server based on the Aegis binding. I connect to that server
> using the dynamic client (JAXB). I get the following exception during
> the compilation phase of the schema.
>
> Is that a problem already known and similar to the one reported by
> Benson ?
>
> I also attached the wsdl.
>
> Cheers
> Guillaume
>
> java.lang.RuntimeException: Error compiling schema from WSDL at {
> http://localhost:6981/BookService?wsdl}: undefined simple or complex
> type 'ns1:Book'
>         at
> org.apache.cxf.endpoint.dynamic.DynamicClientFactory$InnerErrorListene
>r.error (DynamicClientFactory.java:409)
>         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.error(
> SchemaCompilerImpl.java:264)
>         at com.sun.tools.xjc.util.ErrorReceiverFilter.error(
> ErrorReceiverFilter.java:61)
>         at com.sun.xml.xsom.impl.parser.ParserContext$2.error(
> ParserContext.java:156)
>         at com.sun.xml.xsom.impl.parser.ParserContext$1.reportError(
> ParserContext.java:134)
>         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.reportError(
> NGCCRuntimeEx.java:131)
>         at
> com.sun.xml.xsom.impl.parser.DelayedRef.resolve(DelayedRef.java
>
> :90)
>
>         at
> com.sun.xml.xsom.impl.parser.DelayedRef.run(DelayedRef.java:65) at
> com.sun.xml.xsom.impl.parser.ParserContext.getResult(
> ParserContext.java:94)
>         at
> com.sun.xml.xsom.parser.XSOMParser.getResult(XSOMParser.java:190) at
> com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:500) at
> com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(
> SchemaCompilerImpl.java:216)
>         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(
> SchemaCompilerImpl.java:69)
>         at
> org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient
> (DynamicClientFactory.java:166)
>         at
> org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient
> (DynamicClientFactory.java:137)



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

Mime
View raw message