Brett,
Assuming JAXB databinding, there is an @XmlTransient annotation that can
be used to mark public fields/properties as transient for the purpose of
the schema/xml.
Dan
On Tuesday 31 July 2007 15:00, Brett Wooldridge wrote:
> If I am doing Java first development, and I have an SEI like so:
>
> public interface FooSEI
> {
> Bar getBar();
> }
>
> And a data class like this:
>
> public class Bar
> {
> private int x;
> private String s;
>
> public int getX()
> {
> ...
> }
>
> public String getStr()
> {
> ...
> }
> }
>
> Is there an annotation or some other mechanism by which I can exclude
> the "s" attribute of Bar from the WSDL generation? For example,
> bar.getStr() should only be available on the server-side, whereas the
> public API with respect to the client only contains the 'x' attribute
> (bar.getX()).
>
> Thanks,
> Brett
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog