Please browse the heroes give points to the comments
Return question of Server end complex data type
The data type of the web service is returned. If it is a simple data type, it is relatively simple. If it is not used as a conversion, if it is a complex data type, it is more troublesome.
Complex Type 1: JavaBeans type, this type, usually automatic
Complex Type 2: Specific Schema type, this type, not very good.
This article is to be discussed is complex type 2
There is a complex type example below,
Web Service Case Study: Software Feedback Tracking Platform
For example, the data type to return is as follows
Corresponding to Schema is as follows:
XML Version = "1.0" encoding = "UTF-8"?>
Use WASP to develop Web Service development
Using JAXB, get the Java class for Schema. Establish a class, use it to publish web services. A method of this class, returning to the top of the SCHEMA to get the type of Java class now, now you will release this class, generate WSDL, etc., all do it. More convenient, misfortune, I am experimenting with 1-4 above, fail! ! ! ! ! ! Use WASP to easily return Client code via WSDL. Even WASP is not used
Development of the Web Service Server end. It is also possible to use it for CLIENT development.
NEW option with a Generate Web Service Client from WSDL