Bug 780975 - Teiid Designer - SalesForce Connection Profile Should Default to HTTPS
Summary: Teiid Designer - SalesForce Connection Profile Should Default to HTTPS
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: JBDS
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: JBDS
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-05 18:41 UTC by Paul Nittel
Modified: 2012-07-13 04:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: SOA-3445
Environment:
Last Closed: 2011-11-29 18:58:03 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-3445 0 None None None Never

Description Paul Nittel 2011-10-05 18:41:35 UTC
++ This bug is a clone of bug 780974 ++

project_key: SOA

The SalesForce connection profile uses http in it's default URL which causes the following error when creating a connection profile:

java.lang.Exception: com.sforce.soap.partner.UnexpectedErrorFault: UNSUPPORTED_CLIENT: HTTPS Required
	at com.metamatrix.modeler.modelgenerator.salesforce.connection.impl.Connection.login(Connection.java:82)
	at org.teiid.designer.datatools.salesforce.SalesForceConnection.<init>(SalesForceConnection.java:48)
	at org.teiid.designer.datatools.salesforce.ConnectionFactory.createConnection(ConnectionFactory.java:11)
	at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
	at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:360)
	at org.teiid.designer.datatools.salesforce.ui.SalesForceProfileDetailsWizardPage$SalesforcePingJob.createTestConnection(SalesForceProfileDetailsWizardPage.java:405)
	at org.teiid.designer.datatools.salesforce.ui.SalesForceProfileDetailsWizardPage$SalesforcePingJob.run(SalesForceProfileDetailsWizardPage.java:392)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: com.sforce.soap.partner.UnexpectedErrorFault: UNSUPPORTED_CLIENT: HTTPS Required
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
	at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
	at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
	at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
	at $Proxy36.login(Unknown Source)
	at com.metamatrix.modeler.modelgenerator.salesforce.connection.impl.Connection.login(Connection.java:73)
	... 7 more

Overriding with the ssl version of the URL gets around this issue.

Comment 1 Paul Nittel 2011-10-05 18:41:36 UTC
Link: Added: This issue Cloned from TEIIDDES-1089


Comment 2 Paul Nittel 2011-10-05 18:42:46 UTC
Security: Added: Public


Comment 5 David Le Sage 2011-10-09 22:02:22 UTC
Release Notes Docs Status: Added: Not Required
Writer: Added: dlesage


Comment 6 Paul Nittel 2011-11-29 18:58:03 UTC
Tested and closed.


Note You need to log in before you can comment on or make changes to this bug.