For Integration Server, a “webMethods string” is a Java String. Java String objects are limited to java.lang.Integer.MAX_VALUE.
For Enterprise Server, a string in an event may have a maximum limit but I’ve been unable to verify that. In any case, you’ll be limited by the API used to interact with the event. If you use the Java API, or an adapter written in Java, the maximum length string you can create or read will be java.lang.Integer.MAX_VALUE. If you use the C API, or an adapter written in C, you’ll be limited by the C run-time for allocating contiguous memory–which I believe will be somewhat less than 3-5 MB.
To offer tips on how to address this size issue, we’ll need more details as to what you’re trying to do. Peter’s suggestion to use the IOAdapter may indeed be the solution, assuming you’re using Enterprise.
#broker#Universal-Messaging-Broker#webMethods#Integration-Server-and-ESB