File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Jax-WS client constructor with parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Jax-WS client constructor with parameters" Watch "Jax-WS client constructor with parameters" New topic
Author

Jax-WS client constructor with parameters

baran tamer
Ranch Hand

Joined: Jan 22, 2009
Posts: 33
Hello , i am trying to write a client code in a web server for a Jax-WS

I use 2 kind of constructors , one works fine and one doesnt
codes are below



This code works fine , connects to server does what i need to do.



Above code fails at 3rd line saying

Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]
com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]


I am probably missing an easy point here , any help would be appriciated


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jax-WS client constructor with parameters