Skip to Content
author's profile photo Former Member
Former Member

incorporating web service in an ABAP web dynpro view


I am trying to call an external web service to have its results displayed in an ABAP web dynpro view. I've seen various threads that are dealing with the same issue, but none of them seemed to have helped me (I am quite new at this so maybe I'm just having a slow beginning, please bear with me)

I'm interested in extracting information from a simple web service online. To this end, I went on and found a "quote of the day" service, which is practical because it doesn't even need input.

I am writing down all the steps I've taken, even if they seem trivial, because maybe my problem is the result of a silly mistake I'm not yet capable of noticing...

I am mostly following the instruction from here:

<a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap:///people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap

The SAP I use is the one on the SC7 system, seems to be ECC 6.0

After I created my package, I go on to create a Proxy Object, and when prompted for a WSDL source, I give the URL destination I got from">>

Doing this I get an HTTP error (return code 400, message "ICM_HTTP_CONNECTION_FAILED") (others have had this problem, e.g. Calling Web Services from ABAP, but the answers offered haven't been much help to me)

and having no idea what to change or not change in SICF and other settings, I decided to save the file locally, and so I then created a Proxy Object by choosing the WSDL source as the local file I saved.

Telling me that multiple port types exist (SOAP, httpGet and httpPost) I picked SOAP. I can then see the properties of my Client Proxy Object, its structure with the classes and methods etc.

Then, following Thomas Jung's procedure, I went to create a logial port which I named QUOTE_PORT. When I do the F8 test he suggests to do, I get an error: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED") which was predictable since I still haven't resolved that same problem above.

I then proceed to create a Web Dynpro Component. In that component, in the component controller's context, I created a simple node into which I added attributes which I created using the wizard -> Attributes from components of structure, and there I picked the structures that had just been created in my proxy object, each in its own node

I have three proxy structures generated: GET_QUOTE_SOAP_IN, GET_QUOTE_SOAP_OUT and QUOTES. This last one has two attributes which are STRINGs, the quote of the day and its author.

I then create a rather trivial view, whose context I have mapped to the component controller's context so as to have access to those "quote" and "author" attributes I just mentioned. The layout is simplistic at best, containing only two textviews, each one bound to its respective attribute.

Once the application has been done and tested, the output is a blank page. I'm hoping that this is only because of that ICM_HTTP_CONNECTION_FAILED error. Has anyone else had these problems when calling external web services? Is this the right procedure for displaying output?

Thanks and Regards,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 03, 2007 at 08:39 AM

    Welcome to SDN.

    Do you use proxy in your network to access internet?



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Durairaj Athavan Raja

      running errr, yes I think so

      without any issue, I have no idea...

      Here is what I get from the SMICM txn:

      ICM Status: Running

      Restart After Error true

      Trace Level (0-3): 1

      Created Worker Threads: 10 / 16 / 50 ( Current / Peak / Maximum )

      Connections Used: 0 / 19 / 500 ( Current / Peak / Maximum )

      Queue Entries Used: 0 / 4 / 500 ( Current / Peak / Maximum )

      No. Thread ID Number Status Processed Request

      1 2460 15.080 Available

      2 3600 15.053 Available

      3 4628 15.068 Available

      4 5832 15.125 Available

      5 5000 15.072 Available

      6 5380 15.070 Available

      7 3024 15.098 Available

      8 2792 15.039 Available

      9 5880 15.056 Running Administration

      10 1992 15.097 Available

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.