Hi everyone,
we have two external web services. one of them is sign in service the other includes the functions we need.
they want us to create a session first and login in that session and then call the other service. here is the code they gave us
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
localUserService.userService us = new localUserService.userService();
localMukellefServisi.mukellefServisi ms = new localMukellefServisi.mukellefServisi();
us.CookieContainer = new System.Net.CookieContainer();
ms.CookieContainer = us.CookieContainer;
us.wsLogin(userName, password, "tr");
ms.mukellefListesi();
us.logout();
}
}
}
i created the proxy and logical ports. i call the first login service its ok but when i try to call the second service it returns the error "session required"
how can we do this in abap