-
WSDL from class
I know that i can generate the wsdl from DefaultWsdl11Definition,but how i can generate wsdl from class?
What i want is that someone call my web service and give me the right parameters that i define in my method from wsdl..
It i spossible? or i must generate xsd first,and than generate the wsdl from it?
-
-
Assuming you are using JAXB (un)marshalling...
You can use JAXB to generate the schema from the java class and then use the WSDL definition bean to generate the WSDL from the schema.
http://docs.oracle.com/javase/tutori.../examples.html