Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to switch on wsdl 2.0?

 
Minhaj Mehmood
Ranch Hand
Posts: 400
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following is my sample program using JAW-WS.




Following is generated wsdl @ http://localhost:8080/ts?wsdl



The above generated wsdl is wsdl 1.2 version.

So my question is how to switch on wsdl 2.0? is there any annotation?

For Example:

To switch between Document and RPC soap binding style we have following annotations.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
It seems like the reference implementation of JAX-WS (Metro) does not have support for WSDL 2.0.
Take a look at this issue opened 2007, which looks like it still hasn't been resolved: https://jax-ws.dev.java.net/issues/show_bug.cgi?id=392
Other web service stacks may include support for WSDL 2.0.
Best wishes!
 
Minhaj Mehmood
Ranch Hand
Posts: 400
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Strange!! which version exam covers? any idea?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic