I need to "dive into JAX-WS programming".
So, I played around with Netbeans, after 20 or so erroneous attempts, finally managed to let a web service client execute a web service.
I noticed, that a lot of code is generated, especially JAXB classes for the web service response.
My current task is, to write a web service and web client completely by hand.
Is JAXB required at all? Is is part of the standard anyway? What would happen without it?
I took a wsdl and used eclipse to generate the service, serviceLocator, ws interface, ws binding stub, ws proxy, and then the client code. I added a main method and was able to hit the webservice successfully.
I used this tutorial as a guide with the url below and no, there are no jaxb objects as I'm not pulling any objects back in the simple example I used. I was just hitting some methods that pulled back a boolean value.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.