[ 
https://issues.apache.org/jira/browse/AXIS2C-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200420#comment-13200420
 ] 

Juraj Ivančić commented on AXIS2C-1582:
---------------------------------------

Yes patch 5 is wrong, I don't know what I was thinking. The problem I have
here is that I receive soapenv:Sender instead of soapenv:Client when using SOAP 
1.1.

I think the following is correct:

if ( skel_invoked )
{
    if soap11
        AXIOM_SOAP11_FAULT_CODE_SENDER
    else
        AXIOM_SOAP12_FAULT_CODE_SENDER
}
else
{
    if soap11
        AXIOM_SOAP11_FAULT_CODE_RECEIVER
    else
        AXIOM_SOAP12_FAULT_CODE_RECEIVER
}

                
> Bugfixes and API additions
> --------------------------
>
>                 Key: AXIS2C-1582
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1582
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/deployment, core/transport, guththila
>            Reporter: Juraj Ivančić
>            Assignee: Nandika Jayawardana
>         Attachments: 
> 0001-Add-AXIOM-API-for-fetching-previous-and-next-sibling.patch, 
> 0002-Add-API-for-removing-fault-from-SOAP-Body.-This-is-n.patch, 
> 0002-Add-API-for-removing-fault-from-SOAP-Body.-This-is-n.patch, 
> 0003-Fix-a-bug-when-using-SOAP-1.1.-Fault-conversion-from.patch, 
> 0004-Add-API-for-retrieving-dep_engine-from-conf.-Useful-.patch, 
> 0005-Fix-fault-value-in-case-SOAP-1.1.-is-used.-I-am-not-.patch, 
> 0006-Set-dep_engine-to-conf-as-soon-as-dep_engine-is-crea.patch
>
>
> 1. Add AXIOM API for fetching previous and next sibling elements. Useful when 
> we want to skip XML whitespace nodes constructed as AXIOM_TEXT.
> 2. Add API for removing fault from SOAP Body. This is needed by e.g. Rampart 
> in case we are encrypting SOAP body, thus destroying its nested fault 
> structure.
> 3.Fix a bug when using SOAP 1.1. Fault conversion from SOAP 1.2 to 1.1 was 
> occurring too late - the SOAP body could have already been encrypted by 
> Rampart. In this case Axis2/C crashed because of a dangling reference.
> 4.Add API for retrieving dep_engine from conf. Useful when embedding Axis2/C 
> (e.g. when svc implementation is in the loading process instead of the shared 
> library).
> 5.Fix fault value in case SOAP 1.1. is used. I am not clear why this code was 
> here in the first place. It seems to have been intentionally added, but 
> reason for this inaccuracy eludes me.
> 6.Set dep_engine to conf as soon as dep_engine is created. A lot of code 
> expects that conf has dep_engine available and causes a crash.
> These are independent of one another and can be applied separately.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: c-dev-h...@axis.apache.org

Reply via email to