I developed a standalone client in NetBeans 6.5 to consume a WISG web services. But whenever i try to invoke a service, this exception is thrown: Exception in thread "main" com.sun.xml.internal.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/html; charset=utf-8 Supported ones are: [text/xml] . the WISG web services was deployed in tomcat server. Can anyone be of help please. It is urgent. Thanks.
The web service request seem to result in a webpage (HTML) being returned by the server, instead of a web service reply.
Use soapUI to send a reques to the web service and view the response or use a packet sniffer, like WireShark, to look at the request to and the response from the web service.