[ 
https://wso2.org/jira/browse/MASHUP-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Marsh resolved MASHUP-730.
-----------------------------------

    Resolution: Fixed

> JavaScript stub does not handle QName parameters as expected
> ------------------------------------------------------------
>
>                 Key: MASHUP-730
>                 URL: https://wso2.org/jira/browse/MASHUP-730
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>            Reporter: Keith Godwin Chapman
>            Assignee: Jonathan Marsh
>             Fix For: 1.1
>
>
> When a stub is used with a QName parameter the data is not serialized 
> correctly. For instance take the following as a test case
> qname.js
> foo.inputTypes="xs:QName";
> foo.outputType="xs:QName";
> function foo(param){
> return param;
> }
> qnameTest.js
> system.include("http://localhost:7762/services/keith/qname?stub&lang=e4x&localhost=true&content-type=text/plain";);
> foo.inputTypes={"namespace":"string","localpart":"string"};
> function foo(namespace, localpart){
>       return qname.foo(new QName(namespace, localpart));
> }
> when qnameTest is invoked using tryit (http://test.com, foo) the resulting 
> XML output is 
> <ws:fooResponse>
> <return js:type="xml">
> <ws:fooResponse>
> <return>s2://test.com::foo</return>
> </ws:fooResponse>
> </return>
> </ws:fooResponse>

-- 
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

        

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to