I am desperately trying to get data out of polarion using C#.
I have imported the webservices into my VS2017 project, added some code to access it, read all information I could find on the internet.
The app connects successfully to Polarion, so I know the credentials are correct.
Code: Select all
SessionWebServiceClient session = new SessionWebServiceClient();
TrackerWebServiceClient tracker = new TrackerWebServiceClient();
ProjectWebServiceClient project = new ProjectWebServiceClient();
Settings s = new Settings();
var projectGroup = project.getRootProjectGroup();
the logIn method seems to work, the getRootProjectGroup() however gives me a "not authorized" error. This seems to be due to a missing "sessionID", says the internet.
However, I have added a SoapExtension as others mentioned, but without success.
Can maybe someone share a piece of code that simply connects to Polarion and retrieves just any data?