Keith,
 
Tried the nightly build dated 25th of April.
 
excludeBeans does not work, but beanPropertyRules does work.
 
BUT
 
Specifying multiple methods does not work.  I tried to specify multiple
methods by comma seporating them as below since I want to exclude more
than one method in the same class.  Specifying one method works, but
specifying more than one shows both methods in the WSDL as if I didn't
even specify this rule.
 
  <parameter name="beanPropertyRules">
    <bean class="com.JaxbInternalMsg"
excludeProperties="echoData,msgType" />
  </parameter>
 
Please advise?
 
@Anne  Sorry, but getting Axis2 to generate the WSDL is a huge must
since that one of the huge drawcards for Axis2.  I am not prepared to
edit the WSDL to workaround this problem.  This is an Axis2 issue and I
expect it to be resolved in a programatic manner.

~Glen

________________________________

From: keith chapman [mailto:[EMAIL PROTECTED] 
Sent: 27 April 2008 14:37
To: [email protected]
Subject: Re: excluding pojo fields from wsdl


This feature was implemented after the 1.3 release. Hence if you use the
nightly or the 1.4 release (which should be out in a few days) you could
do this using a parameter as below.


<parameter name="excludeBeans">


 <bean class="sample.Address" excludeProperties="street" />


 <bean class="sample.AddressParent" excludeProperties="abc" />


</parameter>

Thanks,
Keith.






Reply via email to