axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastien Bigot (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2C-1475) Bad interaction between AXIS2_XML_PARSER_TYPE_BUFFER, axiom_soap_body_has_fault and XML escape sequence
Date Mon, 19 Apr 2010 07:37:49 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebastien Bigot updated AXIS2C-1475:
------------------------------------

    Description: 
In order to check for soap Fault, I'm using the axiom_soap_body_has_fault with an axiom_xml_reader
of kind AXIS2_XML_PARSER_TYPE_BUFFER.
If the soap Body contains some XML escape sequences (&amp;, &lt;, ...), since the
XML sequence escaping is done in place by the guththila_token_evaluate_references function,
the Soap buffer is then corrupted.
For example if the soap Body contains
<urlAddress>http://test.net/application?event=callBack&amp;pageid=test&amp;flowId=justification&amp;portletid=test&amp;STATUS=OK</urlAddress>
after the call to axiom_soap_body_has_fault , the buffer then contains:
<urlAddress>http://test.net/application?event=callBack&pageid=test&flowId=justification&portletid=test&STATUS=OKst&amp;STATUS=OK</urlAddress>
which is bad.

  was:
In order to check for soap Fault, I'm using the axiom_soap_body_has_fault with an axiom_xml_reader
of kind AXIS2_XML_PARSER_TYPE_BUFFER.
If the soap Body contains some XML escape sequences (&amp;, &lt;, ...), since the
XML sequence escaping is done in place by the guththila_token_evaluate_references functioin,
the Soap buffer is then corrupted.
For example if the soap Body contains
<urlAddress>http://test.net/application?event=callBack&amp;pageid=test&amp;flowId=justification&amp;portletid=test&amp;STATUS=OK</urlAddress>
the buffer then contains:
<urlAddress>http://test.net/application?event=callBack&pageid=test&flowId=justification&portletid=test&STATUS=OKst&amp;STATUS=OK</urlAddress>
which is bad.


> Bad interaction between AXIS2_XML_PARSER_TYPE_BUFFER, axiom_soap_body_has_fault and XML
escape sequence
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-1475
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1475
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: guththila
>    Affects Versions: 1.6.0
>            Reporter: Sebastien Bigot
>             Fix For: 1.7.0
>
>
> In order to check for soap Fault, I'm using the axiom_soap_body_has_fault with an axiom_xml_reader
of kind AXIS2_XML_PARSER_TYPE_BUFFER.
> If the soap Body contains some XML escape sequences (&amp;, &lt;, ...), since
the XML sequence escaping is done in place by the guththila_token_evaluate_references function,
the Soap buffer is then corrupted.
> For example if the soap Body contains
> <urlAddress>http://test.net/application?event=callBack&amp;pageid=test&amp;flowId=justification&amp;portletid=test&amp;STATUS=OK</urlAddress>
> after the call to axiom_soap_body_has_fault , the buffer then contains:
> <urlAddress>http://test.net/application?event=callBack&pageid=test&flowId=justification&portletid=test&STATUS=OKst&amp;STATUS=OK</urlAddress>
> which is bad.

-- 
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: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Mime
View raw message