[mashup-dev] [jira] Updated: (MASHUP-133) Type mapping improvements
Thilina Gunarathne (JIRA)
jira at wso2.org
Fri Jul 20 04:43:42 PDT 2007
[ http://www.wso2.org/jira/browse/MASHUP-133?page=all ]
Thilina Gunarathne updated MASHUP-133:
--------------------------------------
Assignee: Keith Godwin Chapman (was: Thilina Gunarathne)
> Type mapping improvements
> -------------------------
>
> Key: MASHUP-133
> URL: http://www.wso2.org/jira/browse/MASHUP-133
> Project: WSO2 Mashup Server
> Issue Type: Improvement
> Reporter: Jonathan Marsh
> Assigned To: Keith Godwin Chapman
> Fix For: 0.2
>
>
> Some possible improvements include:
> 1) No .inputType and .inputType={'param":"anyType"} are different - should be different in the WSDL.The first has no wrapper (shoudl be input element="#any") and second does (should be input element="something", something introduces an operation name wrapper and the <param> wrapper.
> 2) I think without any annotations there should be an <input element="#none"/> for no parameters, <input element="#any"> for one parameter, and perhaps an error if there is more than one. And <output element="#any"> (If we were smart enough to detect there was no return then we could also do <output element=#none>).
> 3) We want to be able to say .outputType = "#any", which would mean the same thing as not having an .outputType.
> 4) Consider whether forcing JS authors always to use schema types is good. It might be better to use "string" to mean a JS string, which we by default will convert to an "xs:string" ("date" converted to "xsateTime" is a more illustative example.) Or they can specify a specific schema type by using the xs: prefix explicitly. That is, "date" is a javascript Date object, which we'll convert to the closest XS type, but "xsate" would mean use the xsate schema type in the wsdl.
> 5. I can even imagine allowing user-defined JS objects as types, as long as they have a "toXML" method defined.
> 6. Need detailed type mappings (e.g. what to do about characters allowed in JS strings disallowed in xs:strings.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.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