I have come across a customer who has a problem with Axiom.
They are letting Axiom generate the namespaces, but the way Axiom
seems to do this is by having a JVM-wide setting which increments each
time.

The problem is that over time the numbers are getting very large
indeed, making the messages very big

I have three proposals: 1) we maintain a cache of ns->uri mappings and
reuse them if they match.

or

2) We hash the namespace and use the hash as the prefix

or

3) we simply choose a large number like 9999 and loop round when we
get to it, on the assumption that no XML document will have 10000
namespaces in it.

Thoughts?
Paul
-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

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

Reply via email to