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

Cannot unmarshall simple UserException

XMLWordPrintable

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

      2005-07-14 20:59:29,695 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] unbindResponseMessage:

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

      throwException
      2005-07-14 20:59:29,725 DEBUG [org.jboss.xb.binding.sunday.unmarshalling.XsdBinder] loading xsd: file:/c:/DOCUME~1/Thomas/LOCALS~1/Temp/JBossWS_org.jboss.webservice.exception.types38729.xsd
      2005-07-14 20:59:29,775 ERROR [org.jboss.ws.jaxrpc.FaultException] Cannot deserialize fault detail
      java.lang.IllegalStateException: Invalid deserialization result: null
      at org.jboss.ws.jaxrpc.FaultException.getFaultException(FaultException.java:133)
      at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:404)
      at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:524)
      at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:332)
      at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:89)

      The deserialization result is null, which should only ever happen for xsi:nil="1"
      JBossXB should generate a descriptive error when unmarshalling fails.
      In this case the default ctor of the UserException should be called.

              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: