Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5866

JBossWS native adds additional namespace declarations to output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.1.2 ER1
    • EAP 5.0.1
    • Web Services
    • None
    • Hide

      Run the attached class

      Show
      Run the attached class
    • SOAPFactoryImpl forces additional namespace declarations in all child elements that are not immediate child elements of the element declaring the namespaces. This explicit declaration is redundant and is now no longer added.
    • Documented as Resolved Issue

      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>

              rhn-engineering-ema Jim Ma
              rhn-support-mus Mustafa Musaji (Inactive)
              Eva Kopalova Eva Kopalova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: