Hi all, I am interessed in automatic validation of the incomming request against the wsdl schema: How to do it: - add the validation in each Class type generate by the wsdl2java? or - create an handler that parse the request and validate it accordingly to the wsdl and schema? or - other idea? Is there something planed to do the job in further version? Or did I miss something ?
At 08:45 13/05/02 +0200, you wrote: >Yeap, I played myself with this maxOccurs thing, and experienced >the same. It doesn't really matters what you type in. I also tried >to play with a string type, which had some restriction on it (regular >expression). That restriction didn't appear anywhere in the code. Okay, >I said, Axis cannot handle everything in a WSDL, it just has to ignore >some things. It cannot generate Java code for everything. My problem was >that not even a string attribute appeared in this case in the generated >object (the restricted String). >Although this maxOccurs thing seems an easy job to me. Are we missing >something [like always :)] ? Br, Geza > >BTW: congrats for Axis, we just love it ! :) Really. > > >I'm wondering if the minOccurs / maxOccurs-Attribute are analyzed by the > wsdl2java-Tool. > >I noticed that there's always the same generated Class no matter what > the maxOccurs says. > >The tool seems to assume that it's always 1. For example I tested the > following: >...
