Implementing a Simple Consumer Application 
Use the ABAP Editor (transaction code SE38) to create a simple application.
In the program, do the following:
Instantiate the generated proxy class.
Supply a logical port name if you wish to use a logical port other than the default.
Execute an instance method to call the enterprise service operation.
A consumer proxy can be accessed using the instantiation of the proxy class, as shown in the following example:
Syntax
DATA:
my_interface TYPE REF TO zmy_co_synchronous_outbound_inter,
my_request TYPE zmy_request_message_type,
my_response TYPE zmy_response_message_type.
* create instance
CREATE OBJECT my_interface.
* fill request data
my_request-request_message_type-simple = 'A simple String'.
* call outbound
TRY.
CALL METHOD my_interface->execute_synchronous
EXPORTING
output = my_request
IMPORTING
input = my_response.
CATCH cx_ai_system_fault.
CATCH cx_ai_application_fault.
ENDTRY.