Does anyone know what extra classes parameter from Java2WSDL tool mean?
I am looking to answer this question, but have no success.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is used to include those types in WSDL definition whose parents appears as return types or parameters. Consider very simple example:
.. where Animal is an interface. At a WSDL generation time Axis2 will not be able to automatically trace all possible implementations of Animal that you might expect to be returned. Without extraClasses you’ll get something like this:
.. and if you add extraClasses=”com.demo.Dog”, you’ll cover all types you need in your WSDL schema part: