I try use jira soap api on c#:
- create new project in VS2010
- add web service reference (JiraTest):
http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl -
write next code:
static void Main(string[] args) { var jiraLogin = "soaptester"; var jiraPassword = "soaptester"; var jiraClient = new JiraTest.JiraSoapServiceClient(); var projects = jiraClient.getProjects(); }
But this code throw exepition that I’m not autentificate yet.
I try find login method, but it have next signature:
public void login();
Where are no loginname and password parameters.
When I use this login method code throw exeption that login or password invalid. And I don’t known where I must set my credentials.
How I can login with jira soap api before call needed method?
Added: see https://developer.atlassian.com/display/JIRADEV/Creating+a+JIRA+SOAP+Client
You can try this