Details
-
Bug
-
Resolution: Done
-
Major
-
7.7.1
-
None
-
None
Description
I ran the "WSDL to Source and View Model (SOAP)" importer using the US States WSDL. The importer generated the source and view models. Running a preview data on the GetStateInfo procedure fails.
The GetStateInfo_request generated code is this:
SELECT XMLELEMENT(NAME GetStateInfo, XMLNAMESPACES(DEFAULT 'http://www.teiid.org/stateService/'), XMLELEMENT(NAME stateCode, stateServiceView.GetStateInfo_request.stateCode)) AS xml_out;
Changing to this corrected the problem:
SELECT XMLELEMENT(NAME GetStateInfo, XMLNAMESPACES(DEFAULT ''), XMLELEMENT(NAME stateCode, stateServiceView.GetStateInfo_request.stateCode)) AS xml_out;