Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3209

JBossWS native adds additional namespace declarations to output

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • jbossws-native-3.4.1
    • jbossws-native
    • None
    • Hide

      Run the attached class.

      Show
      Run the attached class.

    Description

      SOAPFactoryImpl forces namespace declarations to be added for all child elements which are not immediate descendants of the element declaring the namespaces. This is seen in ESB as a consequence of adding a Document to the soap body.

      For example

      <say:sayHiResponse xmlns:say='http://www.jboss.org/sayHi' xmlns:say2='http://www.jboss.org/sayHi2'>
      <say2:arg0>
      <say2:arg2>Response</say2:arg2>
      </say2:arg0>
      </say:sayHiResponse>

      will be created as

      <say:sayHiResponse xmlns:say='http://www.jboss.org/sayHi' xmlns:say2='http://www.jboss.org/sayHi2'>
      <say2:arg0>
      <say2:arg2 xmlns:say2='http://www.jboss.org/sayHi2'>Response</say2:arg2>
      </say2:arg0>
      </say:sayHiResponse>

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-ema Jim Ma
              rhn-support-mus Mustafa Musaji
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: