It is working but I have to annotate "get" method instead.
@XmlTransient
public String getAddress(){
return this.address;
}
Address is not in generated WSLD
Thank you very much
Un saludo.
Santiago Miguel Aranda Rojas
Telvent Interactiva
Extension: 35999
"Raymond Feng" <[email protected]>
"Raymond Feng"
20/04/2009 19:03
Por favor, responda a user
Para:
<[email protected]>
cc:
Asunto:
Re: Java To WSDL
Can you try to annotate the field with @XmlTransient?
http://java.sun.com/javase/6/docs/api/javax/xml/bind/annotation/XmlTransient.html
Thanks,
Raymond
From: [email protected]
Sent: Monday, April 20, 2009 7:18 AM
To: [email protected]
Subject: Java To WSDL
Hi.
I have one method that is called "getPersonList()". This returns a list of
people. Person class is very simple. It has attributes like "name",
"address". I am publishing this method using Tuscany WS binding. It works.
Could I ignore one of these attributes?. I mean if I wouldn't share the
address for example. Attribute "address" wouldn't be in the generated
WSDL. Could I put an annotation in the top of attribute, for example
@ignoreWSDL?
Thanks
Un saludo.
Santiago Miguel Aranda Rojas
Telvent Interactiva
Extension: 35999