today i faced very annoying problem in NetBeans 6.9.1 which as it seems i cannot fix. I'm creating JAX-WS web service (Tomcat 6.0.26) which has an operation which returns an array of custom objects (webServisZapis) which i created. Class from which objects are instantiated consists only of a few String variables and a getter for each of them.
The problem is when the xsd file is generated it doesn't contain structure of the objects i'm returning as a result of my web service and because of that i can't access necessary data in those objects which i'm receiving in another Web application (on Glassfish).
My xsd file contains only this code which refers to objects i'm using:
<xs:complexType name="webServisZapis">
<xs:sequence/>
</xs:complexType>
I have spent all day searching for a solution but i haven't found it. I just cannot figure why it won't work especially since i used almost the same java class in another web service of another project just a few days ago and there wasn't any problem.