Bug 780435 (SOA-2868) - JBossWS native adds additional namespace declarations to output
Summary: JBossWS native adds additional namespace declarations to output
Keywords:
Status: CLOSED UPSTREAM
Alias: SOA-2868
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossWS
Version: 5.1.0.ER7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: FUTURE
Assignee: Nobody
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-03 12:41 UTC by Kevin Conner
Modified: 2025-02-10 03:14 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:14:47 UTC
Type: Bug
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2868 0 Major Closed JBossWS native adds additional namespace declarations to output 2013-07-17 09:40:41 UTC

Description Kevin Conner 2011-02-03 12:41:00 UTC
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 12:42:29 UTC
Simple demonstration of issue.

Comment 2 Kevin Conner 2011-02-03 12:42:29 UTC
Attachment: Added: NamespaceIssue.java


Comment 3 Mustafa Musaji 2011-02-03 15:49:35 UTC
Link: Added: This issue is a dependency of JBPAPP-5866


Comment 4 Alessio Soldano 2011-02-03 16:32:15 UTC
Link: Added: This issue depends JBPAPP-5866


Comment 5 Alessio Soldano 2011-02-03 16:32:39 UTC
Link: Removed: This issue is a dependency of JBPAPP-5866 


Comment 6 Anne-Louise Tangring 2012-02-07 15:47:36 UTC
Should be in builds we pick up from EAP 5.1.2 sources.

Comment 7 Suz 2012-06-15 01:20:35 UTC
    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.

Comment 12 Red Hat Bugzilla 2025-02-10 03:14:47 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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