wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Jax-WS client constructor with parameters
 
Similar Threads
Is JAX-WS method ArrayList
JAX-WS Client - Unsupported Content-Type issue
Nondescript "Unsupported Content-Type" error when connecting to https Sharepoint web services
First JAX-WS webservice results in UnsupportedMediaException
"Unsupported Content-Type: text/html;charset=utf-8 Supported ones are: [text/xml]"