Hi, I have developed an ABAP proxy from WSDL file. I tested the service when I generated proxy class in SE80 and it worked fine.
Now I have developed the following report that call the proxy class generated:
REPORT zprova_proxy.
DATA: proxy TYPE REF TO zco_service1soap.
DATA : sys_fault TYPE REF TO cx_ai_system_fault.
DATA: intab TYPE zget_dati_sipamsoap_in.
DATA: outtab type zget_dati_sipamsoap_out.
create object proxy
exporting
logical_port_name = 'PORTA1'.
IF sy-subrc EQ 0.
TRY.
CALL METHOD proxy->get_dati_sipam
EXPORTING
input = intab
IMPORTING
output = outtab.
CATCH cx_ai_system_fault .
CREATE OBJECT sys_fault.
WRITE :/ 'error at level 1', sys_fault->errortext.
EXIT.
CATCH cx_ai_application_fault .
ENDTRY.
How can I display data conteined in 'outtab'?
In my proxy class I have this output structure for method 'get_dati_sipam' :
GET_DATI_VESTIARIORESULT (type TABL)
- MATRMEC ( type string)
- MATRTAGLIA ( type string)
Help me please. THANKS