Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

could not see SOAPBinding "use" as literal  RSS feed

 
onisha jain
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried with both of the bindings:
@SOAPBinding(style = Style.RPC,use=Use.ENCODED)
@SOAPBinding(style = Style.RPC)

In wsdl, use attribute is always "literal".

Can some one guide why is it so?
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Posts: 2921
205
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is because you are using JAX-WS 2.x to generate the WSDL.

JAX-WS 2.x is WS-I Basic Profile v1.1 compliant and that prohibits the use of encoded.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!