Skip to content

AxiomSoapHeaderElement has no convenient way to access child elements of the header element [SWS-243] #396

Closed
@gregturn

Description

@gregturn

Jim Cummings opened SWS-243 and commented

If you are using Axiom-based messages and you are trying to inspect complex SOAP header elements (say in an interceptor), then it is not easy to access the child elements of a AxiomSoapHeaderElement.

Ideally the general SoapHeaderElement interface would allow this. But the AxiomSoapHeaderElement does not either. The getAxiomHeaderBlock() method is protected too.

To get access to the underlying Axiom elements you have to go all the up to the AxiomSoapMessage and use getAxiomMessage() and drill down from there.

At a minimum it would be nice if the various AxiomSoap* classes had public methods to access the underlying Axiom elements.


Affects: 1.0.2

Issue Links:

Metadata

Metadata

Assignees

Labels

status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions