cancel
Showing results for 
Search instead for 
Did you mean: 

http_client->receive( ) results in HTTP_COMMUNICATION_FAILURE

Former Member
0 Kudos

I am trying to connect my BSP application to the SDN RSS Feed using the example as described in Brian's weblog 'BSP Programming: RSS = HttpClient + XML + XSLT' (link: /people/brian.mckellar/blog/2004/06/25/bsp-programming-rss-httpclient-xml-xslt).

However when the code reaches the statement http_client->receive( ) a shortdump occurs stating there is a HTTP_COMMUNICATION_FAILURE. I understand that the shortdump is a result of not raising an event but I do not understand why the actual command fails. Can anyone explain to me why I seem to be unable to setup HTTP connection. I traced the connection but no leads there. Thanks in advance, Tiest.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Tiest, is this the same code from my tutorial?

The HTTP connection could be a problem if you are behind a Proxy or if you are given proxy data and have no proxy.

Take a look at this weblog:

/people/sap.user72/blog/2004/11/04/bof-teched-munich-04--rss-http-and-bsp

Former Member
0 Kudos

Hi Craig, yes the code came from your blog and I thank you - as always for your help. I am looking at the blog you mentioned but I am confronted again, I am really still a newbie, and I have the following problem with that blog: where to put the code extracts. Where to put the codes for step 3, 4, and 5 in the page; in an event handler? The layout? Where, please help me to understand. Thanks, Tiest.

Message was edited by: Tiest van Gool

Former Member
0 Kudos

You could put that code in a method, or in the OnCreate Event handler for the page or in a section of the OnInputProcessing if you only want it to do something when the user clicks a button or you can put it on the page layout (same as OnCreate really)

Former Member
0 Kudos

Will try, will get back to you when issue is not resolved. Tiest

Former Member
0 Kudos

Hi Craig, I have been able to solve the first HTTP_COMMUNICATIO_ERROR, was caused by incorrect default RSS URL, after changing that entry no more http_client->receive errors occur. New problem have been identified, will open new thread after my investigations do not provide an answer. Thanks, Tiest