I'm not sure how a user library would affect the app in this way. How did
you recompile the xmlbeans types?


On 6/28/07, Dicks, Matthew <[EMAIL PROTECTED]> wrote:

 I turned off the Workshop XmlBeans Facet and use a User Library to
support XmlBeans 2.2.0, which I have been doing for nearly a year without
any trouble.  I was trying to get CDATA support by moving to 2.3.0 but
Workshop crashes when I attempt to generate a WSDL that uses a 2.3.0XmlBean.  
If I go back to
2.2.0 can I just encode the CDATA section?

Matt

-----Original Message-----
*From:* Jacob Danner [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, June 28, 2007 2:17 PM
*To:* [email protected]
*Subject:* Re: 2.3.0 and BEA Workshop 9.2

Hi Matthew,
How did you switch to XmlBeans 2.3 with workshop 9.2? Are you talking
talking adding a newly compiled xmlbeans jar to a workshop project or using
the J2EE utility project with the xmlbeans builder facet.
If that is the case it you may want to verify this is supported.
Please let us know,
-Jacob Danner

On 6/28/07, Dicks, Matthew < [EMAIL PROTECTED]> wrote:
>
>  After switching to XmlBeans 2.3.0 and recompiling all my beans,
> Workshop 9.2 crashed when trying generate WSDLs for web services:
>
> java.lang.NoClassDefFoundError
>         at sun.misc.Unsafe.ensureClassInitialized(Native Method)
>         at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(
> UnsafeFieldAccessorFactory.java:25)
>         at sun.reflect.ReflectionFactory.newFieldAccessor(
> ReflectionFactory.java:122)
>         at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
>         at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
>         at java.lang.reflect.Field.get(Field.java:357)
>         at
> weblogic.wsee.util.XBeanUtil.getApacheSchemaTypeForApacheXmlBean(
> XBeanUtil.java:322)
>         at weblogic.wsee.util.XBeanUtil.getXsdPathForXmlBean(
> XBeanUtil.java:280)
>         at weblogic.wsee.util.XBeanUtil.getSchemaTypeSourceName(
> XBeanUtil.java:217)
>         at
> 
weblogic.wsee.bind.buildtime.internal.SoapAwareJava2Schema.generateWrappedXmlBeanSchemaTypes
> (SoapAwareJava2Schema.java:429)
>
>         at
> weblogic.wsee.bind.buildtime.internal.SoapAwareJava2Schema.postProcessOutputs
> (SoapAwareJava2Schema.java:318)
>         at com.bea.staxb.buildtime.Java2Schema.internalBind(
> Java2Schema.java:421)
>         at com.bea.staxb.buildtime.BindingCompiler.bind(
> BindingCompiler.java:125)
>         at com.bea.staxb.buildtime.BindingCompiler.bindAsExplodedTylar(
> BindingCompiler.java:161)
>         at
> weblogic.wsee.bind.buildtime.internal.SoapAwareJava2Schema.bindAsExplodedTylar
> (SoapAwareJava2Schema.java:1150)
>
>         at
> 
weblogic.wsee.bind.buildtime.internal.TylarJ2SBindingsBuilderImpl.createBuildtimeBindings
> (TylarJ2SBindingsBuilderImpl.java:210)
>
>         at weblogic.wsee.tools.jws.WebServiceInfo.createBindings(
> WebServiceInfo.java:213)
>         at weblogic.wsee.tools.jws.wsdl.WsdlBuilder.process(
> WsdlBuilder.java:41)
>         at weblogic.wsee.tools.jws.process.CompositeProcessor.process(
> CompositeProcessor.java:36)
>         at weblogic.wsee.tools.jws.build.JwsCompiler.buildWebServices(
> JwsCompiler.java:466)
>         at weblogic.wsee.tools.jws.build.JwsCompiler.compile(
> JwsCompiler.java:438)
>         at
> com.bea.wlw.webservices.core.compiler.WebServiceCompiler$3.invoke(
> WebServiceCompiler.java:247)
>         at
> com.bea.wlw.webservices.core.compiler.WebServiceCompiler.accessCompiler(
> WebServiceCompiler.java:291)
>         at
> com.bea.wlw.webservices.core.compiler.WebServiceCompiler.compile0(
> WebServiceCompiler.java:244)
>         at
> com.bea.wlw.webservices.core.compiler.WebServiceCompiler.compile(
> WebServiceCompiler.java:202)
>         at
> com.bea.wlw.webservices.ui.actions.GenerateWsdlFromJwsAction.run(
> GenerateWsdlFromJwsAction.java:149)
>         at org.eclipse.ui.internal.PluginAction.runWithEvent(
> PluginAction.java:246)
>         at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(
> ActionContributionItem.java:538)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(
> ActionContributionItem.java:488)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent
> (ActionContributionItem.java:400)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java
> :66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(
> Display.java:3125)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
> :2758)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java
> :1699)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
> Workbench.java:367)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
> PlatformUI.java:143)
>         at org.eclipse.ui.internal.ide.IDEApplication.run(
> IDEApplication.java:103)
>         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(
> PlatformActivator.java:226)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(
> EclipseStarter.java:376)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(
> EclipseStarter.java:163)
>         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.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
>         at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
>         at org.eclipse.core.launcher.Main.run(Main.java:973)
>         at org.eclipse.core.launcher.Main.main(Main.java:948)
>
> Any ideas?
>
> Matt
>
>
>
>
> IMPORTANT:  E-mail sent through the Internet is not secure. Legg Mason 
therefore
>
> recommends that you do not send any confidential or sensitive information to 
us
>
> via electronic mail, including social security numbers, account numbers, or 
personal
>
> identification numbers. Delivery, and or timely delivery of Internet mail is 
not
>
> guaranteed. Legg Mason therefore recommends that you do not send time 
sensitive
> or action-oriented messages to us via electronic mail.
>
> This message is intended for the addressee only and may contain
> privileged or confidential information. Unless you are the intended
> recipient, you may not use, copy or disclose to anyone any information
> contained in this message. If you have received this message in error,
> please notify the author by replying to this message and then kindly
> delete the message. Thank you.
>





IMPORTANT:  E-mail sent through the Internet is not secure. Legg Mason therefore

recommends that you do not send any confidential or sensitive information to us

via electronic mail, including social security numbers, account numbers, or 
personal

identification numbers. Delivery, and or timely delivery of Internet mail is not

guaranteed. Legg Mason therefore recommends that you do not send time sensitive
or action-oriented messages to us via electronic mail.

This message is intended for the addressee only and may contain
privileged or confidential information. Unless you are the intended
recipient, you may not use, copy or disclose to anyone any information
contained in this message. If you have received this message in error,
please notify the author by replying to this message and then kindly
delete the message. Thank you.

Reply via email to