Le vendredi 28 août 2009 à 07:53 +0530, Amila Suriarachchi a écrit :
> 
> try your self. for any It generates an OMElement. so you can have any
> thing.


Ok thanks, I think I've again mistunderstood the problem I have.
WS Client is stuck on the method fromOM(...);
I though that it was because it does not know the elements in the any
tag.

Debuging is really difficult in that part. I've not found exactly what
make it freeze (or infinite-looping). If I remember my yesterday test,
it was stuck in a parse method (I think in the QueryResultsBody class,
still generated with ).
here's the code looping (the  inner 'if' are false, so effectively, it's
looping. Now  I have to understand why...)

while(!reader.isEndElement()) {
       if (reader.isStartElement() ){
                
         if (reader.isStartElement() && new 
javax.xml.namespace.QName("","EventList").equals(reader.getName())){
                                
                                                
object.setEventList(EventListType.Factory.parse(reader));
                                              
                                        reader.next();
                                    
                              }  // End of if for expected property start 
element
                                
                                        else
                                    
                                    if (reader.isStartElement() && new 
javax.xml.namespace.QName("","VocabularyList").equals(reader.getName())){
                                
                                                
object.setVocabularyList(VocabularyListType.Factory.parse(reader));
                                              
                                        reader.next();
                                    
                              }  // End of if for expected property start 
element
                                
                             }

Thanks again.

Reply via email to