Skip to Content
Former Member
Aug 29, 2007 at 09:23 PM

consuming a https webservice from 6.20


Hi all,

I am trying to consume a webservice from 6.20 version. I have the WSDL file of the service and I am trying to build a SOAP message out of it.

Then I call the methods in my program to create the client and send the request data.

In the response/receive I am getting a 404 Resource not found, Partnernot reached..

I am unable to troubleshoot this problem. I am unable to find if it is related to the the SOAP message I am building or is it the client creation thats failing?

Interestingly ,IF I use cl_http_cleint create by URL, Iam able to connect to the actual URL of the webservice and could see the data in the response' Hi, there is form to invoke the service'. This is what you see if you go to that url in the browser.




'<?xml version="1.0" encoding="utf-8"?>'


' xmlns:xsd=""'

' xmlns:soap="">'



' xmlns="">'


'<userId0>' user '</userId0>'

'<credential>' password '</credential>'





INTO wf_string.

CLEAR :rlength , txlen .

rlength = STRLEN( wf_string ) .

MOVE: rlength TO txlen .

CALL METHOD cl_http_client=>create


host = ''

service = '443'

scheme = '2'

ssl_id = 'ABC'


client = http_client.

CALL METHOD http_client->request->set_header_field


name = '~request_method'

value = 'GET'.

CALL METHOD http_client->request->set_cdata


data = wf_string

offset = 0

length = rlength.

CALL METHOD http_client->send


http_communication_failure = 1

http_invalid_state = 2.

CALL METHOD http_client->receive


http_communication_failure = 1

http_invalid_state = 2

http_processing_failed = 3.

data fields type tihttpnvp.

CLEAR wf_string1.

wf_string1 = http_client->response->get_cdata( ).


If I just use:

I am able to reach the URL.

Please suggest.