Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.0-RC
-
None
-
None
-
regular environment
Description
This seems related to CXF-491. Authors says fixed but did not describe in detail how.
For the CXF helloworld example, there is a restiction on greetMe request type of maxlength=30 in the helloworld wsdl file,
<simpleType name="MyStringType">
<restriction base="string">
<maxLength value="30" />
</restriction>
</simpleType>
after wsdl2java, this restriction is not translated into java code or any mechanism to enforce it. So when I use soapUI to test the greetMe operation, no fault thrown when I type in 40+ long request. The service behaves to ignore the initial contract with the length restriction in wsdl.