You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/04/04 17:37:29 UTC
DO NOT REPLY [Bug 7745] New: -
Feature Req: WSDL2Java should generate validity checks
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: axis-dev@xml.apache.org
ReportedBy: jcrisp@blueyonder.co.uk
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.