Hi Vibhor,
I don't think it will be that easy.
The namespaces are fundamental to XML Schema and web services. To start
with, you need to clean out your schema, to make
elementFormDefault="unqualified' to reduce the occurrence of xml
prefixes on every line. Then you'd have to rewrite your entire schema to
use just one namespace (architecturally, a bad idea). But even these
will only help marginally. What you really want to do is ask Axis to
reduce its proific namespace use. Not sure if that is even possible.
 
The fact that you ask for this, I think means you're having serious web
services performance problems, or have limited memory to hold the
requests and responses. You should look at payload size reduction as
well, it actually might be easier to rewrite the complex types and
reduce their size, than to worry about the namespaces.
 
(There might be a way to write a service-side response handler to get
the output stream and strip the namespaces, but when the client gets the
adjusted response, it will probably fail to parse the xml against the
schema correctly. (This would force you to not use schema at all, and
which defeats the purpose of interoperable web services)).
-dreamryder


  _____  

        From: Vibhor_Sharma [mailto:[EMAIL PROTECTED] 
        Sent: Tuesday, June 05, 2007 12:49 PM
        To: [email protected]
        Subject: *************Striping down the name spaces in the
response (Urgent)****************
        Importance: High
        
        
        Hi 
             How can we make sure that the response that we get from the
soap request does not have the name spaces?
         
        If it is just a configuration issue that has to be taken care of
in the server side then please let me know. 
        Just wondering that if the response is pretty large then
would'nt the name space increase the pay load?
        This is really urgent please let me know if it is possible or
not. I have raised this couple of times but it has not been answered. 
         
        Thanks
        Vibhor

Reply via email to