Author: ruwan
Date: Mon Sep 10 00:09:14 2007
New Revision: 574154
URL: http://svn.apache.org/viewvc?rev=574154&view=rev
Log:
Removing the proxy address from the proxy service
Modified:
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
Modified:
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java?rev=574154&r1=574153&r2=574154&view=diff
==============================================================================
---
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
(original)
+++
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
Mon Sep 10 00:09:14 2007
@@ -176,8 +176,6 @@
*/
protected int traceState = Constants.TRACING_UNSET;
- private String address = null;
-
public ProxyService() {
}
@@ -385,26 +383,6 @@
}
}
- /*try {
- String[] eprs = proxyService.getEPRs();
- boolean found = false;
- for (int i=0; i<eprs.length; i++) {
- if (eprs[i].startsWith("http://")) {
- this.address = proxyService.getEPRs()[i];
- found = true;
- }
- }
- if (!found) {
- for (int i=0; i<eprs.length; i++) {
- if (eprs[i].startsWith("https://")) {
- this.address = proxyService.getEPRs()[i];
- }
- }
- }
- } catch (AxisFault axisFault) {
- axisFault.printStackTrace(); //To change body of catch statement
use File | Settings | File Templates.
- }
-*/
return proxyService;
}
@@ -641,12 +619,4 @@
this.targetInLineFaultSequence = targetInLineFaultSequence;
}
-
- public String getAddress() {
- return address;
- }
-
- public void setAddress(String address) {
- this.address = address;
- }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]