SOAP RemoteComponent GenericValue gv

Firstname Lastname May 22, 2012

Can any one give me details on what GenericValue gv is?

Is this how the xml should look like based of the documentation?

<RemoteComponent>

<gv>

<id>12345</id>

<name>Some Name</name>

</gv>

</RemoteComponent>

http://docs.atlassian.com/rpc-jira-plugin/4.3.3/com/atlassian/jira/rpc/soap/beans/RemoteComponent.html

public class RemoteComponentextends AbstractNamedRemoteEntity


<th align="left" colspan="2">
RemoteComponent()
RemoteComponent(org.ofbiz.core.entity.GenericValue gv)
RemoteComponent(java.lang.String id, java.lang.String name)

2 answers

0 votes
Firstname Lastname May 22, 2012

Renjith,

I posted this question earlier - https://answers.atlassian.com/questions/56471/add-component-in-createissue

I am trying to add components in createIssue. I don't know what is the right the XML. I am looking at the documentation but cannot figure it out. the SOAP call doesn't accept my component, though it creats an issue. According to their documentation what else I need to add in this XML?

<components xsi:type="jir:ArrayOf_tns1_RemoteComponent" soapenc:arrayType="bean:RemoteComponent[1]" xmlns:jir="https://server/rpc/soap/jirasoapservice-v2">
<RemoteComponent>
<id xsi:type="xsd:string">10254</id>
<name xsi:type="xsd:string">Some component I want to add to the issue</name>
</RemoteComponent>
</components>

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 22, 2012

If you could give a bit more detail on what you are trying to achieve, it may help.

Suggest an answer

Log in or Sign up to answer