You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Nikhil Thaker (JIRA)" <ji...@apache.org> on 2006/09/23 20:36:22 UTC
[jira] Created: (AXIS2-1223) DOC-LIT BARE Marshal Excption when
using primitive types in a Proxy Call.
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
[jira] Closed: (AXIS2-1223) DOC-LIT BARE Marshal Excption when
using primitive types in a Proxy Call.
Posted by "Nick Gallardo (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1223?page=all ]
Nick Gallardo closed AXIS2-1223.
--------------------------------
Resolution: Fixed
> 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
[jira] Updated: (AXIS2-1223) DOC-LIT BARE Marshal Excption when
using primitive types in a Proxy Call.
Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1223?page=all ]
Nikhil Thaker updated AXIS2-1223:
---------------------------------
Attachment: JIRA_1223_Marshal_Integer.txt
Attached is the JIRA for this issue
> 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