Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 780435 - (SOA-2868) JBossWS native adds additional namespace declarations to output
JBossWS native adds additional namespace declarations to output
Status: NEW
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossWS (Show other bugs)
5.1.0.ER7
Unspecified Unspecified
high Severity high
: ---
: FUTURE
Assigned To: trev
http://jira.jboss.org/jira/browse/SOA...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-03 07:41 EST by Kevin Conner
Modified: 2018-03-29 17:46 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
JBossWS native adds additional namespaces upon output when documents have been added to the SOAP body. SOAPFactoryImpl forces namespace declarations to be added for all child elements which are not immediate descendants of the element declaring the namespaces.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
NamespaceIssue.java (3.46 KB, text/plain)
2011-02-03 07:42 EST, Kevin Conner
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker SOA-2868 Major Closed JBossWS native adds additional namespace declarations to output 2013-07-17 05:40:41 EDT

  None (edit)
Description Kevin Conner 2011-02-03 07:41:00 EST
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000006H4xF&sfdc.override=1
project_key: SOA

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>
Comment 1 Kevin Conner 2011-02-03 07:42:29 EST
Simple demonstration of issue.
Comment 2 Kevin Conner 2011-02-03 07:42:29 EST
Attachment: Added: NamespaceIssue.java
Comment 3 Mustafa Musaji 2011-02-03 10:49:35 EST
Link: Added: This issue is a dependency of JBPAPP-5866
Comment 4 Alessio Soldano 2011-02-03 11:32:15 EST
Link: Added: This issue depends JBPAPP-5866
Comment 5 Alessio Soldano 2011-02-03 11:32:39 EST
Link: Removed: This issue is a dependency of JBPAPP-5866 
Comment 6 Anne-Louise Tangring 2012-02-07 10:47:36 EST
Should be in builds we pick up from EAP 5.1.2 sources.
Comment 7 Suz 2012-06-14 21:20:35 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
JBossWS native adds additional namespaces upon output when  documents have been added to the SOAP body. SOAPFactoryImpl forces namespace declarations to be added for all child elements which are not immediate descendants of the element declaring the namespaces.

Note You need to log in before you can comment on or make changes to this bug.