Bug 780436 (SOA-2869) - JBossWS native adds additional namespace declarations to output
Summary: JBossWS native adds additional namespace declarations to output
Keywords:
Status: NEW
Alias: SOA-2869
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossWS
Version: 4.3 CP02
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: FUTURE
Assignee: trev
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-03 12:59 UTC by Mustafa Musaji
Modified: 2011-06-15 16:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
JBoss Enterprise SOA-P 4.3.0_CP02
Last Closed:
Type: Bug


Attachments (Terms of Use)
NamespaceIssue.java (3.17 KB, text/x-java)
2011-02-03 13:00 UTC, Mustafa Musaji
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2869 0 Major Closed JBossWS native adds additional namespace declarations to output 2016-01-27 10:38:50 UTC

Description Mustafa Musaji 2011-02-03 12:59:48 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000006H4xF&sfdc.override=1
Steps to Reproduce: Run the attached class using the jbossws-native 2.0.1 which is part of SOA-P 4.3.0_CP02.
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 Mustafa Musaji 2011-02-03 13:00:31 UTC
Attached class to demonstrate problem

Comment 2 Mustafa Musaji 2011-02-03 13:00:31 UTC
Attachment: Added: NamespaceIssue.java


Comment 3 Mustafa Musaji 2011-02-03 15:49:40 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:33:38 UTC
Link: Removed: This issue is a dependency of JBPAPP-5866 



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