Hi, If you are using NetBean, would you be so kind to tell me how I can > upgrade JAX-WS for NetBean? >
yes I used NetBeans 6.5. What you need to do is upgarde Metro<https://metro.dev.java.net/>(which includes JAX-WS) : 1) Download <https://metro.dev.java.net/1.4/> and install metro to your JDK as described here ( https://metro.dev.java.net/guide/Using_JAX_WS_2_1_with_JavaSE6.html) configure NetBeans 2) Within the NetBeans build.properties file (eg C:\Users\robert\.netbeans\6.5\build.properties for Vista) set the property 'libs.jaxws21.classpath' to point to the Metro classes. It should look something like: libs.jaxws21.classpath=C:\\Program Files\\Java\\metro\\lib\\webservices-rt.jar;C:\\Program Files\\Java\\metro\\lib\\webservices-tools.jar Make sure not to include any *api.jar here. If you do wsimport wont work. 3) Configure a library in NetBeans for Metro using the Library Manager (Tools > Libraries). The library must contain webservices-rt.jar and webservices-tools.jar (so I'm not sure about the latter but it doesn't cause any trouble for me). Use this library for your client project. That's it. Hope this helps. robert
