cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feng Zhang (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-688) helloworld.wsdl file simpleType restriction of maxlength=30 not enforced
Date Thu, 24 May 2007 20:14:16 GMT
helloworld.wsdl file simpleType restriction of maxlength=30 not enforced 
-------------------------------------------------------------------------

                 Key: CXF-688
                 URL: https://issues.apache.org/jira/browse/CXF-688
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.0-RC
         Environment: regular environment 
            Reporter: Feng Zhang
             Fix For: 2.0-RC


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. 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message