The step by step WIKIs describe more or less what you are trying to do. Although in the Service example the wsdl is being generated. However, the client example shows you how to generate code from a wsdl, but just requires a gen:server option instead.
I have real problems trying to figure out what to do. I have done webservices earlier with jboss.net and now in new place I need to figure out how to do it with latest jboss version (have 4.0.3RC2) and JBossWS.
I have wsdl file from which I created classes using wscompile from jwsdp 1.6.
I have been reading through those step by step guides and trying to google up other helpful pages.
I think I get the basic idea how to do things, but generated classes and opened them in Eclipse I have one big problem before I can even start testing if my assumptions are correct.
So classes generated by wscompile contain errors, they refer to com.sun.xml... stuff that I located from jaxrpc-impl.jar in Sun App Server lib directory. As I can't find anything that contains those classes from jboss directories or normal java sdk it would seem that those classes should be included into .war file. But because example ws.war does not contain anything like that I start to think I am doing something wrong.
It would be great if someone could makeup real "step by step guide from wsdl to webservice for dummies" :)
WS4EE is about portable webservices. Therefore, generated classes cannot have dependencies on any proprietary API. In short, you only need
1) the service endpoint interface (SEI)
2) any user types that map to schema types
3) any user exceptions that map to fault types
All of which should be free of Sun API stuff.