GeminiWS Questions
hey guys!
i tried to create an issue via the GeminiWS Webservice ( http://its.amadee.net/webservices/gemini.asmx )
the problem is that i want to create an issue with more than 1 attachment and a customfield . is that possible?
there is the CreateIssueWithAttachment webservice. but i can only create one attachment with it, right? and the other problem is, that the nodes:
<IssueCustomFieldData>
...
</IssueCustomFieldData>
inside the data element wont work. all other nodes are working. if i use the CreateIssueWithCustomFields web service and use the upper described nodes outside the data node it will work for the customfields. but then i have the problem that the Attachment node inside the data node wont work.
but then i have the problem with the attachments. im using the soap 1.2 request.
here is a full sample i used:
<CreateIssueWithAttachment xmlns="http://countersoft.com/gemini/webservices/">
<data>
<ProjectID>19</ProjectID>
<IssueType>31</IssueType>
<IssuePriority>2</IssuePriority>
<IssueSeverity>2</IssueSeverity>
<IssueStatus>1</IssueStatus>
<IssueResolution>1</IssueResolution>
<ReportedBy>143</ReportedBy>
<IssueSummary>Test issue - Gemini WebService</IssueSummary>
<IssueLongDesc>Test.</IssueLongDesc>
<RiskLevel>1</RiskLevel>
<Visibility>1</Visibility>
<VisibilityMemberType>GlobalGroup</VisibilityMemberType>
<IssueCustomFieldData>
<CustomFieldDataEN>
<CustomFieldID>89</CustomFieldID>
<UserID>143</UserID>
<ProjectID>19</ProjectID>
<CustomFieldData>5</CustomFieldData>
</CustomFieldDataEN>
</IssueCustomFieldData>
<IssueResources>
<IssueResourceEN>
<UserID>107</UserID>
<!--User xsi:nil="true"/-->
</IssueResourceEN>
</IssueResources>
<Components>
<IssueComponentEN>
<ComponentID>902</ComponentID>
<!--Component xsi:nil="true"/-->
</IssueComponentEN>
</Components>
</data>
<fileData>
<ProjectID>19</ProjectID>
<ContentType>text/xml</ContentType>
<ContentLength>2968</ContentLength>
<FileName>test.txt</FileName>
</fileData>
<fileContent>aGFsbG8=</fileContent>
</CreateIssueWithAttachment>
bold marked stuff wont work.
Italic marked stuff works, but only outside the data node. there is an attachment node inside the data node, but this wont work. can someone tell me why?
thank you for hopefully helping me :)
amadeescc
· 1 |
|
Tuesday, February 24, 2009, 1:10:26 PM |