Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-3019

Example doc/examples/jboss-web-services-examples/context/java/org/jboss/test/ws/jaxws/samples/context is not working

XMLWordPrintable

    • Release Notes

      Documentation for EAP 5.0.0 contains examples and one example is not working properly.
      Example doc/examples/jboss-web-services-examples/context/java/org/jboss/test/ws/jaxws/samples/context produces following exceptions:
      2009-10-27 21:32:10,857 ERROR [org.jboss.ws.core.CommonClient:419] Exception caught while (preparing for) performing the invocation:
      javax.xml.ws.soap.SOAPFaultException: java.lang.ClassCastException: java.net.URI cannot be cast to org.xml.sax.InputSource
      at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:84)
      at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:107)
      at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:558)
      at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:373)
      at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:231)
      at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:162)
      at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:148)
      at $Proxy9.testMessageContextProperties(Unknown Source)
      at org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase.testMessageContextProperties(Unknown Source)
      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:597)
      at junit.framework.TestCase.runTest(TestCase.java:164)
      at junit.framework.TestCase.runBare(TestCase.java:130)
      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:120)
      at junit.framework.TestSuite.runTest(TestSuite.java:230)
      at junit.framework.TestSuite.run(TestSuite.java:225)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
      at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
      at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)

              rsvoboda@redhat.com Rostislav Svoboda
              pskopek@redhat.com Peter Skopek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: