axis-java-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/AXIS2-4360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717697#action_12717697
] 

Daniel Harvey commented on AXIS2-4360:
--------------------------------------

More information that I've discovered:

The website http://wso2.org/library/2893 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" />
</parameter>

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: https://issues.apache.org/jira/browse/AXIS2-4360
>             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
guides.
> My understanding of its use from mailing lists and the wso2.org 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()
methods).
> 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.


Mime
View raw message