I am struggling in connecting wso2esb with Salesforce.
- Configure the proxy settings followed by Configuring PROXY settings in WSO2 ESB 4.8.1.
I run into an issue (SOAPProcessingException),
I am struggling in connecting wso2esb with Salesforce.
I run into an issue (SOAPProcessingException),
Because of the "timeout connecting to..." message, it looks for me like you're not reaching salesforce. Are you sure you're connection isn't blocked by your proxy?
I've done the same with ESB 4.8.1 and there it works. the only thing I had to do, is to set the proxy authentication before connecting to salesforce. therefor I had to set the following two properties before I make the sale3sforce call.
<property xmlns:ns2="http://org.apache.synapse/xsd" xmlns:ns="http://org.apache.synapse/xsd" name="Proxy-Authorization" expression="fn:concat('Basic ', base64Encode('userName:password'))" scope="transport"/>
<property name="POST_TO_URI" value="true" scope="axis2" type="STRING"></property>
Maybe it helps, otherwise please share you're proxy config.
Not sure if you've set it, but please verify that your transportSender config looks like this. I cannot see proxy host and port config in your axis2.xml.
<transportSender name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLSender">
<parameter name="non-blocking" locked="false">true</parameter>
<parameter name="keystore" locked="false">
<KeyStore>
<Location>repository/resources/security/wso2carbon.jks</Location>
<Type>JKS</Type>
<Password>password</Password>
<KeyPassword>password</KeyPassword>
</KeyStore>
</parameter>
<parameter name="truststore" locked="false">
<TrustStore>
<Location>repository/resources/security/client-truststore.jks</Location>
<Type>JKS</Type>
<Password>password</Password>
</TrustStore>
</parameter>
<parameter name="warnOnHTTP500" locked="false">*</parameter>
<parameter name="http.proxyHost" locked="false">companyproxyhost</parameter>
<parameter name="http.proxyPort" locked="false">companyproxyport</parameter>
<parameter name="http.nonProxyHosts" locked="false">localhost|\*.local</parameter>
<parameter name="HostnameVerifier">AllowAll</parameter>**
</transportSender>