• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

web service xml output

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
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.

Thanks



 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
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.
Best wishes!
 
They worship nothing. They say it's because nothing lasts forever. Like this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic