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/04/21 21:35:21 UTC

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

CLONE -XMLBeans DataBinding generates too many namespaces
---------------------------------------------------------

                 Key: AXIS2-3760
                 URL: https://issues.apache.org/jira/browse/AXIS2-3760
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: databinding
    Affects Versions: 1.4, 1.3, nightly
         Environment: ALL
            Reporter: Philippe Mouawad


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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by Philippe Mouawad <ph...@gmail.com>.
It is done.

Philippe.

On Fri, Dec 12, 2008 at 4:52 AM, Amila Chinthaka Suriarachchi (JIRA) <
jira@apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655877#action_12655877]
>
> Amila Chinthaka Suriarachchi commented on AXIS2-3760:
> -----------------------------------------------------
>
> your patch revision is (revision 725670) but the current revision is
> (revision 725896).
> Can you please get an update from the trunk[1] and create a patch?
>
> [1]  https://svn.apache.org/repos/asf/webservices/axis2/trunk/java
>
>
>
> > 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.diff
> >
> >   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.
>
>


-- 
Cordialement.
Philippe Mouawad.
Ubik-Ingenierie.

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

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello M. Amila Chinthaka Suriarachchi,
When do you plan to apply the Patch please ?
Do you have a problem with it ?

If you don't have time, is it possible for me to become a commiter ?
Thank you for your future answer.
Philippe.

On Fri, Dec 12, 2008 at 1:51 PM, Philippe Mouawad (JIRA) <ji...@apache.org>wrote:

>
>    [
> https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656003#action_12656003]
>
> Philippe Mouawad commented on AXIS2-3760:
> -----------------------------------------
>
> Hello,
> I recreated the patch.
>
> Please note that it uses the current version of AXIOM.
> If you want to use axiom 1.2.7 then replace:
> param.save(builder, builder, xmlOptions);
> By:
> param.save(builder, null, xmlOptions);
>
> Because .SAXOMBuilder did not implement LexicalHandler interface until
> recent revision.
>
> Sorry for the previous patch, I was patching against the http repository.
> 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.diff
> >
> >   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.
>
>


-- 
Cordialement.
Philippe Mouawad.
Ubik-Ingenierie.

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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated AXIS2-3760:
------------------------------------

    Attachment:     (was: patch.diff)

> 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.diff
>
>   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.


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad reopened AXIS2-3760:
-------------------------------------


As I am not sure that the patch will be taken into account I just reopened it.
Sorry for my error

> 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.


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591076#action_12591076 ] 

Philippe Mouawad commented on AXIS2-3760:
-----------------------------------------

Submitted a bug in Axiom project:
https://issues.apache.org/jira/browse/WSCOMMONS-327

> 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: 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-3760:
-----------------------------------

    Fix Version/s:     (was: 1.5)

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


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated AXIS2-3760:
------------------------------------

    Attachment: patch.txt

Patch on Head of XmlbeansDatabindingTemplate.xsl:
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/xmlbeans/src/org/apache/axis2/xmlbeans/template/

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Critical
>         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.


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated AXIS2-3760:
------------------------------------

    Attachment: NamespaceBug.zip

Eclipse project that does what generated skeleton for XMLBeans do . 
Philippe.

> 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: 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656003#action_12656003 ] 

Philippe Mouawad commented on AXIS2-3760:
-----------------------------------------

Hello,
I recreated the patch.

Please note that it uses the current version of AXIOM.
If you want to use axiom 1.2.7 then replace:
param.save(builder, builder, xmlOptions);
By:
param.save(builder, null, xmlOptions);

Because .SAXOMBuilder did not implement LexicalHandler interface until recent revision.

Sorry for the previous patch, I was patching against the http repository.
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.diff
>
>   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.


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated AXIS2-3760:
------------------------------------

              Priority: Critical  (was: Major)
            Issue Type: Bug  (was: Improvement)
    Remaining Estimate: 24h  (was: 1h)
     Original Estimate: 24h  (was: 1h)
               Summary: CLONE -XMLBeans DataBinding generates too many namespaces PERFORMANCE ISSUE  (was: CLONE -XMLBeans DataBinding generates too many namespaces)

To me it is a rather very important performance issue, message size increases highly.

But it is only mi HO.
Philippe.

> 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
>   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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated AXIS2-3760:
------------------------------------

    Attachment: patch.diff

Patch to revision 725986

> 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.diff
>
>   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.


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

Posted by "Jeffrey Garrett (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591013#action_12591013 ] 

Jeffrey Garrett commented on AXIS2-3760:
----------------------------------------

Very important to me too.  For the message size (as previosuly mentioned) and the readability of the message by a human user.

The status of this bug fix may be the hinge between using Axis2 or something else!  

> 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
>   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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658014#action_12658014 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-3760:
-----------------------------------------------------

Applied the patch. 
I have to manually change the code to apply this patch. so please verify, test and resolve the issue.

> 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.diff
>
>   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.


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated AXIS2-3760:
------------------------------------

    Affects Version/s: 1.4.1

Bug is also present in 1.4.1

> 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
>         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.


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated AXIS2-3760:
------------------------------------

    Attachment:     (was: patch.txt)

> 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.diff
>
>   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.


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

Posted by "Jeffrey Garrett (JIRA)" <ji...@apache.org>.
     [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654847#action_12654847 ] 

Philippe Mouawad commented on AXIS2-3760:
-----------------------------------------

Hello,

I got an answer on issue:
https://issues.apache.org/jira/browse/WSCOMMONS-327

I submit a patch that changes the way serialization occurs in the generated Stubs/Skeleton.
Patch is on AXIS2 XMLBeans module:
\modules\xmlbeans\src\org\apache\axis2\xmlbeans\template\XmlbeansDatabindingTemplate.xsl

The patch requires an upgrade to XMLBeans 2.4.0 otherwise an exception will occur (java.lang.IllegalArgumentException: Local name may not be null or empty) due to a Bug in XMLBeans:
http://forum.springframework.org/showthread.php?t=43958

Using this patch you will notice that namespaces are written at the beginning and that prefixes are used in all the document, I chose to set the following options on XMLBeans to reduce at max the message size:
xmlOptions.setSaveNoXmlDecl();
xmlOptions.setSaveAggressiveNamespaces();
xmlOptions.setSaveNamespacesFirst();

Hope you can take this patch into account soon because it is rather critical in terms of network traffic.
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.3, nightly
>         Environment: ALL
>            Reporter: Philippe Mouawad
>            Assignee: Amila Chinthaka Suriarachchi
>            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.


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-3760:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>            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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-3760:
-----------------------------------

    Affects Version/s:     (was: nightly)
                       1.5.1
                       1.5
        Fix Version/s:     (was: nightly)
                       1.6

Corrected "Affects Version" and "Fix Version". This change didn't go into the 1.5 release.

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


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated AXIS2-3760:
------------------------------------

    Attachment: patch.diff

Here is the patch created using diff.
If not OK, please give me the command you want me to execute.

> 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.diff
>
>   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.


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591085#action_12591085 ] 

Philippe Mouawad commented on AXIS2-3760:
-----------------------------------------


http://issues.apache.org/jira/browse/XMLBEANS-370

> 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: 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655619#action_12655619 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-3760:
-----------------------------------------------------

can you please create the patch with the current trunk and using svn diff command?

> 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.


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ 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: nightly

OK if using last release of AXIOM

> 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, nightly
>
>         Attachments: axiom-api-fix.jar, NamespaceBug.zip, patch.diff
>
>   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.


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655877#action_12655877 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-3760:
-----------------------------------------------------

your patch revision is (revision 725670) but the current revision is (revision 725896).
Can you please get an update from the trunk[1] and create a patch?

[1]  https://svn.apache.org/repos/asf/webservices/axis2/trunk/java



> 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.diff
>
>   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.