• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

how to switch on wsdl 2.0?  RSS feed

 
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.
 
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!