You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2008/03/11 08:00:45 UTC

svn commit: r635827 - /webservices/axis2/trunk/java/modules/documentation/xdocs/@axis2_version_dir@/http-transport.xml

Author: saminda
Date: Tue Mar 11 00:00:44 2008
New Revision: 635827

URL: http://svn.apache.org/viewvc?rev=635827&view=rev
Log:
Updated proxy configuration documentation 

Modified:
    webservices/axis2/trunk/java/modules/documentation/xdocs/@axis2_version_dir@/http-transport.xml

Modified: webservices/axis2/trunk/java/modules/documentation/xdocs/@axis2_version_dir@/http-transport.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/documentation/xdocs/%40axis2_version_dir%40/http-transport.xml?rev=635827&r1=635826&r2=635827&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/documentation/xdocs/@axis2_version_dir@/http-transport.xml (original)
+++ webservices/axis2/trunk/java/modules/documentation/xdocs/@axis2_version_dir@/http-transport.xml Tue Mar 11 00:00:44 2008
@@ -173,6 +173,28 @@
 <p>For a particular proxy, if authentication is not available, enter the
 "userName:domain:passWord" as "anonymous:anonymous:anonymous".</p>
 
+<p>Prior shown configuration has been deprecated after Axis2 1.2 release and we strongly recommend using the new
+proxy configuration as below. </p>
+<p>
+    New proxy configuration would require the user to add a TOP level parameter in the axis2.xml named "Proxy".
+</p>
+    <pre>
+        &lt;parameter name="Proxy"&gt;
+             &lt;Configuration&gt;
+                      &lt;ProxyHost&gt;example.org&lt;/ProxyHost&gt;
+                      &lt;ProxyPort&gt;5678&lt;/ProxyPort&gt;
+                      &lt;ProxyUser&gt;EXAMPLE\saminda&lt;/ProxyUser&gt;
+                      &lt;ProxyPassword>ppp&lt;/ProxyPassword&gt;
+              &lt;/Configuration&gt;
+&lt;/parameter&gt;
+    </pre>
+
+    <p> Thus, if its a open proxy, user can ignore ProxyUser and ProxyPassword elements. </p>
+
+    <p>In addition to this, if you don't want to go through writing the above parameter you could
+        use Java Networking Properties for open proxies,
+-Dhttp.proxyHost=10.150.112.254 -Dhttp.proxyPort=8080 </p>
+
 <p>At runtime, the user can override the PROXY settings using the
 HttpTransportProperties.ProxyProperties object. Within your client stub, 
 create an instance of this object, configure proxy values for it,



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org