- This topic has 2 replies, 1 voice, and was last updated 15 years, 9 months ago by Vrunda Bapat.
-
AuthorPosts
-
Vrunda BapatMemberHi,
I am trying to generate JAX-WS web service by exposing EJB3.0 stateless session bean.
I am trying bottom-up approach selecting the session bean.
It creates a delegate class fine.
But for creating Web-service artifacts with New–>Web Service it gives me this Error:An internal error occurred during: “Generating JAX-WS Web Services”.
Unable to create JAXBContextSelecting options
JAX-WS
JEE5.0
SOAP style – tried both
document/wrappped and RPC
Generate WSDL option is selected for generating WSDL.Tried to look into past posts , no definite answer to solve the issue yet.
Can you please help me?Thanks,
VrundaMyEclipse Installation details:
*** Date:
Tuesday, February 24, 2009 11:27:49 AM EST** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.0
Build id: 7.0-20081201Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Eclipse\Genuitec\MyEclipse 7.0\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Eclipse\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Eclipse\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
C:\Eclipse\Genuitec\MyEclipse 7.0\configuration
-vm
C:\Eclipse\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
Vrunda BapatMemberSession Bean is generated with EJB3.0 Reverse engineering option from a Table from ME Database Explorer
!ENTRY org.eclipse.jdt.core 4 2 2009-02-18 13:09:57.626
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jdt.core”.
!STACK 0
java.lang.NullPointerException
at org.eclipse.dali.orm.adapters.java.JavaPersistenceFileModelAdapter.postUpdatePersModel(JavaPersistenceFileModelAdapter.java:192)
at org.eclipse.dali.orm.adapters.java.JavaPersistenceFileModelAdapter.synchWithJavaDelta(JavaPersistenceFileModelAdapter.java:128)
at org.eclipse.dali.orm.adapters.java.JavaPersistenceFileModelAdapter.handleEvent(JavaPersistenceFileModelAdapter.java:66)
at org.eclipse.dali.orm.impl.PersistenceFileImpl.handleEvent(PersistenceFileImpl.java:201)
at org.eclipse.dali.orm.impl.PersistenceModelManager$ElementChangeProcessor.elementChanged(PersistenceModelManager.java:423)
at org.eclipse.dali.orm.impl.PersistenceModelManager$ElementChangeListener.elementChanged(PersistenceModelManager.java:398)
at org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1545)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java:1535)
at org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.java:1387)
at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1346)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:751)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:770)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1224)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:124)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:149)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)Anyone?
Vrunda BapatMemberPlease Ignore the Above Post–SORRY!!
This is WebService related Error –
MESSAGE An internal error occurred during: “Generating JAX-WS Web Services”.
!STACK 0
com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class gov.irs.aec.business.jaxws.Save is not found. Have you run APT to generate them?
at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:287)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:596)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:543)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:371)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:258)
at com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:225)
at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:124)
at com.genuitec.eclipse.ws.jaxws.JaxWSBUJob.wsGen(JaxWSBUJob.java:224)
at com.genuitec.eclipse.ws.jaxws.JaxWSBUJob.run(JaxWSBUJob.java:124)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) -
AuthorPosts