[jboss-jira] [JBoss JIRA] Resolved: (JBAS-5388) JBossXBRuntimeException: Missing value for the required attribute
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Tue Jun 3 14:08:21 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5388?page=all ]
Thomas Diesler resolved JBAS-5388.
----------------------------------
Resolution: Done
I modified the schema. The new jbossxb version is more strict, but that's ok. It would only effect jaxrpc customers using this edge case.
> JBossXBRuntimeException: Missing value for the required attribute
> -----------------------------------------------------------------
>
> Key: JBAS-5388
> URL: http://jira.jboss.com/jira/browse/JBAS-5388
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Reporter: Thomas Diesler
> Assigned To: Alexey Loubyansky
> Fix For: JBossAS-5.0.1.CR1
>
>
> [tdiesler at 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 at 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list