It is not possible to serialize an org.w3c.dom.Element object on a web service 
deployed by XFire
------------------------------------------------------------------------------------------------

                 Key: XFIRE-751
                 URL: http://jira.codehaus.org/browse/XFIRE-751
             Project: XFire
          Issue Type: Bug
          Components: Annotations
    Affects Versions: 1.2.2
         Environment: tomcat 5.0.28, jdk 1.5, windows 2003
            Reporter: Enrico Consiglio
         Assigned To: Dan Diephouse
            Priority: Critical
         Attachments: srvPolyConnector.wsdl

When I call the web service method InsertContent by wich I pass an XML element 
(org.w3c.dom.Element generated by XFire ) it raises the following exception

Exception in thread "main" java.lang.StackOverflowError
        at 
com.ctc.wstx.sw.BufferingXmlWriter.writeRaw(BufferingXmlWriter.java:262)
        at 
com.ctc.wstx.sw.BufferingXmlWriter.writeAttribute(BufferingXmlWriter.java:777)
        at 
com.ctc.wstx.sw.BaseNsStreamWriter.doWriteAttr(BaseNsStreamWriter.java:467)
        at 
com.ctc.wstx.sw.SimpleNsStreamWriter.writeAttribute(SimpleNsStreamWriter.java:96)
        at org.codehaus.xfire.util.STAXUtils.writeElement(STAXUtils.java:363)
        at org.codehaus.xfire.util.STAXUtils.writeNode(STAXUtils.java:388)
        at org.codehaus.xfire.util.STAXUtils.writeElement(STAXUtils.java:377)
        at 
org.codehaus.xfire.aegis.type.xml.DocumentType.writeObject(DocumentType.java:72)
        at 
org.codehaus.xfire.aegis.type.basic.BeanType.writeObject(BeanType.java:417)
        at 
org.codehaus.xfire.aegis.type.basic.BeanType.writeObject(BeanType.java:417)
        at 
org.codehaus.xfire.aegis.type.basic.BeanType.writeObject(BeanType.java:417)
        at 
org.codehaus.xfire.aegis.type.basic.BeanType.writeObject(BeanType.java:417)....

I attach the web services WSDL,

thanks,
enrico

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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to