Try OpenEdge Now
skip to main content
Web Services
Developing a Java Client to Consume OpenEdge SOAP Web Services : Developing the Axis client application : Running an internal procedure or user-defined function
 

Running an internal procedure or user-defined function

The following sample shows how you might invoke the GetTotalOrdersByNumber( ) method:
try
{
  int orderCount = custOrder.getTotalOrdersByNumber(new BigDecimal(5.0));
  System.out.println("The total Customer Orders are: " + orderCount);
}
catch (NullPointer Exception e)
{
  ...
}
Note: The object ID handler automatically inserts the custOrder object ID into the SOAP request header.