Skip to Content
avatar image
Former Member

Error in Consuming Webservice in ABAP

Hello Experts,

I am very new to webservices in ABAP. just to test the webservice within ABAP, I created a Service Definition which gave me a WSDL URL using the Provider wizard. then I generated proxy class to consume the WSDL URL generated in previous step . I am calling the proxy class within a program as below. It is raising a exception CX_AI_SYSTEM_FAULT . Does anyone have idea what this could be and how to correct it?

TRY.

CALL METHOD TEST->ZTESSTHJKJH

EXPORTING

INPUT = INPUT

IMPORTING

OUTPUT = output

.

CATCH CX_AI_SYSTEM_FAULT .

CATCH CX_AI_APPLICATION_FAULT .

ENDTRY.

Thanks,

Harkamal

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 22, 2010 at 02:42 PM

    Hi,

    try to look into this :

    http://wiki.sdn.sap.com/wiki/display/Snippets/WebServiceconsumerusingABAP-PROXY

    hope it helps u.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 22, 2010 at 04:10 PM

    Hi Harkamal,

    It seems that the webservice provider and consumer are on the same server (loopback). It's probably releated with network access. You can follow SAP Note Number 1009109 (Analyzing Web service problems using the ICF recorder) to track down the sent and received soap messages . Alternatively, you can download and use "Webservice Studio", a small freeware program to test the webservice easily. Official website is: [http://webservicestudio.codeplex.com/]

    Good luck,

    Ozcan.

    Add comment
    10|10000 characters needed characters exceeded