Hello Ole, I have the same environment as described above. I have created and tested a stateless session bean.
I want to add a service endpoint to this session bean. I did the following: 1. Enable JBossWS nature 2. Right click on the SessionBean and choose: JBossWS->Publish as Web Service. 3. In the 'Publish as WebService' dialog, on the Basic tab, I choose Interface 'javax.ejb.SessionBean', 4. For 'Deploy as', I choose 'EJB'. 5. On the Advanced tab, for 'Package' I choose "MyBean.war' 6. I hit the 'Generate' I receive the following wstools error in the console log: anonymous wrote : Running JBossWS wstools for [DemoProject] | directory: C:\Documents and Settings\Mark\workspace2\DemoProject | command: cmd.exe /C C:\jboss-4.0.5.GA\bin\wstools.bat -cp build/classes -config C:\DOCUME~1\Mark\LOCALS~1\Temp\wstools-config8176.xml -dest C:\Documents and Settings\Mark\workspace2\DemoProject\ejbModule | =========================================================================" | . | WSTools Environment | . | JBOSS_HOME: C:\jboss-4.0.5.GA\bin\\.. | . | JAVA: C:\Program Files\Java\jdk1.5.0_06\bin\java | . | JAVA_OPTS: | . | =========================================================================" | . | Exception in thread "main" org.jboss.ws.WSException: A service endpoint interface should extend Remote | at org.jboss.ws.tools.metadata.ToolsUnifiedMetaDataBuilder.buildMetaData(ToolsUnifiedMetaDataBuilder.java:82) | at org.jboss.ws.tools.metadata.ToolsUnifiedMetaDataBuilder.(ToolsUnifiedMetaDataBuilder.java:69) | at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:298) | at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:122) | at org.jboss.ws.tools.WSTools.process(WSTools.java:132) | at org.jboss.ws.tools.WSTools.generate(WSTools.java:120) | at org.jboss.ws.tools.WSTools.main(WSTools.java:61) | Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981650#3981650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981650 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user