Pergunta

As stated in this link: link

there are two ways to deal with OUT parameters when generating java classes from wsdl which handle OUT parameters

  • holder types
  • return type

When using Eclipse's Web Service and Web Service Client wizards I am getting classes generated according to first way mentioned above (holder classes).

Is there a way to configure eclipse in such a way, that I would be able to generate my java code using second way mentioned earlier (one return type)?

As far as I know after browsing the internet I am intrested in so called "BARE" mode while generating service classes.

Foi útil?

Solução

Interface adnotation:

@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top