Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Client cannot send Process handles to Server

I have a client designed,where i need to send IProcessArea information to Service which is REST Service,
I could store the values in IParameterWrapper instance. I had 2 fields in the instance one is ITeamAreaHandle and another is String. When i sent the value to server. I could get the serialized values , but i could not get reference of ITeamAreaHandle, that was null. When i tried another option, to send UUID of process area, that is also not serialized. So Please advice. How i can send process area info to server.

0 votes



3 answers

Permanent link
I have a client designed,where i need to send IProcessArea information
to Service which is REST Service,
I could store the values in IParameterWrapper instance. I had 2 fields
in the instance one is ITeamAreaHandle and another is String. When i
sent the value to server. I could get the serialized values , but i
could not get reference of ITeamAreaHandle, that was null. When i
tried another option, to send UUID of process area, that is also not
serialized. So Please advice. How i can send process area info to
server.

IParameterWrapper supports only primitive types and arrays thereof, so you
have to send the UUID as a string:

teamAreaHandle.getItemId().getUuidValue()

(I assume you are using the ITeamModelledRestService from both Java and
JS/Web? If you only have a Java client, a regular service might be the
better option)

--
Regards,
Patrick
Jazz Work Item Team

0 votes


Permanent link
I have a client designed,where i need to send IProcessArea information
to Service which is REST Service,
I could store the values in IParameterWrapper instance. I had 2 fields
in the instance one is ITeamAreaHandle and another is String. When i
sent the value to server. I could get the serialized values , but i
could not get reference of ITeamAreaHandle, that was null. When i
tried another option, to send UUID of process area, that is also not
serialized. So Please advice. How i can send process area info to
server.

IParameterWrapper supports only primitive types and arrays thereof, so you
have to send the UUID as a string:

teamAreaHandle.getItemId().getUuidValue()

(I assume you are using the ITeamModelledRestService from both Java and
JS/Web? If you only have a Java client, a regular service might be the
better option)

--
Regards,
Patrick
Jazz Work Item Team

Hi
Thanks for your reply, i could now pass uuid value and re generate a uui at server, but using the uuid , how to get the process handle like team area handle or project area handle

0 votes


Permanent link
Thanks for your reply, i could now pass uuid value and re generate a
uui at server, but using the uuid , how to get the process handle
like team area handle or project area handle

You can use

ITeamAreaHandle handle= (ITeamAreaHandle)
ITeamArea.ITEM_TYPE.createItemHandle(uuid, null);

Analogous for other item types.

--
Regards,
Patrick
Jazz Work Item Team

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,054

Question asked: Aug 19 '09, 7:32 a.m.

Question was seen: 6,174 times

Last updated: Aug 19 '09, 7:32 a.m.

Confirmation Cancel Confirm