ABL procedure prototype to WSDL operation
- Last Updated: January 16, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
This is the ABL procedure prototype for the FindCustomerByNum.p external
procedure:
ABL procedure prototype
|
The boldface elements in this prototype are the main information that ProxyGen maps into the corresponding Web service operation definition. These include the procedure name (filename for an external procedure) and for any parameters, the parameter mode (input or output), names, and data types.
RETURN-VALUE is used and (for external
procedures) what Open Client object this operation belongs to.These are the message section definitions
in the RPC/Encoded and RPC/Literal WSDL file for the FindCustomerByNum operation request and response messages:
|
Note that the request message contains the input parameter, CustomerNumber, and the response message contains the output
parameter, CustomerName, both defined by appropriate XML
data types.
This is the definition for the FindCustomerByNum operation in the portType
section of the WSDL:
|
The portType section defines the object in
which the operation is defined, in this case, the AppObject, OrderInfo (as specified in ProxyGen). Note that this definition groups together
the request (input) and response (output) messages, along with a generic fault message as
part of the operation definition.
This is the definition for the FindCustomerByNum operation in the Bindings section for the OrderInfo AppObject:
|
Note that this definition specifies that the transport protocol as SOAP over HTTP, and goes on to define the content for SOAP messages request (input) and response (output) messages for the operation. This is where the object ID definitions are referenced for operations that require them.
This is the port definition in the service
section for the object (OrderInfo AppObject) containing the
FindCustomerByNum operation:
|
Note that the URL for the web service is specified in
soap:address.