[ 
https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeffrey Garrett updated AXIS2-3760:
-----------------------------------

    Attachment: axiom-api-fix.jar

Here is a fix I have been working on this week.  It works for my project, maybe 
it will for you too.  I made it so that it is a seamless transition from the 
XmlBean object before the serialization to the output - the way it should be!

This is based on the latest formal distribution of Axiom (not nightly builds).
 
Just download the attached jar file and paste in the lib folder and remove the 
one with similar name in the lib folder.  Probably should make a copy of the 
original just in case this does not work for you.

*** This is not an official fix.  I am not a contributor.  I just wanted to get 
it so that the namespace problem did not occcur anymore for my project, and 
this does the trick for me.  Hopefully for you too ***

> CLONE -XMLBeans DataBinding generates too many namespaces PERFORMANCE ISSUE
> ---------------------------------------------------------------------------
>
>                 Key: AXIS2-3760
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3760
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.4, 1.3, nightly
>         Environment: ALL
>            Reporter: Philippe Mouawad
>            Priority: Critical
>         Attachments: axiom-api-fix.jar, NamespaceBug.zip
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When using XMLBeans as databinding layer.
> XML Requests and responses are very verbose due to same Namespaces being 
> declared and redeclared.
> Example:
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><v1:getLocatedProducts
>  
> xmlns:v1="http://v1.product.ws.store.kingfisher.com";><v1:param0><xsd:callType 
> xmlns:xsd="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</xsd:callType><xsd:familyCode
>  
> xmlns:xsd="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</xsd:familyCode><xsd:moduleCode
>  
> xmlns:xsd="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</xsd:moduleCode><xsd:subFamilyCode
>  
> xmlns:xsd="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</xsd:subFamilyCode></v1:param0></v1:getLocatedProducts></soapenv:Body></soapenv:Envelope>
> You see that http://data.v1.product.ws.store.kingfisher.com/xsd is declared 4 
> times instead of one.
> Philippe Mouawad
> www.ubik-ingenierie.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to