<!-- If susbsytem is already defined, only copy the contents under it and edit to suit your needs -->
<subsystem xmlns="urn:jboss:domain:resource-adapters:1.0">
    <resource-adapters>
        <resource-adapter>
            <archive>teiid-connector-salesforce.rar</archive>
            <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">
                        
                    <!-- URL; the below is test; replace with actual URL you need to connect to -->
                    <config-property name="URL">https://www.salesforce.com/services/Soap/u/22.0</config-property>
                    
                    <config-property name="username">user</config-property>
                    <config-property name="password">pass</config-property>
                    
                    <!-- 
                        Uncomment this property to supply specific configuration for SalesForce service. This configuration
                        must contain config for "SforceService" service with namespace "urn:partner.soap.sforce.com"
                    <config-property name="configFile">path/to/jbossws-cxf.xml</config-property>
                    -->
                </connection-definition>
            </connection-definitions>
        </resource-adapter>
    </resource-adapters>
</subsystem>

