2010-02-02 67 views
1

有沒有人遇到過JIRA的createIssue方法的響應問題? 問題是,該方法將返回空ATTACHMENTNAME節點:JIRA SOAP createIssue from C#

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

這實際上確定,但隨後的反序列化到RemorteIssue對象失敗:

錯誤調用JiraService,方法createIssue。 XML文檔(1,802)中存在錯誤。指定的類型未被識別:name ='string',namespace ='http://schemas.xmlsoap.org/soap/encoding/',at。在RemoteIssue的

部分看起來是這樣的:

[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; 

的RemoteIssue但是被創建,唯一的問題是,我不能讓RemoteIssue返回其中包含的關鍵,新創建的問題

+0

你有沒有嘗試過使用「添加服務參考」?它比ASMX客戶更有可能工作。 – 2010-02-03 00:39:57