Hello,

Axis serializer by default picks up everything that looks like a JavaBean 
property, and puts it into response. This leads to an undesirable side effect: 
some of the class internals that have bean-like access, become exposed to the 
outside and end up being automatically included into the Soap response. 

Is there a good way to avoid that, or to perhaps "hide" the properties of my 
choice from Axis, so that they would not be exposed automatically?

The effect I am seeing now is that some of my properties show up on the 
response object even if they are not declared in WSDL. How can this be?

I've look at org.apache.axis.description.TypeDesc, and thought of possibly 
removing a corresponding org.apache.axis.description.ElementDesc entity from 
there, but there's no any removal API. And the only ways to create 
org.apache.axis.description.TypeDesc() all require you to pass in a class 
(don't allow you to "build from scratch"), so you cannot really bulid the 
TypeDesc manually (so that I could only expose the properties I'd want).

Please advice.

Thanks
Bogdan

PS Axis 1.2 RC1. 

Reply via email to