yog240
14 years agoNew Contributor
How to create a Review using web services in C#?
Hi,
I am working on tool which automates development process, as part of this I am integrating CodeCollaborator into my tool. I am trying to create a review using web services. How can I do that in C#?
I generated Proxy class for web services.. and can able to submit my CodeCollaborator credentials and it returns me token.. here is my issue..
I have seen that in forums.. Later on, I need to submit my token for calling any of web methods.. ex: Creating Review
string token = proxyObject.getLoginTicket("Username","password")
int review id = proxyObject.createReview("username") ==> giving following error
Your ticket is invalid. You may need to log in again to get a new ticket.
Here how can I pass my token in C#?
Please help me ASAP.. thanks in advance
Thanks,
Yoganand.
I am working on tool which automates development process, as part of this I am integrating CodeCollaborator into my tool. I am trying to create a review using web services. How can I do that in C#?
I generated Proxy class for web services.. and can able to submit my CodeCollaborator credentials and it returns me token.. here is my issue..
I have seen that in forums.. Later on, I need to submit my token for calling any of web methods.. ex: Creating Review
string token = proxyObject.getLoginTicket("Username","password")
int review id = proxyObject.createReview("username") ==> giving following error
Your ticket is invalid. You may need to log in again to get a new ticket.
Here how can I pass my token in C#?
Please help me ASAP.. thanks in advance
Thanks,
Yoganand.