| Author |
how to determine wsdl version?
|
Minhaj Mehmood
Ranch Hand
Joined: Jan 22, 2007
Posts: 400
|
|
how to determine which wsdl version is used by looking at wsdl xml?
is there any annotation to switch wsdl version in JAX-WS end point?
|
SCJP6 96% | SCWCD5 81% | SCDJWS5 79%
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
Hi!
To determine which version a WSDL is of, take a look at the namespace in the <description> element:
WSDL 2.0: xmlns="http://www.w3.org/ns/wsdl"
WSDL 1.2: xmlns="http://schemas.xmlsoap.org/wsdl/"
Regarding your second, question: I am not entirely sure that JAX-WS indeed supports WSDL 2.0. Perhaps someone else can enlighten us.
Best wishes!
|
My free books and tutorials: http://www.slideshare.net/krizsan
|
 |
Minhaj Mehmood
Ranch Hand
Joined: Jan 22, 2007
Posts: 400
|
|
|
Thanks Ivan, I think you're referring to definitions node.
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
Ah, you caught me! :-)
Of course I was referring to the <definitions> node, even though I wrote the <description> element.
Thanks for pointing this error out!
|
 |
 |
|
|
subject: how to determine wsdl version?
|
|
|