阅读背景:

如何使用XSD中的Bean验证注释生成Java对象?

来源:互联网 

I'm writing an EJB as a contract first SOAP service and I generate the java classes and SEI from the WSDL. The WSDL specifies several types with constraints (max length, pattern, etc). The generated java classes are JAXB annotated but lack the contraints metadata because the JAXB annotations don't support those. This means that input validation only occurs when the service is called through the SOAP endpoint.I'm writing an EJB as a contract first SOAP ser




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: