init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: do-dist: dist: run-deploy: Starting server GlassFish In-place deployment at C:\projects\SampleApp\build\web Start registering the project's server resources Finished registering server resources moduleID=SampleApp deployment started : 0% deployment finished : 100% Deploying application in domain completed successfully Trying to create reference for application in target server completed successfully Trying to start application in target server completed successfully Deployment of application SampleApp completed successfully Enable of SampleApp in target server completed successfully Enable of application in all targets completed successfully All operations completed successfully run-display-browser: Browsing: http://localhost:8080/SampleApp/hello?wsdl run: running wsimport Compiling 6 source files to C:\projects\SampleApp\build\test\classes compile-test: Feb 7, 2006 3:49:31 PM com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message 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? at com.sun.xml.ws.util.SOAPUtil.createMessage(SOAPUtil.java:152) at com.sun.xml.ws.util.SOAPConnectionUtil.getSOAPMessage(SOAPConnectionUtil.java:76) at com.sun.xml.ws.encoding.soap.client.SOAPXMLDecoder.toSOAPMessage(SOAPXMLDecoder.java:97) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:456) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:288) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:153) at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:85) at com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:176) at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:105) at $Proxy17.hello(Unknown Source) at my.sample.test.ServiceTest.test1(ServiceTest.java:24) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567) Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response? at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:581) Testsuite: my.sample.test.ServiceTest at com.sun.xml.messaging.saaj.soap.MessageImpl.(MessageImpl.java:254) Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.531 sec ------------- Standard Error ----------------- Feb 7, 2006 3:49:31 PM com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message 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? at com.sun.xml.ws.util.SOAPUtil.createMessage(SOAPUtil.java:152) at com.sun.xml.ws.util.SOAPConnectionUtil.getSOAPMessage(SOAPConnectionUtil.java:76) at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.(Message1_1Impl.java:49) at com.sun.xml.ws.encoding.soap.client.SOAPXMLDecoder.toSOAPMessage(SOAPXMLDecoder.java:97) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:456) at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:43) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:288) at com.sun.xml.ws.util.SOAPUtil.createMessage(SOAPUtil.java:150) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:153) at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:85) at com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:176) ... 25 more at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:105) at $Proxy17.hello(Unknown Source) at my.sample.test.ServiceTest.test1(ServiceTest.java:24) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567) Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response? at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:581) at com.sun.xml.messaging.saaj.soap.MessageImpl.(MessageImpl.java:254) at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.(Message1_1Impl.java:49) at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:43) at com.sun.xml.ws.util.SOAPUtil.createMessage(SOAPUtil.java:150) ... 25 more ------------- ---------------- --------------- Testcase: test1(my.sample.test.ServiceTest): Caused an ERROR 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? javax.xml.ws.WebServiceException: 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? at com.sun.xml.ws.util.SOAPConnectionUtil.getSOAPMessage(SOAPConnectionUtil.java:81) at com.sun.xml.ws.encoding.soap.client.SOAPXMLDecoder.toSOAPMessage(SOAPXMLDecoder.java:97) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:456) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:288) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:153) at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:85) at com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:176) at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:105) at $Proxy17.hello(Unknown Source) at my.sample.test.ServiceTest.test1(ServiceTest.java:24) Caused by: 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? at com.sun.xml.ws.util.SOAPUtil.createMessage(SOAPUtil.java:152) at com.sun.xml.ws.util.SOAPConnectionUtil.getSOAPMessage(SOAPConnectionUtil.java:76) ... 24 more Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response? at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:581) at com.sun.xml.messaging.saaj.soap.MessageImpl.(MessageImpl.java:254) at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.(Message1_1Impl.java:49) at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:43) at com.sun.xml.ws.util.SOAPUtil.createMessage(SOAPUtil.java:150) ... 25 more Test my.sample.test.ServiceTest FAILED test-report: C:\projects\SampleApp\nbproject\build-impl.xml:697: Some tests failed; see details above. BUILD FAILED (total time: 1 minute 13 seconds)