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 a non-persistent (external) procedure

Running a non-persistent (external) procedure

The following example shows how you might invoke the sample FindCustomerByNum( ) method:
// Send a request to the AppServer to get the Customer Name

StringHolder    custNameHolder = new StringHolder( );
orderInfo.findCustomerByNum(3, custNameHolder);
System.out.println("Customer #3's name is " + custNameHolder.value);
The object ID handler automatically inserts the orderInfo object ID into the SOAP request header.
StringHolder is one of several holder classes defined by Axis.