Wednesday, October 28, 2009

Make Jira SOAP Service work with C#

Recentlly, I have a project about the JIRA. I need call the RPC SOAP Service to some work. At first, it took me lots of time to get it work in my Visual Studio. First I add the http://******?wsdl to the reference, but it did not work. Then I try to use the wsdl /language:CS http://*******?wsdl to generate the server stub code, still failed. After I google it, I finally got it.
  1. Access the http://******?wsdl from your browser
  2. File->Save as ***.wsdl
  3. Edit the file with notepad and remove $ in IssueServiceImpl$RemoteWorklogImpl
  4. From the VS command Line, wsdl ***.wsdl
  5. Mow a **.cs file is generated. You can add it to your project now.

No comments:

Post a Comment