This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
Nondescript "Unsupported Content-Type" error when connecting to https Sharepoint web services
Is JAX-WS method ArrayList
"Unsupported Content-Type: text/html;charset=utf-8 Supported ones are: [text/xml]"
First JAX-WS webservice results in UnsupportedMediaException
JAX-WS Client - Unsupported Content-Type issue