Dear All,
I created a WSDL in BPM and consumed it in ECC . After that created a logical port using SOAMANAGER.
While executing in the program(the code is shown below) or testing the service consumer it does not give any error. but still process not starting up.
REPORT ZTEST_BPM.
DATA : lv_port type REF TO zco_abapwsdl,
lo_sys_exception TYPE REF TO cx_ai_system_fault,
input TYPE ZNEW_OPERATION_REQUEST1,
in TYPE ztest.
TRY .
CREATE OBJECT lv_port
EXPORTING
LOGICAL_PORT_NAME = 'ZPORT'.
CATCH CX_AI_SYSTEM_FAULT.
ENDTRY.
input-in-first_name = 'ABCDEF'.
input-in-last_name = 'G'.
TRY.
call METHOD lv_port->NEW_OPERATION
EXPORTING
INPUT = INPUT.
COMMIT WORK.
CATCH CX_AI_SYSTEM_FAULT INTO lo_sys_exception .
CATCH cx_ai_application_fault.
ENDTRY.
write : 'Process Started'.
Your input will be helpful.
Thanks and Regards,
Prabhu Karuppasamy