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 "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2006/07/20 20:01:15 UTC

[jira] Assigned: (AXIS2-912) JAXWS: Unable to serialize DOMSource blocks

     [ http://issues.apache.org/jira/browse/AXIS2-912?page=all ]

Rich Scheuerle reassigned AXIS2-912:
------------------------------------

    Assignee: Rich Scheuerle

> JAXWS: Unable to serialize DOMSource blocks
> -------------------------------------------
>
>                 Key: AXIS2-912
>                 URL: http://issues.apache.org/jira/browse/AXIS2-912
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt
>
>
> I've added some tests for additional datatypes to the BlockTests.  I added one for SAXSource, which works fine, and one for DOMSource which fails.  The failure occurs when we try to simulate how the Message object will get at the Block content.  The failure looks like this:
>     <error message="java.lang.IllegalArgumentException: local part cannot be &quot;null&quot; when creating a QName" type="org.apache.axiom.om.OMException">org.apache.axiom.om.OMException: java.lang.IllegalArgumentException: local part cannot be &quot;null&quot; when creating a QName
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:206)
> 	at org.apache.axiom.om.impl.llom.OMDocumentImpl.buildNext(OMDocumentImpl.java:183)
> 	at org.apache.axiom.om.impl.llom.OMDocumentImpl.getFirstOMChild(OMDocumentImpl.java:255)
> 	at org.apache.axiom.om.impl.llom.OMDocumentImpl.getChildren(OMDocumentImpl.java:231)
> 	at org.apache.axis2.jaxws.message.util.Reader2Writer.outputTo(Reader2Writer.java:58)
> 	at org.apache.axis2.jaxws.message.util.Reader2Writer.getAsString(Reader2Writer.java:74)
> 	at org.apache.axis2.jaxws.message.BlockTests.testDOMSourceOutflow(BlockTests.java:938)
> 	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.lang.IllegalArgumentException: local part cannot be &quot;null&quot; when creating a QName
> 	at javax.xml.namespace.QName.&lt;init&gt;(Unknown Source)
> 	at com.ctc.wstx.dom.DOMWrappingReader.constructQName(DOMWrappingReader.java:1284)
> 	at com.ctc.wstx.dom.DOMWrappingReader.getName(DOMWrappingReader.java:460)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:130)
> 	... 27 more
> </error>

-- 
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