spyhunter99 [
https://community.jboss.org/people/spyhunter99] created the discussion
"Re: Cannot create EJB-based web service with JBossWS runtime"
To view the discussion, visit:
https://community.jboss.org/message/648485#648485
--------------------------------------------------------------
This won't directly answer your question, but I'll share how I develop things. I
use netbeans so you'll have to modify as necessary.
create a new java library (jar file) projects
open a command prompt
use wsconsume from the jbossws bundle and point it at your wsdl files with the -k option
(keep source code)
copy the files from the output folder to your projects src folder
flip back to the ide. Find the class that defines the interface representing your wsdl
Make a new class, implementing that interface
I'd suggest copying all of the annotations from the interface definition into your
implementation.
Add a jar reference to the class jboss ejb api, jboss-ejb-api_3.1_spec.jar
Add @javax.ejb.Stateless to your impl class
write your code
build
copy jar file into the deploy folder
that's it
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/648485#648485]
Start a new discussion in JBoss Web Services Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]