axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Mouawad (JIRA)" <>
Subject [jira] Commented: (AXIS2-3760) CLONE -XMLBeans DataBinding generates too many namespaces PERFORMANCE ISSUE
Date Tue, 09 Dec 2008 17:00:51 GMT


Philippe Mouawad commented on AXIS2-3760:


I got an answer on issue:

I submit a patch that changes the way serialization occurs in the generated Stubs/Skeleton.
Patch is on AXIS2 XMLBeans module:

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:

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:

Hope you can take this patch into account soon because it is rather critical in terms of network

> CLONE -XMLBeans DataBinding generates too many namespaces PERFORMANCE ISSUE
> ---------------------------------------------------------------------------
>                 Key: AXIS2-3760
>                 URL:
>             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,
>   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
> Example:
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv=""><soapenv:Body><v1:getLocatedProducts
> You see that is declared 4 times instead
of one.
> Philippe Mouawad

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

View raw message