function in-parameter mapping in wsdl - element or attribute?
posted 10 years ago
I am planing to expose a web function as the webservice to our client. the function expects total 11 in-parameters. they are quite complicated, Some are required and some are optional. some are even conditional optional.
I'd like to ask which way I map the in-parameter in the WSDL is better? - map the parameter as complex elements or map them as element attributes? if map them as attributes, then how it is going to affect my webservice function declaration at java code?