Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-345

SOAP headers MUST be namespace-qualified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0
    • Extension Mediators
    • None

    Description

      (I'm not sure if this is "core" or "extension mediators" - maybe you should change the component name to just "mediators"?)

      Line 103 of HeaderMediator.java is the problem here. I was originally going to write an issue about the fact that using "To", "From", etc as aliases for "wsa:To", "wsa:From", etc meant that users couldn't actually insert headers called <To> or <From>... but then I remembered that both SOAP 1.1 and SOAP 1.2 explicitly call out the fact that ALL header blocks must be namespace-qualified. So it's totally fine to map "To" -> "wsa:To"...

      BUT it's not fine to put in headers with no namespace... so please change line 103 to either log a problem or throw a fault, whatever you feel is appropriate?

      Thanks!
      --Glen

      Attachments

        Activity

          People

            hiranya Hiranya Kasub Jayathilaka
            gdaniels Glen Daniels
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: