Skip to Content
avatar image
Former Member

webservice consumption in abap not working

hi

I create a inbound SI in ESR and then implemented in ECC client 200...then i created a webservice out of it using soamanager.

i wanted to test this webservice ...so in the same client I created a Consumer proxy class and a logical port this consumer proxy...

then i wrote the below code-

create object oref

exporting logical_port_name = 'LP_WS1'.

.....

TRY.

CALL METHOD oref->si_in_syn

EXPORTING

input = itab

IMPORTING

output = out

.

CATCH cx_ai_system_fault .

CATCH cx_ai_application_fault .

ENDTRY.

here after the class is called i get sy-subrc = 0 ....however output parameter OUT does not contain any values..

also i put a external breakpoint and als hardcoded breakpoint in the implemenetation and it did not stop there also

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 23, 2012 at 01:50 PM

    Hi Hema,

    First test wheather ur connection is working or not . Open the Logical port in SOAMANGER. then find its corresponding

    RFC destination. Then open the RFC destination in SM59 , click on "Connection Test".

    If ur connection is working properly then It might be possible that the data u r passing in input , will not return any values.

    Many Thanks,

    Jitendra

    Edited by: jitu188 on Feb 23, 2012 7:21 PM

    Add comment
    10|10000 characters needed characters exceeded