Repeated xmlns Question

2008-03-10 Thread Alejandro Calbazana

Hello,

Quick question...  In the interest of keeping my xml messages relatively 
small, I'd like to know if there is a way to suppress repeated xmlns 
declarations on child elements.  I guess Axis2 does this from the 
perspective of processing messages efficiently, but if there is a way to 
economize the size of a message while maintaining interoperability, I'd 
be interested in hearing about it.


Thanks,

Alejandro

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



RE: Repeated xmlns Question

2008-03-10 Thread Raghu Upadhyayula
Alejandro,

There is an option in WSDL2Java to suppress the repeated xmlns
declarations on child elements.

Use the -sp option with your WSDL2Java.

-sp   Suppress namespace prefixes (Optimzation that reduces size of soap
request/response)

Thanks
Raghu

-Original Message-
From: Alejandro Calbazana [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 10, 2008 7:07 AM
To: axis-user@ws.apache.org
Subject: Repeated xmlns Question

Hello,

Quick question...  In the interest of keeping my xml messages relatively

small, I'd like to know if there is a way to suppress repeated xmlns 
declarations on child elements.  I guess Axis2 does this from the 
perspective of processing messages efficiently, but if there is a way to

economize the size of a message while maintaining interoperability, I'd 
be interested in hearing about it.

Thanks,

Alejandro

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


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