axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Harvey (JIRA)" <>
Subject [jira] Commented: (AXIS2-4360) The use of beanPropertyRules in services.xml is not documented
Date Tue, 09 Jun 2009 14:48:08 GMT


Daniel Harvey commented on AXIS2-4360:

More information that I've discovered:

The website suggests using comma's to separate the properties
to be excluded. For example, from the article:

<parameter name="beanPropertyRules">
    <bean class="sample.Address" excludeProperties="street,number" />
    <bean class="sample.AddressParent" excludeProperties="zipcode" />

This does not work. After reviewing the Axis2 source code, my observation is that "if (property.matches(excludeProperties))"
- so the correct exclude above is "street|number" using a Java regex.

> The use of beanPropertyRules in services.xml is not documented
> --------------------------------------------------------------
>                 Key: AXIS2-4360
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.4.1
>            Reporter: Daniel Harvey
>            Priority: Minor
> The use of the beanPropertyRules parameter in services.xml is not documented in the Axis2
> My understanding of its use from mailing lists and the site is as follows:
> <parameter name="beanPropertyRules">
>      <bean class="javaparkage.classname" excludeProperties="propname" />
> </parameter>
> to exclude the property named "propname" from the WSDL (getPropname() and setPropname()
> I have not reviewed the code to see if there are other undocumented parameters. If this
has not been addressed anywhere (I've checked but could easily have missed something), I'm
happy to have a go updating the doco.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message