<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: WebService Request Proxy Port</title><link>https://answers.axonivy.com/questions/237/webservice-request-proxy-port</link><description>&lt;p&gt;Hello ivy Team&lt;/p&gt;
&lt;p&gt;Following question - I have to set up an enviroment where WebService Request(https) from ivy.Server should go over a proxy.&lt;/p&gt;
&lt;p&gt;Following system properties are edited: &lt;/p&gt;
&lt;p&gt;Xpert.ivy Server Administrator / System Properties /&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;WebServer.HTTPS.ProxyPort: 8080&lt;/li&gt;
&lt;li&gt;WebServer.HTTPS.ProxyName: proxy.xyz.local&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;But the request goes over port 63187 (?) as source to port 443 as destination.&lt;/p&gt;
&lt;p&gt;Is there an additional place for configuration?&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/237/webservice-request-proxy-port" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 13 Jan 2014 18:28:24 -0500</lastBuildDate><item><title>Comment by Sergej on Reto Weiss's answer</title><link>https://answers.axonivy.com/questions/237/webservice-request-proxy-port#245</link><description>&lt;p&gt;Thank You a lot! It works.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergej</dc:creator><pubDate>Mon, 13 Jan 2014 18:28:24 -0500</pubDate><guid>https://answers.axonivy.com/questions/237/webservice-request-proxy-port#245</guid></item><item><title>Answer by Reto Weiss</title><link>https://answers.axonivy.com/questions/237/webservice-request-proxy-port/238</link><description>&lt;p&gt;&lt;strong&gt;Axon.ivy 7.1 and later:&lt;/strong&gt; Starting with Axon.ivy 7.1 and the newly supported CXF web services library, proxy settings can be configured via a new Feature called &lt;em&gt;ProxyFeature&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Proxy host name, port and an exclusion list can be set via web service properties &lt;em&gt;proxy.host&lt;/em&gt;, &lt;em&gt;proxy.port&lt;/em&gt; and &lt;em&gt;proxy.nonProxyHosts&lt;/em&gt;. Also, properties for proxy authentication exist.&lt;/p&gt;
&lt;p&gt;These properties can be overridden in the environment definitions and in the Web Service Call Activity.
&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/ProxyFeatureAndProperties.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Prior to 7.1 and Axis:&lt;/strong&gt; The proxy server to use to make http or https connections from Xpert.ivy to external servers can be configured as follows:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;In the Designer&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open Preferences (Menu &amp;gt; Window &amp;gt; Preferences)&lt;/li&gt;
&lt;li&gt;In the Preferences search field write proxy&lt;/li&gt;
&lt;li&gt;Select the Preferences for &lt;em&gt;Network Connections&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Set active provider to &lt;em&gt;Manuel&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Edit the proxy settings.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt="alt text" src="/upfiles/proxysettings_1.png"&gt;
&lt;strong&gt;For the Server&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;On the Server there are no UI to configure the proxy settings. Instead you have to set the java system properties that controls the proxy settings as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Navigate to the bin directory of the server.&lt;/li&gt;
&lt;li&gt;Copy the example.ilc file an rename it to the same name as the server executable (If you start the server with the XpertIvyServer.exe then rename it to XpertIvyServer.ilc. If you start the server as Windows service rename it to XpertIvyServerService.ilc&lt;/li&gt;
&lt;li&gt;Open the copied and renamed *.ilc file in a text editor and edit it as follows:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Changed the line&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#ivy.vm.additional.options=
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ivy.vm.additional.options=-Dhttp.proxyHost=192.168.1.23 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts="|localhost|127.0.0.1|"
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Of course the port and host must be adjusted. For Https use:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ivy.vm.additional.options=-Dhttps.proxyHost=192.168.1.23 -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts="|localhost|127.0.0.1|"
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Restart the server&lt;/li&gt;
&lt;/ul&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Fri, 10 Jan 2014 14:46:41 -0500</pubDate><guid>https://answers.axonivy.com/questions/237/webservice-request-proxy-port/238</guid></item></channel></rss>