DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7745>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7745

Feature Req: WSDL2Java should generate validity checks 

           Summary: Feature Req: WSDL2Java should generate validity checks
           Product: Axis
           Version: beta-1
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


For complex types containing <xsd:all> and <xsd:sequence> et al then the 
generated java file should export a method to check that these constraints have 
been fulfilled. e.g.
<xsd:complex-type> 
   <xsd:all>
      <xsd:element name="UserId" type="xsd:string"/>
      <xsd:element name="Password" type="xsd:string"/>
   </xsd:all>
</xsd:complex-type> 
should generate a boolean XMLConstraintsValid() method which returns true only 
if both the userId and password have been set. Additional optional methods 
could return the list of failed constraints.

Reply via email to