axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Thaker (JIRA)" <>
Subject [jira] Updated: (AXIS2-977) JAXBSource implementation for Dispatch and Fix to SourceBlockImpl when creating Reader for Source api.
Date Sun, 06 Aug 2006 14:35:15 GMT
     [ ]

Nikhil Thaker updated AXIS2-977:

    Attachment: JIRA_977_XMLSpingImpl_src.txt

added the small fix to XMLSpineImpl (i.e. the invalid call to the SOAP11 Factory in the SOAP12
if statement.)

> JAXBSource implementation for Dispatch and Fix to SourceBlockImpl when creating Reader
for Source api.
> ------------------------------------------------------------------------------------------------------
>                 Key: AXIS2-977
>                 URL:
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Rich Scheuerle
>            Priority: Minor
>         Attachments: JIRA_977_Dispatch_JAXBSource_Test.txt, JIRA_977_SourceBlockImpl_src.txt,
JIRA_977_Updated_Dispatch_JAXBSource_Test.txt, JIRA_977_XMLSpingImpl_src.txt
> I was getting error when invoking Dispatch with JABSource as Input parameter. Following
is the stacktrace for it:
> Can only create STaX reader for a SAXSource if Reader
or InputStream exposed via getSource(); can not use other sources (like embedded SAX readers)
> 	at com.ctc.wstx.stax.WstxInputFactory.createSR(
> 	at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(
> 	at org.apache.axis2.jaxws.message.databinding.impl.SourceBlockImpl._getReaderFromBO(
> 	at org.apache.axis2.jaxws.message.impl.BlockImpl.getXMLStreamReader(
> 	at org.apache.axis2.jaxws.message.impl.XMLStreamReaderForXMLSpine.pushBlocks(
> 	at
> 	at
> 	at
> 	at
> 	at
> 	at
> 	at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(
> 	at
> 	at
> 	at org.apache.axis2.jaxws.message.MessageTests.testJAXBSourceInFlow1(
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> 	at java.lang.reflect.Method.invoke(
> 	at junit.framework.TestCase.runTest(
> 	at junit.framework.TestCase.runBare(
> 	at junit.framework.TestResult$1.protect(
> 	at junit.framework.TestResult.runProtected(
> 	at
> 	at
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
> 	at
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
> I have found a fix for it and will be providing patch for this fix and a test case to
make sure JAXBSource Dispatch is invoked properly. I will also add a new BlockTest for JAXBSource.
> The is fix will be to use Transoform api and convert the JAXBSoruce to bytes and create
reader from the bytes.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message