[
https://wso2.org/jira/browse/MASHUP-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309#action_16309
]
Jonathan Marsh commented on MASHUP-742:
---------------------------------------
When the WSDL type is xs:anyType, stub now places xsi:type on the parameter
wrapper element. If the parameter is supplied to the stub as a type this type
is converted as follows:
boolean -> xs:boolean
number -> xs:double
e4x xml -> xs:anyType
dom xml -> xs:anyType
date -> xs:dateTime
null -> xs:string (empty string value)
If the input parameter is a string, the stub attempts to parse the supplied
value to determine the type. :
"true" | "false" -> xs:boolean
parseable as Javascript date -> xs:dateTime (value is converted to xs:dateTime)
parseable as xs:date -> xs:date
parseable as xs:time -> xs:time
parseable as xs:dateTime -> xs:dateTime
integer or decimal number -> xs:double
parseable as XML -> xs:anyType
anything else -> xs:string (value is then xml-escaped)
Leading and trailing whitespace is ignored in all cases.
> Stub needs to include xsi:type attribute when the dataType is anyType
> ---------------------------------------------------------------------
>
> Key: MASHUP-742
> URL: https://wso2.org/jira/browse/MASHUP-742
> Project: WSO2 Mashup Server
> Issue Type: New Feature
> Reporter: Keith Godwin Chapman
> Assignee: Jonathan Marsh
>
> Stub needs to include xsi:type attribute when the schema type is anyType
--
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