[
https://issues.jboss.org/browse/TEIIDDES-1992?page=com.atlassian.jira.plu...
]
Ted Jones resolved TEIIDDES-1992.
---------------------------------
Resolution: Done
Added missing namespace prefix to the generated transformation. Also added namespace and
prefix to the response transformation when the response message was namespaced and the
element was not.
Designer generates wrong view model transformations for some
services
---------------------------------------------------------------------
Key: TEIIDDES-1992
URL:
https://issues.jboss.org/browse/TEIIDDES-1992
Project: Teiid Designer
Issue Type: Bug
Components: Web Services Support
Affects Versions: 8.3
Reporter: Van Halbert
Assignee: Ted Jones
Priority: Critical
Fix For: 8.3.x
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira