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

Cannot unmarshall xsi:nil='1'

XMLWordPrintable

      $ ant -Dtest=org.jboss.test.webservice.marshalltest.MarshallRpcLiteralTestCase one-test

      <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
      <env:Header/>
      <env:Body>
      <ns1:echoInteger xmlns:ns1='http://org.jboss.webservice/marshalltest-rpclit'>
      <BigInteger_1 xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:nil='1'/>
      </ns1:echoInteger>
      </env:Body>
      </env:Envelope>

      java.lang.NullPointerException
      at java.math.BigInteger.<init>(BigInteger.java:270)
      at java.math.BigInteger.<init>(BigInteger.java:447)
      at org.jboss.xml.binding.SimpleTypeBindings.unmarshal(SimpleTypeBindings.java:702)
      at org.jboss.ws.jaxrpc.encoding.SimpleDeserializer.deserialize(SimpleDeserializer.java:29)
      at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:199)

              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: