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

Reply via email to