[jbossws-issues] [JBoss JIRA] Updated: (JBWS-3209) JBossWS native adds additional namespace declarations to output

Mustafa Musaji (JIRA) jira-events at lists.jboss.org
Thu Feb 3 08:36:39 EST 2011


     [ https://issues.jboss.org/browse/JBWS-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mustafa Musaji updated JBWS-3209:
---------------------------------

    Attachment: NamespaceIssue.java


Attached simple test class

> JBossWS native adds additional namespace declarations to output
> ---------------------------------------------------------------
>
>                 Key: JBWS-3209
>                 URL: https://issues.jboss.org/browse/JBWS-3209
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>    Affects Versions:  jbossws-native-3.1.2
>         Environment: JBoss Enterprise SOA-P 5.1 (which has jbossws-native 3.1.2)
>            Reporter: Mustafa Musaji
>         Attachments: NamespaceIssue.java
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list