This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
Consider Paul's rocket mass heater.
 
subject: How to optimize namespace definitions in SOAP?
 
Similar Threads
sendind SOAP request
Namespace in body element how to define in WSDL
Response <item xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
Namespace is removed from Responce on WebSphere in SOAP based Service