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

Running an internal procedure or user-defined function

The following example shows how you might invoke the GetTotalOrdersByNumber( ) method on the ProcObject to run a user-defined function:
' Run the user-defined function GetTotalOrdersByNumber in
‘ CustomerOrder.p on the AppServer
intResult = WS_custOrder.GetTotalOrdersByNumber(1000000.0)
Note: The CustomerOrderIDValue is automatically inserted in the SOAP request header by the interface.
Methods for running an internal procedure are essentially the same as those for running a user-defined function.