[prev in list] [next in list] [prev in thread] [next in thread]
List: axis-c-dev
Subject: [jira] Updated: (AXIS2C-1475) Bad interaction between
From: "Sebastien Bigot (JIRA)" <jira () apache ! org>
Date: 2010-04-19 7:37:49
Message-ID: 32190578.6301271662669948.JavaMail.jira () thor
[Download RAW message or body]
[ 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 (&, <, ...), 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&pageid=test&flowId=justification&portletid=test&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&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 (&, <, ...), 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&pageid=test&flowId=justification&portletid=test&STATUS=OK</urlAddress>
the buffer then contains:
<urlAddress>http://test.net/application?event=callBack&pageid=test&flowId=justification&portletid=test&STATUS=OKst&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 (&, <, ...), 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&pageid=test&flowId=justification&portletid=test&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&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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic