WebReference - webservice return DataSet/DataTable

WebReference - webservice return DataSet/DataTable

  
Hello.

i'm having a problem adding a webservice that is returning a dataset or datatable.
when i add web reference i got this error :

" ERROR LOADING WSDL
Unsupported definitin construct in WSDL:
Unsupported 'any' data type in WSDL. "

......?wsdl from webservice : ....
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="pesquisaResult">
- <s:complexType>
- <s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
.....

anyone got this problem before ?

thanks
Hi Bruno

You get that error because the OutSystems Platform does not support "any" type fields in web service responses.

To use that web service with OutSystems, please adapt the WSDL to specify the type of the field that is used. For more information, you can check these Service Studio help links:
- http://www.outsystems.com/help/servicestudio/7.0/integrating_with_other_systems/web_services/XML_Data_Types_to_eSpace_Data_Types.htm
- http://www.outsystems.com/help/servicestudio/7.0/errors_and_warnings/invalid_web_reference_error.htm
- http://www.outsystems.com/help/servicestudio/7.0/errors_and_warnings/unsupported_web_reference_error.htm

Cheers,