Patent ID: 8626720

Claim:
A method comprising: decomposing a collection of complex objects into one or more base objects using one or more annotations that document the one or more base objects that are placed in the collection, wherein the decomposing comprises: parsing code for one or more objects; determining whether the parsed one or more objects is a primitive; when the one or more objects is the primitive, writing a Web Services Description Language (WSDL) file using the primitive; and when the one or more objects is not the primitive, performing the following: determining whether the one or more objects is annotated, wherein the annotations are Java annotations, which: define the one or more base objects used by the collection; generate a javaDoc reference that shows the one or more base objects being added to the collection; and break the collection into a group of complex object types and decompose the collection to the one or more base objects that are placed in the collection; when the one or more objects is not annotated, generating an exception that does not reconstruct the collection; and when the one or more objects is annotated, automatically reconstructing the definitions of the complex objects within the collection using a wizard, wherein: the wizard uses an XML plug-in to determine how to handle the collection; the reconstructing using the wizard comprises: retrieving the one or more base objects for the collection using the one or more annotations determined from the one or more objects of the collection; retrieving a template for reconstructing the collection as an XML using the retrieved one or more base objects for the collection; and reconstructing the collection by wrapping the retrieved one or more base objects as elements in the retrieved template; and the method is implemented in a computing infrastructure.