22 Ekim 2008 Çarşamba

Webservice çağırma

1) FM : HTTP_POST



types c255(255) type c.
data : rlength type i,
rfcdest like rfcdes-rfcdest,
absuri(100) type c.

data : request_table type table of c255 with header line,
response_table type table of c255 with header line,
response_header_table type table of c255,
request_header type table of c255.

call function 'HTTP_POST'
exporting
absolute_uri = absuri
request_entity_body_length = rlength
rfc_destination = 'SAPHTTP'
importing
status_code = status_code
status_text = status_text
response_entity_body_length = response_body_length
tables
request_entity_body = request_table
response_entity_body = response_table
response_headers = response_header_table
request_headers = request_header
.
2)T.Code lpconfig ...sayfa webservice ise (yani asmx ise..)soap la mesaj gondermek icin

Hiç yorum yok: