This content has been marked as final.
Show 3 replies
-
1. Re: Seam 2.0, Eclipse IDE - Problem creating Webservices
tim_ph Jan 16, 2008 11:22 AM (in response to estahn)I got it working on 2.0.0.CR1.
The interface should have @Remote instead of @WebService
standard-jaxws-endpoint-config.xml should be in your deployed
proj.ear/proj.jar/META-INF directory.
That should do it. -
2. Re: Seam 2.0, Eclipse IDE - Problem creating Webservices
estahn Jan 16, 2008 1:02 PM (in response to estahn)Thanks, looks like the deployment will try to publish the webservice. Is it possible to do the same with an war file?
I get the following result with JBoss AS 4.2.2.GA and JBoss Seam 2.0.0.GA:org.jboss.deployment.DeploymentInfo@e66bd1cd { url=file:/C:/Users/stahn/Desktop/Downloads/jboss-4.2.2.GA/server/default/deploy/SoapTest4-ear.ear/ } deployer: org.jboss.deployment.EARDeployer@1123eb0 status: Deployment FAILED reason: Could not create deployment: file:/C:/Users/stahn/Desktop/Downloads/jboss-4.2.2.GA/server/default/deploy/SoapTest4-ear.ear/SoapTest4-ejb.jar/; - nested throwable: (java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Users/stahn/Desktop/Downloads/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2289jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)) state: FAILED watch: file:/C:/Users/stahn/Desktop/Downloads/jboss-4.2.2.GA/server/default/deploy/SoapTest4-ear.ear/META-INF/application.xml altDD: null lastDeployed: 1200506104074 lastModified: 1200506085415 mbeans: persistence.units:ear=SoapTest4-ear.ear,jar=SoapTest4-ejb.jar,unitName=SoapTest4 state: Started jboss.j2ee:ear=SoapTest4-ear.ear,jar=SoapTest4-ejb.jar,name=TenderNoticeCollectorService,service=EJB3 state: Started
Any hints on that?
Regards
Enrico -
3. Re: Seam 2.0, Eclipse IDE - Problem creating Webservices
estahn Jan 16, 2008 1:30 PM (in response to estahn)This should help: http://blog.spaceprogram.com/2007/05/how-to-fix-linkageerror-when-using-jaxb.html
Location of jaxb-api.jar 2.1: http://repository.jboss.com/sun-jaxb/2.1/lib/jaxb-api.jar