[mashup-dev] [jira] Closed: (MASHUP-159) Try it does validate input when inputType is anyType

Jonathan Marsh (JIRA) jira at wso2.org
Fri Sep 21 17:21:52 PDT 2007


     [ http://www.wso2.org/jira/browse/MASHUP-159?page=all ]

Jonathan Marsh closed MASHUP-159.
---------------------------------


> Try it does validate input when inputType is anyType 
> -----------------------------------------------------
>
>                 Key: MASHUP-159
>                 URL: http://www.wso2.org/jira/browse/MASHUP-159
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>            Reporter: Keith Godwin Chapman
>         Assigned To: Jonathan Marsh
>             Fix For: 0.2
>
>
> If we use the following service which has no schema annotations the inputType in the WSDL will read as anyType. So does the try it. But if the user gives a value like "test" to the inputType the tryIt page gives a javascript error. The request and response in such a case is also given below.
> function echo(s){	
>         return s;
> }
> Request
> <?xml version="1.0" encoding="UTF-8"?>
> <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing">
> <s:Header><wsa:To>http://192.168.1.3:9762/services/test2</wsa:To>
> <wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo>
> <wsa:MessageID>http://identifiers.wso2.com/messageid/1182337862638/5490662462</wsa:MessageID>
> <wsa:Action>urn:echo</wsa:Action>
> </s:Header>
> <s:Body>test</s:Body>
> </s:Envelope>
> Response
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
> <soapenv:Body/></soapenv:Envelope>

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