Just another reason not to let a tool create your contract after the fact. Start with the contract (WSDL, WADL, XSD, etc.), then build your service to implement that contract / interface.
Design the messages that the operations in your interface will exchange, describe them as XML elements in a XML schema (XSD) then build your WSDL which imports the message definitions from the schema.
If you choose, you can have the WSD provider gizmo generate service stubs from your WSDL, but that’s just an option.
Mark
#webMethods#soa#API-Management