Hello,
I have a webservices in a version.
In the next version, I want to add a field in bean which add an element in
the soap.
If I don't generate again the stubs with the ant task, i get an exception :
    [junit] org.xml.sax.SAXException: Invalid element in
com.accor.services.ws.cli
ent.data.geo.GeoResult - hotelsFound
    [junit]     at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(Bean
Deserializer.java:260)
    [junit]     at
org.apache.axis.encoding.DeserializationContextImpl.startElemen
t(DeserializationContextImpl.java:963)
    [junit]     at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecor
der.java:198)

I don't understand why ?
Because, the new field which was not in the scope of the first stubs, it
should be ignored.
But it doesn't had to generate an exception ?


********************************************************************** 
This e-mail, any attachments and the information contained therein ("this message") 
are confidential and intended solely for the use of the addressee(s). If you have 
received this message in error please send it back to the sender and delete it. 
Unauthorized publication, use, dissemination or disclosure of this message, either in 
whole or in part is strictly prohibited.

Ce message electronique et tous les fichiers joints ainsi que  les information 
contenues dans ce message ( ci apres "le message" ), sont confidentiels et destines 
exclusivement a l'usage de la  personne a laquelle ils sont adresses. Si vous avez 
recu ce message par erreur, merci  de le renvoyer a son emetteur et de le detruire. 
Toute diffusion, publication, totale ou partielle ou divulgation sous quelque forme 
que se soit non expressement autorisees de ce message, sont interdites.
********************************************************************** 

<<attachment: winmail.dat>>

Reply via email to