axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Thaker (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1223) DOC-LIT BARE Marshal Excption when using primitive types in a Proxy Call.
Date Sat, 23 Sep 2006 18:36:22 GMT
DOC-LIT BARE Marshal Excption when using primitive types in a Proxy Call.
-------------------------------------------------------------------------

                 Key: AXIS2-1223
                 URL: http://issues.apache.org/jira/browse/AXIS2-1223
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Nikhil Thaker
            Priority: Minor
         Attachments: JIRA_1223_Marshal_Integer.txt

Here the stac trace that 

[com.sun.istack.SAXException2: unable to marshal type "java.lang.Integer" as an element because
it is missing an @XmlRootElement annotation]
	at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:295)
	at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:148)
	at org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl._outputFromBO(JAXBBlockImpl.java:156)
	... 42 more
Caused by: com.sun.istack.SAXException2: unable to marshal type "java.lang.Integer" as an
element because it is missing an @XmlRootElement annotation
	at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:221)
	at com.sun.xml.bind.v2.runtime.LeafBeanInfoImpl.serializeRoot(LeafBeanInfoImpl.java:101)
	at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:455)
	at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:292)
	... 44 more


I will attach a fix for this issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message