File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes How to optimize namespace definitions in SOAP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to optimize namespace definitions in SOAP?" Watch "How to optimize namespace definitions in SOAP?" New topic
Author

How to optimize namespace definitions in SOAP?

Ole Nomann
Greenhorn

Joined: Oct 10, 2011
Posts: 1
Now this is going to be a little vague, insofar as I have a barely adequate grasp of the subject. I'm hoping that the good people in here will understand my question anyway:

I am revising a webservice that wastes a lot of bandwidth on redundant namespace definitions. To wit, the answer to the webmethod hentAlleUNILoginAnsatte is this (abbreviated):



My question is: How can I reduce the redundancy of xmlns:java="java.com.mycomp.myservice.webservice.returTyper" (in order to save 60% bandwidth, and make the result at bit more human readable)? My own guess is that the java namespace should be moved outside the repeating tags, approximately like this:



But I really don't now how to do that (Oh, I have tried... ).

The technical details:

* Bea weblogic server
* Relevant: JWS Annotation Tags:



I've probably not given enough information here, but please give me a hint as to what is missing, and where to start finding it.

Regards, Ole.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to optimize namespace definitions in SOAP?