Amila has sent the following response on 26th March 2010.

Unfortunately we can not do this since axiom method looks like this.

.setProcessed();

it does not allow to unset it.

But when I am going through the code I saw Axis2 only gets the relevant
soap headers to do the must understand header check.
i.e.

Iterator headerBlocks = envelope.getHeader().getHeadersToProcess((
RolePlayer)msgContext.getConfigurationContext().getAxisConfiguration().
getParameterValue("rolePlayer"));

so I could solve this by setting the following RolePlayer to supper tenant.

public class SuperTenantRolePlayer implements RolePlayer{

    private List roles;

    public SuperTenantRolePlayer() {
        this.roles = new ArrayList();
        this.roles.add("supertenant");
    }

    public List getRoles() {
        return this.roles;
    }

    public boolean isUltimateDestination() {
        return false;
    }
}

thanks,
Amila.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to