Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5384 Fix JBossWS regression for CR1
  3. JBAS-5388

JBossXBRuntimeException: Missing value for the required attribute

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.0.1.GA
    • None
    • None
    • None

      [tdiesler@tdvaio trunk]$ ant -Dtest=jaxrpc/jbws720 test

      tests-run-internal:
      [junit] Running org.jboss.test.ws.jaxrpc.jbws720.JBWS720TestCase
      [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 12.435 sec
      [junit] Test org.jboss.test.ws.jaxrpc.jbws720.JBWS720TestCase FAILED

      BUILD SUCCESSFUL
      Total time: 15 seconds
      [tdiesler@tdvaio trunk]$ cat output/tests/reports/TEST-org.jboss.test.ws.jaxrpc.jbws720.JBWS720TestCase.txt
      Testsuite: org.jboss.test.ws.jaxrpc.jbws720.JBWS720TestCase
      Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 12.435 sec

      Testcase: testLangEmptyAny took 4.263 sec
      Testcase: testEmptyLangEmptyAny took 0.041 sec
      Testcase: testLangAnyWithNamespace took 0.379 sec
      Testcase: testLangAnyWithoutNamespace took 0.041 sec
      Testcase: testAllNull took 0.009 sec
      Caused an ERROR
      Call invocation failed; nested exception is:
      java.io.IOException: Could not transmit message
      java.rmi.RemoteException: Call invocation failed; nested exception is:
      java.io.IOException: Could not transmit message
      at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:536)
      at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277)
      at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:156)
      at $Proxy5.getProperty(Unknown Source)
      at org.jboss.test.ws.jaxrpc.jbws720.JBWS720TestCase.testAllNull(JBWS720TestCase.java:126)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      Caused by: java.io.IOException: Could not transmit message
      at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:255)
      at org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:73)
      at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:339)
      at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517)
      ... 23 more
      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Missing value for the required attribute strAttr of element

      {http://org.jboss.test.ws/jbws720/types}

      getProperty
      at org.jboss.xb.binding.sunday.marshalling.DefaultAttributeMarshaller.marshalValue(DefaultAttributeMarshaller.java:90)
      at org.jboss.xb.binding.sunday.marshalling.AbstractAttributeMarshaller.marshal(AbstractAttributeMarshaller.java:39)
      at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalComplexType(MarshallerImpl.java:547)
      at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementType(MarshallerImpl.java:430)
      at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElement(MarshallerImpl.java:329)
      at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementOccurence(MarshallerImpl.java:309)
      at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshallInternal(MarshallerImpl.java:200)
      at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshal(MarshallerImpl.java:157)
      at org.jboss.ws.core.jaxrpc.binding.jbossxb.JBossXBMarshallerImpl.marshal(JBossXBMarshallerImpl.java:146)

              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: