users@jax-ws.java.net

Bug in "Building JAX-WS 2.0 Services with Netberans 5.0 and Glass fish"

From: Colonel, Peter <Peter.Colonel_at_nuance.com>
Date: Fri, 3 Feb 2006 15:22:38 -0500

Hello:

Following this article results in the following error when attempting to use
the junit test, in the "Creating a client" section. The error is:

"Couldn't create SOAP message due to exception:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-type:
text/html. Is this an error message instead of a SOAP response?"

Further attempts to test the service (which deploys correctly and is visible
in the glassfish administration website) using the TestOperation feature
described in the section, "Using the Netbeans Web Services Registry",
results in the Java exception:

HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable
to internalize message

________________________________________

Peter J. Colonel
DNS Development

NUANCE COMMUNICATIONS, INC.
One Wayside Road
Burlington MA 01083

781 565 5000 Office
781 565 5001 Fax
NUANCE.COM <http://www.nuance.com/>
The experience speaks for itself (tm)