Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-243

AxiomSoapHeaderElement has no convenient way to access child elements of the header element

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.5 M2
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arjen.poutsma Arjen Poutsma
                Reporter:
                jim Jim Cummings
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: