Author: richard.opalka(a)jboss.com
Date: 2008-01-03 07:51:20 -0500 (Thu, 03 Jan 2008)
New Revision: 5392
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/core/server/WSDLRequestHandler.java
Log:
[JBWS-1939] applying suggested fix
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/core/server/WSDLRequestHandler.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/core/server/WSDLRequestHandler.java 2008-01-03
09:58:02 UTC (rev 5391)
+++
stack/native/trunk/src/main/java/org/jboss/ws/core/server/WSDLRequestHandler.java 2008-01-03
12:51:20 UTC (rev 5392)
@@ -199,10 +199,10 @@
int newPort = newURL.getPort();
String newLocation = orgProtocol + "://" + newHost;
- if (orgPort != -1)
+ if (newPort != -1)
+ newLocation += ":" + newPort;
+ else if (orgPort != -1)
newLocation += ":" + orgPort;
- else if (newPort != -1)
- newLocation += ":" + newPort;
newLocation += orgPath;
locationAttr.setNodeValue(newLocation);
Show replies by date