Procedure group autogenerated WSDL and maxLength attribute

Hello,

Is there anyway to have the generated WSDL include the maxLength attribute for string types?

Thanks.

Hi Erik,

Currently, there is no way for you to generate the WSDL file with maxLength attribute for string types.

You can check the length of strings passed to an ApplinX procedure from within the procedure. If a certain string is too long you can throw an exception or just return a “String too long” message in the procedure’s output.
Another option is checking the string length in application consuming the web service.

However, defining the maxLength of a string type, sounds to me like a very good idea.
You should definitely post this enhancement in Brainstorm community.

I hope this helps,
Ohad