Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-1415

Request Procedure Generated Namespace Is Incorrect For Element

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0
    • 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;

      Attachments

        Activity

          People

            rhn-engineering-tejones Edwin Jones
            dflorian@redhat.com Daniel Florian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: