Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

webservice SoapFaultCode:1 error.

Former Member
0 Likes
350

Hi I call webservice that cretaed java in my system.

I create consumer proxy with this webservice and logical port in soamanager.

I write program like follow but ıt doesn't work and I take SoapFaultCode:1 error.

how can I solve this problem?I want to help quickly olease.

data: lo_sys_exception type ref to cx_ai_system_fault , err_string type string.

DATA: zornek TYPE REF TO ZORNEKCO_WEBSERVICE_API_TEST .

TRY.

CREATE OBJECT zornek

EXPORTING

LOGICAL_PORT_NAME = 'GET_CUSTOMER'

.

catch cx_ai_system_fault into lo_sys_exception.

err_string = lo_sys_exception->get_text( ).

  • CATCH CX_AI_SYSTEM_FAULT .

ENDTRY.

data: OUTPUT type ZORNEKWEBSERVICE_API_TEST_SEAR .

data: INPUT type ZORNEKWEBSERVICE_API_TEST_SEA1 .

input-SEARCH_BY_LAST_NAME = 'Moretti'.

TRY.

CALL METHOD zornek->SEARCH_BY_LAST_NAME

EXPORTING

INPUT = input

IMPORTING

OUTPUT = output

.

CATCH CX_AI_APPLICATION_FAULT .

CLEAR : ERR_STRING.

catch cx_ai_system_fault into lo_sys_exception.

err_string = lo_sys_exception->get_text( ).

ENDTRY.

write output-SEARCH_BY_LAST_NAME.

1 REPLY 1
Read only

Former Member
0 Likes
287

Please, I have the same problem. Anyone can help.

thank you very much