[
https://issues.jboss.org/browse/TEIIDDES-1415?page=com.atlassian.jira.plu...
]
Paul Richardson edited comment on TEIIDDES-1415 at 8/9/12 11:28 AM:
--------------------------------------------------------------------
Although, the default namespace allows the query to work, it still failed to return any
results (might have been fixed since I looked at this).
See my comment on #1393:
https://issues.jboss.org/browse/TEIIDDES-1393?focusedCommentId=12695438&a...
Returning empty results should no longer be an issue since it seems the namespaces in the
request and response must match. Otherwise, no data is returned.
was (Author: phantomjinx):
Although, the default namespace allows the query to work, it still failed to return
any results (might have been fixed since I looked at this).
See my comment on #1393:
https://issues.jboss.org/browse/TEIIDDES-1393?focusedCommentId=12695438&a...
Request Procedure Generated Namespace Is Incorrect For Element
--------------------------------------------------------------
Key: TEIIDDES-1415
URL:
https://issues.jboss.org/browse/TEIIDDES-1415
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 7.7.1
Reporter: Dan Florian
Assignee: Ted Jones
Fix For: 8.0
Attachments: StateService.war
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;
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira