Defining optional parameters (elements) for a web services, using a bottow-up approach
posted 2 years ago
Im using IBM RAd/eclipse to create a bottow-up web service. My method have some input and ouput paramteres defnied as classes. Now I need to add a new input parameter but dont want to break compatibility with current clients. So, I need this new input parameter to be an optional parameter.
Is this possible to accomplish using the webservices wizard tool (from eclipe/IBM RAD). MAybe with a anotation or something like that?
I mean that when the webservices wizard reads the input and the output paramters of my method to create a wsdl file, I want some of those parameters as optional in the wsdl file. How can I control this (using the wizard)?