Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3548

Re: How to create a Service Consumer on Ecc?

$
0
0

Hi Daniel,

 

1, It would be local file

2, SDK downloaded WSDL

3, Usage of URL is not required

 

Once you generate the consumer proxy, you can set up the Logical port in SOAMANAGER and then you can use the both in program.

 

Sample code.

  DATA:  lo_object     TYPE REF TO <Consumer Proxy>,

  TRY.

      CREATE OBJECT lo_object

        EXPORTING

          logical_port_name = '<Logical Port>'.

    CATCH cx_ai_system_fault .

  ENDTRY.

 

    TRY.

        CALL METHOD lo_object-><operation>

          EXPORTING

            input  = st_input

          IMPORTING

            output = st_output.

      CATCH cx_ai_system_fault .

      CATCH zcx_standard_fault_message .

      CATCH cx_ai_application_fault .

    ENDTRY.

 

Thanks and regards,

Ajith J


Viewing all articles
Browse latest Browse all 3548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>