You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Vijai Mohan <vm...@sensorlogic.com> on 2004/07/13 23:57:13 UTC

unexpected behavior BeanSerializer

 

I have a class called AlarmWrapper which has couple of protected attributes,
get and set for these attributes and another 

function called getAlarmHistory(). When the wsdl file is generated it maps
AlarmWrapper to be a complexType and maps all the attributes correctly but
apart from that it is also creating a new attribute called alarmHistory;

 

So I changed the name of the function getAlarmHistory to giveAlarmHistory
and it worked as expected and didn't make alarmHistory as an attribute.

 

Is this an expected behavior in BeanSerializer ?

 

Has any body else seen something like this?

 

 

 

 

Vijai Mohan

Software Design Engineer

SensorLogic│M2M made easy.

972-934-7375 x 2111

972-934-7376 (fax)

vmohan@sensorlogic.com

www.Sensorlogic.com <http://www.sensorlogic.com/>