> > > As far as I understand the stub created by the wsdl2java tool from axis > two, the tags are just checked in order of their occurrence and in order of > the parameters. So the second (first is method name) tag should be the name > of the first parameter and so forth. > On checking, the automatically generated code checks for name and > namespace, and if that is not identical, the next opening tag is checked. > After the last parameter-check, there is a catch-check for an unexpected > subelement, which then caught, because the namespace check always failed. > > As far as I understand soap, it would not be possible, to have different > namespaces used for different parameters, would it? So why is there not a > seperate check for the namespaces and if they do not match a more > descriptive error message thrown?
Well not really - in doc/lit you can have a schema that defines the message with different namespaces (and in fact the concept of parameters is not really there most of the time - its an xml document that's being exchanged and as long as it does not violate the SOAP rules, its fine). We definitely want to make the error message more verbose but the code is generated in the most generic fashion and as I mentioned in my earlier mail ,a different QName denotes a different element to the parser! > > > Carsten > -- > GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! > Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Ajith Ranabahu Reading, after a certain age, diverts the mind too much from its creative pursuits. Any man who reads too much and uses his own brain too little falls into lazy habits of thinking - Albert Einstein
