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

Designer generates wrong view model transformations for some services

    XMLWordPrintable

    Details

      Description

      When generating web service view from WSDL, the designer incorrectly adds the namespace to the request. The request [1] declares the "tns" prefix but since the namespace is not added to the actual request it generates [2].

      User can workaround this by directly modifying the request [3].

      [1]
      CREATE VIRTUAL PROCEDURE
      BEGIN
      SELECT XMLELEMENT(NAME getPeopleByName, XMLNAMESPACES('http://www.jboss.org/jbossas/dv/PeopleJaxws' AS tns)) AS xml_out;
      END

      [2] Caused by: javax.xml.ws.ProtocolException: Remote javax.xml.ws.soap.SOAPFaultException: Unexpected wrapper element getPeopleByName found. Expected

      {http://www.jboss.org/jbossas/dv/PeopleJaxws}

      getPeopleByName.

      [3]
      CREATE VIRTUAL PROCEDURE
      BEGIN
      SELECT XMLELEMENT(NAME getPeopleByName, XMLNAMESPACES(DEFAULT 'http://www.jboss.org/jbossas/dv/PeopleJaxws')) AS xml_out;
      END

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tejones Edwin Jones
                Reporter:
                van.halbert Van Halbert
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: