[
https://issues.jboss.org/browse/TEIIDDES-1261?page=com.atlassian.jira.plu...
]
Ted Jones commented on TEIIDDES-1261:
-------------------------------------
The generated REQUEST transformation for the attached WSDL should look as follows:
CREATE VIRTUAL PROCEDURE
BEGIN
SELECT XMLELEMENT(NAME "soapenv:Envelope",
XMLNAMESPACES('http://www.w3.org/2002/12/soap-envelope' AS soapenv),
XMLELEMENT(NAME "soapenv:Header", XMLELEMENT(NAME quote_timestamp,
StockServiceServiceView.getLastSellPrice_request.quote_timestamp)), XMLELEMENT(NAME
getLastSellPrice, XMLNAMESPACES(DEFAULT 'http://soapheader.ibm.com'),
XMLELEMENT(NAME "soapenv:Body", XMLELEMENT(NAME ticker,
StockServiceServiceView.getLastSellPrice_request.ticker)))) AS xml_out;
END
This transformation will create the following SOAP Request:
<soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2002/12/soap-envelope"><...
xmlns="http://soapheader.ibm.com"><soapenv:Body><ticker>RHT</ticker></soapenv:Body></getLastSellPrice></soapenv:Envelope>
Add Better Support for SOAP Envelopes Elements in the Request and
Response of Web Service Sources
-------------------------------------------------------------------------------------------------
Key: TEIIDDES-1261
URL:
https://issues.jboss.org/browse/TEIIDDES-1261
Project: Teiid Designer
Issue Type: Feature Request
Components: Web Services Support
Affects Versions: 7.6
Reporter: Ted Jones
Assignee: Ted Jones
Fix For: 7.7
Attachments: StockService.wsdl
Currently, if the user wants to include SOAP Envelope values in a request/response, they
have to modify the generated transformations by hand and override the ws translator to
change the mode from PAYLOAD to MESSAGE. We need to add this functionality to the wizard
that generates the transformations.
--
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