It's all about the answers!

Ask a question

Jazz can return to the JSON format of the data?


滕 晓聪 (2171) | asked Dec 02 '08, 4:20 a.m.
I did a Jazz tutorial of which JazzTalk example, calls the interface getAllMessages way to return the following form:

<xml>
- <soapenv>
- <soapenv>
- <response>
<method>getAllMessages</method>
<interface>com.example.jazztalk.common.IJazzTalkService</interface>
- <returnValue>
<type>COMPLEX</type>
- <values>
<stateId>_oXBUEcAhEd22I7h9fDaIpA</stateId>
<immutable>true</immutable>
<modified>2008-12-02T03:30:56.593Z</modified>
<text>First Post!</text>
<modifiedBy>
</values>
- <values>
<stateId>_WWgKkMBFEd2JtqCwodrLZg</stateId>
<immutable>true</immutable>
<modified>2008-12-02T07:46:37.625Z</modified>
<text>DDD</text>
<modifiedBy>
</values>
- <values>
<stateId>_7aUpQcBKEd2Y1KxhhlSgKQ</stateId>
<immutable>true</immutable>
<modified>2008-12-02T08:26:33.812Z</modified>
<text>txc</text>
<modifiedBy>
</values>
</returnValue>
</response>
</soapenv>
</soapen>


The result looks more complicated, you can return to a simple data format it? Such as JSON.

Thank you for all members of Jazz Server Team.

Be the first one to answer this question!


Register or to post your answer.