axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-913) JAXWS: Error when serializing a Message containing a JAXBBlock
Date Thu, 20 Jul 2006 18:03:18 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-913?page=all ]

Rich Scheuerle reassigned AXIS2-913:
------------------------------------

    Assignee: Rich Scheuerle

> JAXWS: Error when serializing a Message containing a JAXBBlock
> --------------------------------------------------------------
>
>                 Key: AXIS2-913
>                 URL: http://issues.apache.org/jira/browse/AXIS2-913
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt
>
>
> I've created a couple of JAX-B tests for the MessageTests suite.  The inflow test (creating
a message with a JAXBBlock) works fine, but there's a problem with the outflow.  When trying
to serialize the message in the outflow case, the following error is thrown:
>     <error message="Unbound namespace URI &apos;http://test&apos;" type="javax.xml.stream.XMLStreamException">javax.xml.stream.XMLStreamException:
Unbound namespace URI &apos;http://test&apos;
> 	at com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartOrEmpty(SimpleNsStreamWriter.java:240)
> 	at com.ctc.wstx.sw.BaseNsStreamWriter.writeStartElement(BaseNsStreamWriter.java:273)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeStartElement(MTOMXMLStreamWriter.java:87)
> 	at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeElement(StreamingOMSerializer.java:123)
> 	at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeNode(StreamingOMSerializer.java:73)
> 	at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:56)
> 	at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSerializerUtil.java:325)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:792)
> 	at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:177)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:811)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:378)
> 	at org.apache.axis2.jaxws.message.MessageTests.testJAXBOutflow(MessageTests.java:304)
> 	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)
> </error>
> I'll dig in here and see what else I can find.

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