Hello,
i try to use the SOAP-API of Salesforce from ABAP.
Has anybody done this? Do you have example code?
To communicate with the webservice i have to login with user and passwort.
After successful login the Webservice returns a server-url and a session-id.
I have to set this parameters to the soap-header. I do not know how i can do this in ABAP.
In c# it looks simple:
binding.Url = lr.serverUrl;
/** Get the session ID from the login result and set it for the
* session header that will be used for all subsequent calls.
*/
binding.SessionHeaderValue = new SessionHeader();
binding.SessionHeaderValue.sessionId = lr.sessionId;
Where binding is the generated proxy. But in ABAP the generated proxy has no url-attribut and i can not access the sessionheader.
Any idea how to set the attributs with abap?
Thanks
Manuel