-
1. Re: Created WSDL. Now what?!
andy_wagg Mar 3, 2005 11:19 AM (in response to jdeppen)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.
http://www.jboss.org/wiki/Wiki.jsp?page=WSDOCServiceStepByStep
http://www.jboss.org/wiki/Wiki.jsp?page=WSDOCClientStepByStep
Andy -
2. Re: Created WSDL. Now what?!
jk.mkiii Aug 29, 2005 6:41 AM (in response to jdeppen)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" :) -
3. Re: Created WSDL. Now what?!
thomas.diesler Sep 8, 2005 9:02 AM (in response to jdeppen)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.