File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes how to switch on wsdl 2.0? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "how to switch on wsdl 2.0? " Watch "how to switch on wsdl 2.0? " New topic
Author

how to switch on wsdl 2.0?

Minhaj Mehmood
Ranch Hand

Joined: Jan 22, 2007
Posts: 400

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.


SCJP6 96% | SCWCD5 81% | SCDJWS5 79%
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!


My free books and tutorials: http://www.slideshare.net/krizsan
Minhaj Mehmood
Ranch Hand

Joined: Jan 22, 2007
Posts: 400

Strange!! which version exam covers? any idea?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to switch on wsdl 2.0?