You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Philippe Mouawad (JIRA)" <ji...@apache.org> on 2008/12/09 18:06:44 UTC

[jira] Resolved: (AXIS2-3760) CLONE -XMLBeans DataBinding generates too many namespaces PERFORMANCE ISSUE

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

Philippe Mouawad resolved AXIS2-3760.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

The patch should correct the issue.
I tested by regenerating the axis2-xmlbeans module and generated my stub/skeletons.
The messages have a reduced size, XMLBeans options are taken into account

Philippe.
www.ubik-ingenierie.com

> 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, 1.4, 1.3, nightly
>         Environment: ALL
>            Reporter: Philippe Mouawad
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Critical
>             Fix For: 1.5
>
>         Attachments: axiom-api-fix.jar, NamespaceBug.zip, patch.txt
>
>   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.