2 Replies Latest reply on Mar 6, 2005 11:38 PM by rajdeep dua

    TEST-org.jboss.test.ws.attachment.AttachmentDIITestCase all

    rajdeep dua Newbie

      My intention is to get familiarised with jboss webservice module,not sure why this is happening

      Why are the calls going to axis impl? still
      Any idea why this might be happening

      Client side Exception :

      Testsuite: org.jboss.test.ws.attachment.AttachmentDIITestCase
      Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 2.864 sec
      ------------- Standard Output ---------------
      URL:file:/E:/rajdeep/jboss/jboss-head/webservice/test/output/libs/jbossws-attachment.war
      URL:file:/E:/rajdeep/jboss/jboss-head/webservice/test/output/libs/jbossws-attachment.war
      ------------- ---------------- ---------------
      
      Testcase: testSendMimeImageJPEG took 0.851 sec
       Caused an ERROR
      Client invocation failed
      javax.xml.rpc.JAXRPCException: Client invocation failed
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:476)
       at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:283)
       at org.jboss.test.ws.attachment.AttachmentDIITestCase.sendAndValidateMimeMessage(AttachmentDIITestCase.java:195)
       at org.jboss.test.ws.attachment.AttachmentDIITestCase.testSendMimeImageJPEG(AttachmentDIITestCase.java:99)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
       at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
       at junit.extensions.TestSetup.run(TestSetup.java:23)
      Caused by: javax.xml.soap.SOAPException: Could not transmit message
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:100)
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:451)
       ... 22 more
      Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:149)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:69)
       at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:117)
       at org.jboss.remoting.Client.invoke(Client.java:201)
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:96)
       ... 23 more
      Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/jbossws-attachment
       at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:789)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:134)
       ... 27 more


      Server side Exception

      005-03-02 12:53:49,716 ERROR [org.jboss.webservice.server.ServerEngine] Server error
      javax.xml.soap.SOAPException: org.apache.axis.AxisFault: Invalid encoding name "UTF-8"; START="<ROOTPART@WS.JBOSS.ORG>"; BOUNDARY="----=_PART_0_25865024.1109768029626"".
       at org.apache.axis.MessagePart.getEnvelope(MessagePart.java:1080)
       at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:62)
       at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:975)
       at org.jboss.webservice.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:84)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: org.apache.axis.AxisFault: Invalid encoding name "UTF-8"; START="<ROOTPART@WS.JBOSS.ORG>"; BOUNDARY="----=_PART_0_25865024.1109768029626"".
       at org.apache.axis.AxisFault.makeFault(AxisFault.java:146)
       at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:664)
       at org.apache.axis.MessagePart.getEnvelope(MessagePart.java:1076)
       ... 25 more
      Caused by: org.xml.sax.SAXParseException: Invalid encoding name "UTF-8"; START="<ROOTPART@WS.JBOSS.ORG>"; BOUNDARY="----=_PART_0_25865024.1109768029626"".
       at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
       at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
       at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
       at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
       at org.apache.xerces.impl.XMLEntityManager.createReader(Unknown Source)
       at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
       at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at javax.xml.parsers.SAXParser.parse(Unknown Source)
       at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:258)
       at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:657)
       ... 26 more