[
https://issues.jboss.org/browse/TEIID-5713?page=com.atlassian.jira.plugin...
]
Ramesh Reddy commented on TEIID-5713:
-------------------------------------
Yes, I did test with resource-adapter 41 with translator 41, and I see that error.
{code}
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
<vdb name="sf" version="1">
<model name="sf">
<source name="localhost" translator-name="salesforce-41"
connection-jndi-name="java:/sfDS"/>
</model>
</vdb>
<!--
<resource-adapter id="sf41">
<module id="org.jboss.teiid.resource-adapter.salesforce-41"/>
<transaction-support>NoTransaction</transaction-support>
<connection-definitions>
<connection-definition
class-name="org.teiid.resource.adapter.salesforce.SalesForceManagedConnectionFactory"
jndi-name="java:/sfDS"
enabled="true"
use-java-context="true"
pool-name="teiid-sf-ds">
<config-property name="username">user</config-property>
<config-property name="password">pass</config-property>
</connection-definition>
</connection-definitions>
</resource-adapter>
-->
{code}
Safesforce-41 translator errors
-------------------------------
Key: TEIID-5713
URL:
https://issues.jboss.org/browse/TEIID-5713
Project: Teiid
Issue Type: Bug
Components: Salesforce Connector
Reporter: Ramesh Reddy
Assignee: Steven Hawkins
Priority: Major
Using the Salesforce-41 translator, just loading the metadata it fails with error. I have
verified this with WF and SB. I think, it is probably better to switch this version to new
version, and remove this version.
{code}
Caused by: com.sforce.ws.ConnectionException: ChangeEventHeader Not a valid enumeration
for type: class com.sforce.soap.partner.SoapType
at com.force.api:41//com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:668)
at com.force.api:41//com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:556)
at com.force.api:41//com.sforce.soap.partner.Field.setSoapType(Field.java:1702)
at com.force.api:41//com.sforce.soap.partner.Field.loadFields1(Field.java:2039)
at com.force.api:41//com.sforce.soap.partner.Field.loadFields(Field.java:1912)
at com.force.api:41//com.sforce.soap.partner.Field.load(Field.java:1906)
at com.force.api:41//com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:674)
at com.force.api:41//com.sforce.ws.bind.TypeMapper.readArray(TypeMapper.java:580)
at com.force.api:41//com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:558)
at
com.force.api:41//com.sforce.soap.partner.DescribeSObjectResult.setFields(DescribeSObjectResult.java:398)
at
com.force.api:41//com.sforce.soap.partner.DescribeSObjectResult.loadFields1(DescribeSObjectResult.java:1421)
at
com.force.api:41//com.sforce.soap.partner.DescribeSObjectResult.loadFields(DescribeSObjectResult.java:1350)
at
com.force.api:41//com.sforce.soap.partner.DescribeSObjectResult.load(DescribeSObjectResult.java:1344)
at com.force.api:41//com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:674)
at com.force.api:41//com.sforce.ws.bind.TypeMapper.readArray(TypeMapper.java:580)
at com.force.api:41//com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:558)
at
com.force.api:41//com.sforce.soap.partner.DescribeSObjectsResponse_element.setResult(DescribeSObjectsResponse_element.java:48)
at
com.force.api:41//com.sforce.soap.partner.DescribeSObjectsResponse_element.loadFields1(DescribeSObjectsResponse_element.java:107)
at
com.force.api:41//com.sforce.soap.partner.DescribeSObjectsResponse_element.loadFields(DescribeSObjectsResponse_element.java:83)
at
com.force.api:41//com.sforce.soap.partner.DescribeSObjectsResponse_element.load(DescribeSObjectsResponse_element.java:77)
at com.force.api:41//com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:674)
at com.force.api:41//com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:556)
at
com.force.api:41//com.sforce.ws.transport.SoapConnection.bind(SoapConnection.java:180)
at
com.force.api:41//com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:154)
at
com.force.api:41//com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:99)
at
com.force.api:41//com.sforce.soap.partner.PartnerConnection.describeSObjects(PartnerConnection.java:1225)
at
org.jboss.teiid.resource-adapter.salesforce-41@12.2.0-SNAPSHOT//org.teiid.resource.adapter.salesforce.SalesforceConnectionImpl.getObjectMetaData(SalesforceConnectionImpl.java:514)
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)