FYI:

CXF can enforce this for JAXB databinding based  services.   There are 
flags to turn on Schema validation such that the XML will be validated 
at read/write time.    See the wsdl_first example that we ship.   It 
enables it.  

It's turned OFF by default due to the performance impact, but it is 
enablable.

Dan


On Thursday 10 January 2008, johnoverbaugh wrote:
> Cross-posted from http://forum.springframework.org
>
> Greetings - we are implementing a web services project in CXF/spring
> and have discovered in testing that the web services are not enforcing
> input types. Web services built in .NET/Visual Studio by default
> enforce input types and do not allow clients to 'submit' mal-formatted
> data (ie, a string when an int is expected).
>
> Is there similar 'strong typing' functionality in the Spring framework
> and, if yes, could someone point me to documentation that explains how
> to enable this?
>
> BTW: there's a chance this belongs in the spring framework forum and I
> have posted there.
>
> Thanks,
>
> John O.



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to