[ 
https://issues.apache.org/jira/browse/TUSCANY-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521168
 ] 

Sunny Ip commented on TUSCANY-1541:
-----------------------------------

Looking at the javadocs for Axis2:
http://ws.apache.org/axis2/1_2/api/org/apache/axis2/client/OperationClient.html#complete(org.apache.axis2.context.MessageContext

it says "DO NOT call this method if you are not using two transports to send 
and receive". I wasn't sure if Tuscany is using two transports, but I tried to 
remove operation.complete(), and my client stops working after two invocations. 
If we need to call complete, then the entire XML will have to be parsed before 
we can call complete, which seems to negate the advantages of using StAX. Can 
somebody shed some light on this?

> XMLStreamException in when calling XMLHelper.load() with a large XML
> --------------------------------------------------------------------
>
>                 Key: TUSCANY-1541
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1541
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Problem Determination
>    Affects Versions: Java-SDO-Next
>         Environment: Tomcat
>            Reporter: Sunny Ip
>            Priority: Critical
>             Fix For: Java-SDO-Next
>
>
> When XMLHelper.load() is called with a very long XML string, OMStAXWrapper 
> throws an XMLStreamException. I get this problem when I'm receiving a WS 
> response with an SDO object containing a collection of records, leading to a 
> TransformationException when databinding. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to