[
https://issues.jboss.org/browse/TEIIDDES-2329?page=com.atlassian.jira.plu...
]
Ramesh Reddy commented on TEIIDDES-2329:
----------------------------------------
See the comment by SteveH in TEIID-3107 about the return type of the
"invokeHTTP" method, the same seems to be true for "invoke" procedure
call too. The documentation on these methods can be found at
https://docs.jboss.org/author/display/TEIID/Web+Services+Translator
One thing we would like to know is, in which version "contentType" attribute
added? Is that a released version? Based on the answer, Teiid can provide a compensated
code in 8.9 version, but in Teiid 8.8 it would fail.
WS translator Procedure definition defined in correctly
-------------------------------------------------------
Key: TEIIDDES-2329
URL:
https://issues.jboss.org/browse/TEIIDDES-2329
Project: Teiid Designer
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Import/Export
Reporter: Ramesh Reddy
TEIID-3016 added new headers argument, when by default it is not used in the invokeHTTP
procedure the following exception is seen. I also tried named parameters to avoid the
issue but no change in situation.
{code}
java.lang.NullPointerException
at
org.teiid.translator.ws.BinaryWSProcedureExecution.execute(BinaryWSProcedureExecution.java:138)
at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:326)
[teiid-engine-8.9.0.Alpha3-SNAPSHOT.jar:8.9.0.Alpha3-SNAPSHOT]
at
org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:298)
[teiid-engine-8.9.0.Alpha3-SNAPSHOT.jar:8.9.0.Alpha3-SNAPSHOT]
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:110)
[teiid-engine-8.9.0.Alpha3-SNAPSHOT.jar:8.9.0.Alpha3-SNAPSHOT]
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:107)
[teiid-engine-8.9.0.Alpha3-SNAPSHOT.jar:8.9.0.Alpha3-SNAPSHOT]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_65]
at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:58)
[teiid-engine-8.9.0.Alpha3-SNAPSHOT.jar:8.9.0.Alpha3-SNAPSHOT]
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:274)
[teiid-engine-8.9.0.Alpha3-SNAPSHOT.jar:8.9.0.Alpha3-SNAPSHOT]
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119)
[teiid-engine-8.9.0.Alpha3-SNAPSHOT.jar:8.9.0.Alpha3-SNAPSHOT]
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:214)
[teiid-engine-8.9.0.Alpha3-SNAPSHOT.jar:8.9.0.Alpha3-SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_65]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)