Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

function in-parameter mapping in wsdl - element or attribute?  RSS feed

grace smith
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?

please help, thanks
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!