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

Invalid marshalling of QName

XMLWordPrintable

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

      <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
      <env:Header/>
      <env:Body>
      <ns1:echoQNameArray xmlns:ns1='http://org.jboss.webservice/marshalltest-rpclit'>
      <arrayOfQName_1 xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
      <value xmlns='uri'>loc1</value>
      <value xmlns='uri'>loc2</value>
      <value xmlns='uri'>loc3</value>
      </arrayOfQName_1>
      </ns1:echoQNameArray>
      </env:Body>
      </env:Envelope>

      org.jboss.xml.binding.JBossXBRuntimeException: Element

      {uri}

      value is not bound in type

      {http://org.jboss.webservice/marshalltest-rpclit/types/arrays/javax/xml/namespace}

      QNameArray
      at org.jboss.xml.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:247)
      at org.jboss.xml.binding.parser.xni.XniJBossXBParser$DocumentParser.startElement(XniJBossXBParser.java:331)

              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: