‎2009 May 20 2:51 PM
Hello,
I have the following code:
REPORT zprueba6.
DATA: zws TYPE REF TO zsondaco_consulta_estado_pago.
DATA: lo_system_ex TYPE REF TO cx_ai_system_fault.
DATA: lo_app_ex TYPE REF TO cx_ai_application_fault.
DATA: ls_input TYPE zsondaconsulta_estado_pago_se1.
DATA: ls_out TYPE zsondaconsulta_estado_pago_ser.
START-OF-SELECTION.
TRY.
CREATE OBJECT zws.
CATCH cx_ai_system_fault .
ENDTRY.
break josechau.
TRY.
CALL METHOD zws->consulta_estado_pago_service_o
EXPORTING
input1 = ls_input
IMPORTING
output1 = ls_out.
CATCH cx_ai_system_fault INTO lo_system_ex.
WRITE: / 'System fault occurred', lo_system_ex->errortext.
CATCH cx_ai_application_fault INTO lo_app_ex.
WRITE: / 'Application fault occurred ', lo_app_ex->textid.
CATCH cx_sy_ref_is_initial.
WRITE: / 'Object is initial'.
ENDTRY.I have created the Proxy Class and I have created a logic port in lpconfig for this proxy class.
When I run this program or any program using any Web Service I receive the following exception:
System fault occurred Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/Any help would be appreciated.
Best Regards
‎2009 May 28 12:18 PM
HI,I got the same problem,But I don't know why. If you have the reason ,please help. thank you.
‎2009 May 29 5:06 AM
Finally I used another WS.
We suppose it is a problem with the WSDL Schema but we are not sure.
Best Regards