When I add @size annotation to a Class Field it is not generated in wsdl as minLength attribute.
I've actually try more ways of adding length or pattern specification to a field to make it really mandatory, but nothing works.
My problem is, that I need to validate incoming request against WSDL generated from java classes. But whatever I do, I can't make it validate the value of incoming element.
I have this CODE element in wsdl and current validation only checks, whether or not the element is present in the request. However it may be empty, and I'd love to prevent this situation by validation of the request.
When I add @size annotation to a Class Field it is not generated in wsdl as minLength attribute.
I've actually try more ways of adding length or pattern specification to a field to make it really mandatory, but nothing works.
My problem is, that I need to validate incoming request against WSDL generated from java classes. But whatever I do, I can't make it validate the value of incoming element.
I have this CODE element in wsdl and current validation only checks, whether or not the element is present in the request. However it may be empty, and I'd love to prevent this situation by validation of the request.
The type riderStringValue is like this:
and I'd need something like this: