KB Article #179121

Import WSDL via proxy throws: Failed to import API Errorcode: Reason: 500 Failed to retrieve the WSDL Document within the timeout period. "

Problem

At the moment of the import a WSDL webservice from a URL:
https://www.abc.com/wsdl

this error is thrown
"Failed to import API
Errorcode: Reason:
500 Failed to retrieve the WSDL Document within the timeout period. "

Resolution

To create a jvm.xml file on the /api_install_direcotry/groups/instance-x/conf/ having this inside
<ConfigurationFragment>
<VMArg name="-Dhttp.proxyHost=10.999.9999.999" />
<VMArg name="-Dhttp.proxyPort=4480" />
<VMArg name="-Dhttp.nonProxyHosts=localhost|127.0.0.1" /> </ConfigurationFragment>


The ConfigurationFragment has to be created in the /instance configuration file, not on the /global installation - config file