cancel
Showing results for 
Search instead for 
Did you mean: 

Communication between RPC XML interface and ABAP.

Former Member
0 Kudos

Hi all,

how to consume the webservice (BZSt: USt-IdNr. Bestätigung) in SAP system which has RPC XML interface.

There should be a communication between this website and my ABAP program so that i can send the input data and receive the result in the ABAP program.

i tried searching in the forum but only found webservices using WSDL.

Thanks in advance,

regards,

NarsiReddy.

Accepted Solutions (0)

Answers (1)

Answers (1)

matt
Active Contributor
0 Kudos

You build the consumer proxy using the WSDL supplied for the website. This generates ABAP classes that you then use to consume the web service.

Former Member
0 Kudos

Hi Matthew Billingham,

There is no WSDL for this website. the below answer is written in FAQ of the website.

"For the XML-RPC interface, there is no interface description style of WSDL".

Is there any other way to do it?

thanks & regards,

NarsiReddy.

matt
Active Contributor
0 Kudos

Ah, a more interesting problem. I like those.

I think you'll need to do something with CL_HTTP_CLIENT - maybe something like this?

DATA client TYPE REF TO cl_http_client.

CREATE OBJECT client.

client->request->set_header_field(

    NAME = 'SOAPAction'

    VALUE = 'https://evatr.bff-online.de/' ).


Then use various method calls to send parameters and retrieve results. I've not had a chance to test it at all. I think maybe this will give you some hints. (Also in German).


engswee
Active Contributor
0 Kudos

Narsi

From the details on the website, it looks like it just requires either a HTTP POST or HTTP GET request. It is not a SOAP-based interface, so no WSDL is required.

You just need to dynamically form the URL with the relevant parameter & value pairs, and execute the HTTP request. The class CL_HTTP_CLIENT mentioned above provides the necessary methods (CREATE_BY_URL, SEND, RECEIVE, etc) to fulfill such HTTP requests.

Rgds

Eng Swee

bruno_esperanca
Contributor
0 Kudos

I have a similar request. Thanks so much for your replies.

Cheers,

Bruno