Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!