axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r122943 - /webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java
Date Tue, 21 Dec 2004 06:06:44 GMT
Author: deepal
Date: Mon Dec 20 22:06:43 2004
New Revision: 122943

URL: http://svn.apache.org/viewcvs?view=rev&rev=122943
Log:
craeted the URL form EPR
Modified:
   webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java?view=diff&rev=122943&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java&r1=122942&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java&r2=122943
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java
(original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java
Mon Dec 20 22:06:43 2004
@@ -83,9 +83,9 @@
      * @param envelope
      */
     public void sendAsync(SOAPEnvelope envelope) throws AxisFault {
-        //todo ask srinath about this URL, frorm where I can get it :)
-        URL url = null;
         try{
+            URL url =new URL(targetEPR.getAddress());
+
             final URLConnection urlConnect;
             urlConnect = url.openConnection();
             final AxisEngine engine = new AxisEngine(registry);
@@ -107,9 +107,8 @@
         }
     }
     public void send(SOAPEnvelope envelope) throws AxisFault {
-        //todo ask srinath about this URL, frorm where I can get it :)
-        URL url = null;
         try{
+            URL url =new URL(targetEPR.getAddress());
             final URLConnection urlConnect;
             urlConnect = url.openConnection();
             final AxisEngine engine = new AxisEngine(registry);
@@ -138,9 +137,8 @@
     }
 
     public SOAPEnvelope  sendReceive(SOAPEnvelope envelope) throws AxisFault {
-        //todo ask srinath about this URL, frorm where I can get it :)
-        URL url = null;
-        try {
+        try{
+            URL url =new URL(targetEPR.getAddress());
             URLConnection urlConnect = url.openConnection();
             urlConnect.setDoOutput(true);
 
@@ -174,10 +172,9 @@
      * @param callback
      */
     public void sendReceiveAsync(SOAPEnvelope envelope, final CallBack callback) throws AxisFault
{
-        //todo ask srinath about this URL, frorm where I can get it :)
-        URL url = null;
-        final Correlator correlator = Correlator.getInstance();
-        try {
+        try{
+            URL url =new URL(targetEPR.getAddress());
+            final Correlator correlator = Correlator.getInstance();
             final URLConnection urlConnect = url.openConnection();
             final AxisEngine engine = new AxisEngine(registry);
             urlConnect.setDoOutput(true);

Mime
View raw message