I have a simple jaxws web service containing 2 simple web methods with jaxws annotations. Web references can be generated sucessfully from the wsdl url,but when accessing the url from browser, I can see no output .Actually service should response descrioption of itselt in xml format. right? I accessed some other services and they all response description in xml . What will i do to make my service response xml when accessing from browser.
Requests sent to JAX-WS web services always use the HTTP POST method. When you access a JAX-WS web service endpoint from a browser, you access it using HTTP method GET, which will not be able to send a request payload to the service.
Instead, I recommend using soapUI to test a web service.