Lo
This is probably a dumb question with a easy answer and I suspect the answer is no.
I have a POJO o1 with some properties and two more POJO's o2 and o3 that both extend o1 and declare some of their own custom properties.
I have a session bean (EJB 3) with a method on that returns a list of o1 that is made up of instances of o2 and o3.
I am exposing the method as a Web Service (Jax-WS) by generating the wsdl as a bottom up java bean service.
Now my problem, the xsd that get generated only defines the properties of o1. Is there a way I can make it generate/define the properties of o2 and o3 as well?
Thanks in advance.
This is probably a dumb question with a easy answer and I suspect the answer is no.
I have a POJO o1 with some properties and two more POJO's o2 and o3 that both extend o1 and declare some of their own custom properties.
I have a session bean (EJB 3) with a method on that returns a list of o1 that is made up of instances of o2 and o3.
I am exposing the method as a Web Service (Jax-WS) by generating the wsdl as a bottom up java bean service.
Now my problem, the xsd that get generated only defines the properties of o1. Is there a way I can make it generate/define the properties of o2 and o3 as well?
Thanks in advance.