cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CXF-1528) DynamicClientFactory throws IllegalStateException due to JAXB not generating classes when unexpected schema element encountered in WSDL
Date Tue, 15 Apr 2008 16:39:06 GMT

     [ https://issues.apache.org/jira/browse/CXF-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp reassigned CXF-1528:
--------------------------------

    Assignee: Daniel Kulp

> DynamicClientFactory throws IllegalStateException due to JAXB not generating classes
when unexpected schema element encountered in WSDL
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1528
>                 URL: https://issues.apache.org/jira/browse/CXF-1528
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>         Environment: Java 5 (apple), Java 6 (soylatte) - Mac OS X, Java 6 (sun) - Linux.
>            Reporter: Jon Sharp
>            Assignee: Daniel Kulp
>
> java.lang.IllegalStateException: Unable to create JAXBContext for generated packages:
"generated" doesnt contain ObjectFactory.class or jaxb.index
> 	at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:246)
> 	at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:143)
> 	at groovyx.net.ws.WSClient.<init>(WSClient.java:126)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> 	at org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaClassHelper.java:535)
> 	at groovy.lang.MetaClassImpl.doConstructorInvoke(MetaClassImpl.java:2352)
> 	at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1252)
> 	at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1182)
> 	at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:805)
> 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBytecodeAdapter.java:227)
> 	at SOAPClient.doSOAP(SOAPClient.groovy:9)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
> 	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:226)
> 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
> 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:754)
> 	at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:777)
> 	at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:757)
> 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:167)
> 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:195)
> 	at SOAPClient.main(SOAPClient.groovy:18)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
> 	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:226)
> 	at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1102)
> 	at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:748)
> 	at groovy.lang.GroovyShell.runMainOrTestOrRunnable(GroovyShell.java:244)
> 	at groovy.lang.GroovyShell.run(GroovyShell.java:218)
> 	at groovy.lang.GroovyShell.run(GroovyShell.java:147)
> 	at groovy.ui.GroovyMain.processOnce(GroovyMain.java:493)
> 	at groovy.ui.GroovyMain.run(GroovyMain.java:308)
> 	at groovy.ui.GroovyMain.process(GroovyMain.java:294)
> 	at groovy.ui.GroovyMain.processArgs(GroovyMain.java:111)
> 	at groovy.ui.GroovyMain.main(GroovyMain.java:92)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:101)
> 	at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130)
> Caused by: javax.xml.bind.JAXBException: "generated" doesnt contain ObjectFactory.class
or jaxb.index
> 	at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:127)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132)
> 	at javax.xml.bind.ContextFinder.find(ContextFinder.java:285)
> 	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
> 	at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:243)
> 	... 48 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message