jaliya 2005/05/19 03:27:47
Modified: sandesha/interop/webapp/jsp interop.jsp
sandesha/src/org/apache/sandesha/client
ClientPropertyValidator.java
Log:
Fixed a bug, when setting the reply
Revision Changes Path
1.7 +1 -49 ws-fx/sandesha/interop/webapp/jsp/interop.jsp
Index: interop.jsp
===================================================================
RCS file: /home/cvs/ws-fx/sandesha/interop/webapp/jsp/interop.jsp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- interop.jsp 19 May 2005 04:20:25 -0000 1.6
+++ interop.jsp 19 May 2005 10:27:47 -0000 1.7
@@ -37,6 +37,7 @@
} catch (IOException e) {
e.printStackTrace();
}
+ ResponseWriter writer = new ResponseWriter (response.getWriter());
///////////////////////////////////////////////////////////////
@@ -45,30 +46,6 @@
<title>Welcome to Apache Sandesha Innterop Test</title>
<script>
- function displayServer(){
- document.getElementById('server').style.display = '';
- }
-
- function hideServer(){
- document.getElementById('server').style.display = 'none';
- }
-
- function displayClient(){
- document.getElementById('client').style.display = '';
- }
-
- function hideClient(){
- document.getElementById('client').style.display = 'none';
- }
-
- function displayEchoText(){
- document.getElementById('echo').style.display = '';
- }
-
- function hideEchoText(){
- document.getElementById('echo').style.display = 'none';
- }
-
function changeSelect(itm,val){
txtItem = itm;
@@ -111,31 +88,6 @@
<body>
<h1>Apache Sandesha Interop Testing</h1>
-<%
- String endPoint = request.getParameter("endPoint");
- String method = request.getParameter("method");
- String run = request.getParameter("running");
-
- if(endPoint == null)
- endPoint = "server";
-
- String
displayServerArea,displayClientArea,serverSelected,clientSelected;
- displayServerArea = "\'\'";
- displayClientArea = "none";
- serverSelected = "true";
- clientSelected = "false";
-
- if(endPoint.equals("client")){
- displayServerArea = "none";
- displayClientArea = "\'\'";
- serverSelected = "false";
- clientSelected = "true";
- }
- ResponseWriter writer = new ResponseWriter (response.getWriter());
-
-
-
-%>
<form method="post" name="InteropTesting" action="interop.jsp">
<table width='100%'>
1.24 +2 -6
ws-fx/sandesha/src/org/apache/sandesha/client/ClientPropertyValidator.java
Index: ClientPropertyValidator.java
===================================================================
RCS file:
/home/cvs/ws-fx/sandesha/src/org/apache/sandesha/client/ClientPropertyValidator.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ClientPropertyValidator.java 19 May 2005 04:08:02 -0000 1.23
+++ ClientPropertyValidator.java 19 May 2005 10:27:47 -0000 1.24
@@ -49,10 +49,7 @@
boolean sendOffer = getOffer(call);
try {
- if (from == null)
- sourceURL = getSourceURL(call);
- else
- sourceURL = from;
+ sourceURL = getSourceURL(call);
} catch (UnknownHostException e) {
throw new AxisFault(e.getMessage());
}
@@ -160,8 +157,7 @@
sourceURL = Constants.HTTP + Constants.COLON + Constants.SLASH +
Constants.SLASH +
addr.getHostAddress() + Constants.COLON +
- PropertyLoader.getClientSideListenerPort() +
- Constants.URL_RM_SERVICE;
+ PropertyLoader.getClientSideListenerPort() +
Constants.URL_RM_SERVICE;
return sourceURL;
}