users@glassfish.java.net

Does JAX-WS client timeout throw a UnsupportedMediaException ?

From: <forums_at_java.net>
Date: Thu, 15 Mar 2012 14:44:43 -0500 (CDT)

I have a JAX-WS client and when a query runs for longer than 30 seconds I
get this Exception:

com.sun.xml.internal.ws.server.UnsupportedMediaException: Unsupported
Content-Type: text/html Supported ones are: [text/xml]
This seems to be a timeout on the client side.  On the server there are no
exceptions and the process continues running after the client throws the
Exception.

Is there a way to determine what the timeout is on the JAX-WS client?  This
thread seems to indicate the same thing:

 

 

https://forums.oracle.com/forums/thread.jspa?threadID=1666087


--
[Message sent by forum member 'dwschulze']
View Post: http://forums.java.net/node/884312