[Mashup-dev] [jira] Updated: (MASHUP-346) The response displyed by try-it is incorrect when the return is an actual array
Jonathan Marsh (JIRA)
jira at wso2.org
Wed Aug 6 16:23:03 PDT 2008
[ https://wso2.org/jira/browse/MASHUP-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Marsh updated MASHUP-346:
----------------------------------
Fix Version/s: 1.5.1
(was: 0.3)
> The response displyed by try-it is incorrect when the return is an actual array
> -------------------------------------------------------------------------------
>
> Key: MASHUP-346
> URL: https://wso2.org/jira/browse/MASHUP-346
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Reporter: Keith Godwin Chapman
> Assignee: Jonathan Marsh
> Priority: Critical
> Fix For: 1.5.1
>
>
> Take the following eg.
> returnArrayFunction.returnType="array";
> function returnArrayFunction(){
> var returnArray = new Array();
> returnArray[0] = "value1";
> returnArray[1] = 2.270;
> returnArray[2] = <value>2</value>;
> return returnArray;
> }
> The response message to this is follows:
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
> <soapenv:Body>
> <ws:returnArrayFunctionResponse xmlns:ws="http://services.mashup.wso2.org/test?xsd">
> <return xmlns:js="http://www.wso2.org/ns/jstype" js:type="array">
> <item js:type="string">value1</item>
> <item js:type="number">2.27</item>
> <item js:type="xml">
> <value>2</value>
> </item>
> </return>
> </ws:returnArrayFunctionResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> But the response shown by try-it is:
> <item js:type="string" xmlns:js="http://www.wso2.org/ns/jstype">value1</item>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Mashup-dev
mailing list