You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2006/04/16 12:46:00 UTC

[jira] Commented: (AXIS2C-129) SOAP builder fails for a message with a very large SOAP header

    [ http://issues.apache.org/jira/browse/AXIS2C-129?page=comments#action_12374686 ] 

Samisa Abeysinghe commented on AXIS2C-129:
------------------------------------------

Did a hack in soap_builder.c to get around the problem. Basically the problem is in the handling of element_level in om_stax_builder.c.

Could not figure out what the exact reason for this, but when reading the SOAP header, the element level goes below 1, which is invalid, basically the events generated in case of space events and empty tag events cause this to happen.

> SOAP builder fails for a message with a very large SOAP header
> --------------------------------------------------------------
>
>          Key: AXIS2C-129
>          URL: http://issues.apache.org/jira/browse/AXIS2C-129
>      Project: Axis2-C
>         Type: Bug

>   Components: xml/soap
>     Versions: Current (Nightly)
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>     Priority: Critical
>      Fix For: 0.91
>  Attachments: addr_err_envlp.xml
>
> It fails for some or the other reason and the error shown is wired: AXIS2_ERROR_SOAP_BUILDER_ENVELOPE_CAN_HAVE_ONLY_HEADER_AND_BODY.
> But I have only one body in the incomming message.
> This failure occures with the SOAP test as well when I run the test with the input message.

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