This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

How to optimize namespace definitions in SOAP?

Ole Nomann

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="" (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.
Have you checked out Aspose?
subject: How to optimize namespace definitions in SOAP?
jQuery in Action, 3rd edition