I'm trying wso2 api manager for my team.
When i follow the quick start guide, I can't get a good production endpoint in the implement part.
It's the same for wsdl
I think it's because I have the api manager on my computer, and this computer is behind a entreprise proxy.
I search on the documentation and on stack overflow but I don't understand how I can say carbon to use the proxy.
If you have an idea of how I can configure AM to use an entreprise proxy, I will be very happy
I don't know if its can help : I can't acces to the api manager whitout using localhost or 127.0.0.1:9443
Thanks !
You need to make the following configuration changes to tell API Manager (APIM) to talk to the Web proxy. Restart APIM for the config changes to take effect.
Edit the following file:
<APIM Home>/repository/conf/axis2/axis2.xml
Add the follow lines in two places:
<parameter name="http.proxyHost" locked="false">proxyName.company.com</parameter>
<parameter name="http.proxyPort" locked="false">1234</parameter>
<parameter name="http.nonProxyHosts" locked="false">localhost</parameter>
Near line 483, add the 3 new lines, such that is looks like this when you’re done:
<transportSender name="http" class="org.apache.synapse.transport.passthru.PassThroughHttpSender">
<parameter name="non-blocking" locked="false">true</parameter>
<parameter name="http.proxyHost" locked="false">proxyName.company.com</parameter>
<parameter name="http.proxyPort" locked="false">1234</parameter>
<parameter name="http.nonProxyHosts" locked="false">localhost</parameter>
</transportSender>
Near line 528, add the 3 new lines, such that is looks like this when you’re done:
<transportSender name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLSender">
<parameter name="non-blocking" locked="false">true</parameter>
<parameter name="http.proxyHost" locked="false">proxyName.company.com</parameter>
<parameter name="http.proxyPort" locked="false">1234</parameter>
<parameter name="http.nonProxyHosts" locked="false">localhost</parameter>
<parameter name="keystore" locked="false">
<KeyStore>
<Location>repository/resources/security/wso2carbon.jks</Location>
<Type>JKS</Type>
<Password>wso2carbon</Password>
<KeyPassword>wso2carbon</KeyPassword>
</KeyStore>
</parameter>
<parameter name="truststore" locked="false">
<TrustStore>
<Location>repository/resources/security/client-truststore.jks</Location>
<Type>JKS</Type>
<Password>wso2carbon</Password>
</TrustStore>
</parameter>
<!--<parameter name="HostnameVerifier">DefaultAndLocalhost</parameter>-->
<!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
</transportSender>
Restart APIM for the config changes to take effect.