NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Sean Kennedy
Joined: 11 Dec 2008 Posts: 4
|
Posted: Fri May 14, 2010 10:40 am Post subject: SOAP and WSDL versions supported? |
|
|
Hi,
I am using NB 6.5 and was wondering what versions of SOAP and WSDL does it support? How do I find out? Also, what version of NB supports what versions of SOAP and WSDL (a table if you like).
Thanks,
Sean. |
|
| Back to top |
|
 |
mkuchtiak Posted via mailing list.
|
Posted: Thu May 20, 2010 4:14 am Post subject: Re: SOAP and WSDL versions supported? |
|
|
Sean Kennedy wrote:
| Quote: | Hi,
I am using NB 6.5 and was wondering what versions of SOAP and WSDL does it support? How do I find out? Also, what version of NB supports what versions of SOAP and WSDL (a table if you like).
| Since 6.5 (may be even from 6.1) Netbeans supports both SOAP1.1 and
SOAP1.2, and WSDL1.1 (As far as I know, WSDL 2.0 isn't supported by
JAX-WS 2.2 yet).
Milan
|
|
| Back to top |
|
 |
Sean Kennedy
Joined: 11 Dec 2008 Posts: 4
|
Posted: Thu May 20, 2010 8:03 am Post subject: |
|
|
Hi Milan,
Is there a default SOAP version e.g. 1.1? I don't remember when I was creating a WS, being asked which version of SOAP I wanted to use? How do I change to a different version of SOAP?
Thanks,
Sean. |
|
| Back to top |
|
 |
mkuchtiak Posted via mailing list.
|
Posted: Fri May 21, 2010 9:12 am Post subject: Re: SOAP and WSDL versions supported? |
|
|
The default is 1.1.
There is an editor action(providing you're creating WS from Java):
Insert Code(ALT-Insert) -> Switch to Soap 1.2.
The following change should happen:
@WebService()
@BindingType(value =
"http://java.sun.com/xml/ns/jaxws/2003/05/soap/bindings/HTTP/")
public class Hello {
...
}
Then, after you deploy the service and display the wsdl wile in your
browser (e.g. http://localhost:8080/WebApplication/HelloService?wsdl),
you should see the soap12 binding element, within the wsdl:binding element:
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
I just noticed the GlassFish tester page fails for soap1.2 services.
Will report a bug towards GlassFish V3.
Milan
Sean Kennedy wrote:
| Quote: | Hi Milan,
Is there a default SOAP version e.g. 1.1? I don't remember when I was creating a WS, being asked which version of SOAP I wanted to use? How do I change to a different version of SOAP?
Thanks,
Sean.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|