Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAX-WS sending Document/Literal Bare throws exception  RSS feed

Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have the following code deployed as Webservice :

@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public class CreditCardValidation {

public boolean validateCreditCard(CreditCard card,String name) throws CreditCardException {

The server while startup throws error that multiple parameters not supported while using BARE . I dont want to change my Webservice to WRAPPED. So is it possible to support multiple parameters by other way (other than wrapping the input parameters by my custom object ) ?
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!