Hello Champs,
I am consuming web service using ABAP, configuration done from SOAMANAGER and its working fine when I am testing it from SE80. but same is not working when I have created program from SE38 not Error no Output nothing.
Requesting your inputs on this, below is my program code. do I have to add any thing else in code or any configuration is still missing.
DATA : proxy TYPE REF TO /sen/co_real_time_services_mmd.
DATA : input TYPE /sen/mmdi_get_article_details1,
lt_article TYPE /sen/type_article_tab1,
ls_article TYPE /sen/type_article1,
output TYPE /sen/mmdi_get_article_details,
lr_proxy TYPE REF TO cl_proxy_client,
lr_prot_payload TYPE REF TO cl_wsprotocol_payload.
PARAMETERS : p_matnr TYPE c LENGTH 25,
p_laung TYPE c LENGTH 3,
p_pack TYPE i LENGTH 10,
p_refid TYPE c LENGTH 10,
p_id TYPE c LENGTH 10.
TRY.
CREATE OBJECT proxy
EXPORTING
logical_port_name = 'I_MATERIAL'.
CATCH cx_ai_system_fault .
ENDTRY.
ls_article-article_id = p_matnr.
ls_article-language = p_laung.
ls_article-packetnumber = p_pack.
ls_article-calling_tool_ref_id = p_refid.
ls_article-calling_tool_id = p_id.
ls_article-packetnumber = p_pack.
APPEND ls_article TO lt_article.
input-article[] = lt_article.
TRY.
CALL METHOD proxy->mmdi_get_article_details
EXPORTING
input = input
IMPORTING
output = output.
CATCH cx_ai_system_fault .
CATCH cx_ai_application_fault .
ENDTRY.