Problem #1:
A message definition that has a long name, or contains components with long names, fails to generate. When generating message definition objects, you may receive the following error:
Could not find the specified source file:
C:/Sybase/or50Dt/Eclipse/workspace/WorkSpaceProject/MessageDesigns/.wfbin/parsers/<message name>Parser.java
Solution #1:
Rename the message definition and its fields, containers, and other message components to shorter names (under 50 characters).
Problem #2:
A message definition fails to generate if any of its methods exceeds 65535 bytes, due to the static constraints of a class file. When generating message definition objects, you may receive the following error:
java.lang.Exception: Failed compiling.
Solution #2:
Limit class size by limiting the number of fields to 70 in each container. If a container requires more than 70 fields, split up the single container by adding multiple ordered containers, setting each container's Termination Type to None. Then save the message definition and try to generate it again. This spreads the 70+ fields among several containers instead of putting all fields in a single container.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com