-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul,

Are they using wsdl2Java generated code?

- -- dims

Paul Fremantle wrote:
| 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFHlh3vgNg6eWEDv1kRAocrAKCWkQfKOzU8E2pQsvg7DtJTjTzXDACfc/X8
7j9Ws7+dEDes02zcXukyEn4=
=KgXz
-----END PGP SIGNATURE-----

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

Reply via email to