Does anyone know what extra classes
parameter from Java2WSDL
tool mean?
I am looking to answer this question, but have no success.
Does anyone know what extra classes
parameter from Java2WSDL
tool mean?
I am looking to answer this question, but have no success.
Copyright © 2021 Jogjafile Inc.
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: