English 中文(简体)
JIRA SOAP createIssue from C#
原标题:

Has anyone had trouble with response of JIRA s createIssue method? The problem is, that method returns empty attachmentName node:

<attachmentNames soapenc:arrayType="soapenc:string[0]" xsi:type="soapenc:Array"/>

which is actually ok, but then the deserialization to the RemorteIssue object fails with:

Error in call to JiraService, method createIssue. There is an error in XML document (1, 802).. The specified type was not recognized: name= string , namespace= http://schemas.xmlsoap.org/soap/encoding/ , at .

part of the RemoteIssue looks like this:

  [System.Xml.Serialization.SoapTypeAttribute("RemoteIssue", "http://beans.soap.rpc.jira.atlassian.com")]
  public class RemoteIssue : AbstractRemoteEntity 
  {

    /// <remarks/>
    public RemoteVersion[] affectsVersions;

    /// <remarks/>
    public string assignee;

    /// <remarks/>
    public string[] attachmentNames;

    /// <remarks/>
    public RemoteComponent[] components;

The RemoteIssue however is created, the only problem is, I can t get RemoteIssue returned which contains the key to the newly created issue

最佳回答

I wrote a tool to interact with Jira and it is able to create new issues perfectly. If you want, you can take a look in http://github.com/adrianoc/binboo

问题回答

暂无回答




相关问题
IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

ASP.net web services

I am using a web service which sets the Thread.CurrentPrincipal object while logging in and soon later when another webmethod of the same web service accesses Thread.CurrentPrincipal, its different/...

Unity Container Disposing and XML Web Service

I am registering some wrapers over un-managed objects in container. How can I dispose of them at the end of the container s lifetime? Please bear in mind I have an XML Web service.

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

热门标签