Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jax-WS client constructor with parameters

 
baran tamer
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic