axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami...@apache.org
Subject svn commit: r635827 - /webservices/axis2/trunk/java/modules/documentation/xdocs/@axis2_version_dir@/http-transport.xml
Date Tue, 11 Mar 2008 07:00:45 GMT
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


Mime
View raw message