Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-324

Cannot unmarshall complex UserException

XMLWordPrintable

      $ ant -Dtest=org.jboss.test.webservice.exception.ExceptionTestCase one-test

      2005-07-14 21:12:03,288 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] unbindResponseMessage:

      {http://org.jboss.webservice/exception}

      throwExceptionWithMessage
      2005-07-14 21:12:03,298 DEBUG [org.jboss.xb.binding.sunday.unmarshalling.XsdBinder] loading xsd: file:/c:/DOCUME~1/Thomas/LOCALS~1/Temp/JBossWS_org.jboss.webservice.exception.types28699.xsd
      2005-07-14 21:12:03,298 ERROR [org.jboss.ws.jaxrpc.FaultException] Cannot deserialize fault detail
      org.jboss.xb.binding.JBossXBRuntimeException: class org.jboss.test.webservice.exception.UserMessageException doesn't declare no-arg constructor: element=

      {http://org.jboss.webservice/exception/types}

      UserMessageException, type=

      {http://org.jboss.webservice/exception/types}

      UserMessageException
      at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler.newInstance(RtElementHandler.java:896)
      at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler.startElement(RtElementHandler.java:269)
      at org.jboss.xb.binding.sunday.unmarshalling.TypeBinding.startElement(TypeBinding.java:183)
      at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:237)
      at org.jboss.xb.binding.parser.xni.XniJBossXBParser$DocumentParser.startElement(XniJBossXBParser.java:331)
      at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.jboss.xb.binding.parser.xni.XniJBossXBParser.parse(XniJBossXBParser.java:194)
      at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:112)
      at org.jboss.ws.jaxb.JAXBUnmarshallerImpl.unmarshal(JAXBUnmarshallerImpl.java:67)
      at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:82)
      at org.jboss.ws.jaxrpc.FaultException.getFaultException(FaultException.java:131)

            olubyans@redhat.com Alexey Loubyansky
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: