Try OpenEdge Now
skip to main content
Web Services
Developing a Java Client to Consume OpenEdge SOAP Web Services : Creating Java Axis client interface objects : ABL unknown values
 

ABL unknown values

The Unknown value (?) appears as a null value in Java. For any ABL user-defined function that returns the Unknown value (?) as a primitive Java data type, this raises an exception in the interface method that calls this function. The client must compensate for this by catching the exception, as follows:
catch (NullPointerException con)
{
    System.err.println("The total Orders are: 0 (unknown)");
}