NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

SOAP and WSDL versions supported?

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Sean Kennedy



Joined: 11 Dec 2008
Posts: 4

PostPosted: Fri May 14, 2010 10:40 am    Post subject: SOAP and WSDL versions supported? Reply with 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).

Thanks,
Sean.
Back to top
mkuchtiak
Posted via mailing list.





PostPosted: Thu May 20, 2010 4:14 am    Post subject: Re: SOAP and WSDL versions supported? Reply with quote

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
Quote:
Thanks,
Sean.




Back to top
Sean Kennedy



Joined: 11 Dec 2008
Posts: 4

PostPosted: Thu May 20, 2010 8:03 am    Post subject: Reply with 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
mkuchtiak
Posted via mailing list.





PostPosted: Fri May 21, 2010 9:12 am    Post subject: Re: SOAP and WSDL versions supported? Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo