You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ch...@apache.org on 2005/08/12 05:27:21 UTC

svn commit: r232196 - in /webservices/axis/trunk/java: modules/core/src/org/apache/axis2/clientapi/InOutMEPClient.java modules/core/src/org/apache/axis2/engine/AddressingBasedDispatcher.java xdocs/index.html

Author: chinthaka
Date: Thu Aug 11 20:26:59 2005
New Revision: 232196

URL: http://svn.apache.org/viewcvs?rev=232196&view=rev
Log:
- Fixing the build
- changing (partially) index.html

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOutMEPClient.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/AddressingBasedDispatcher.java
    webservices/axis/trunk/java/xdocs/index.html

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOutMEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOutMEPClient.java?rev=232196&r1=232195&r2=232196&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOutMEPClient.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOutMEPClient.java Thu Aug 11 20:26:59 2005
@@ -133,7 +133,7 @@
             int index = 0;
             while (!callback.isComplete()) {
                 //wait till the reponse arrives
-                if (index < 20) {
+                if (index++ < 20) {
                     try {
                         Thread.sleep(100);
                     } catch (InterruptedException e) {
@@ -231,6 +231,9 @@
                 //create and set the Operation context
                 msgctx.setOperationContext(axisop.findOperationContext(msgctx, serviceContext));
                 msgctx.setServiceContext(serviceContext);
+
+                System.out.println("Reply To = " + msgctx.getReplyTo().getAddress());
+                System.out.println("To = " + msgctx.getTo().getAddress());
                 //send the message
                 engine.send(msgctx);
             } else {
@@ -241,6 +244,8 @@
 
         } catch (OMException e) {
             throw AxisFault.makeFault(e);
+        }catch (Exception e) {
+            e.printStackTrace();
         }
 
     }

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/AddressingBasedDispatcher.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/AddressingBasedDispatcher.java?rev=232196&r1=232195&r2=232196&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/AddressingBasedDispatcher.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/AddressingBasedDispatcher.java Thu Aug 11 20:26:59 2005
@@ -63,17 +63,17 @@
             service =
                     messageContext.getSystemContext().getAxisConfiguration()
                             .getService(serviceName);
-            if (service == null) {
-                String filePart = toEPR.getAddress();
-                String[] values = Utils.parseRequestURLForServiceAndOperation(
-                        filePart);
-                if (values[0] != null) {
-                    serviceName = new QName(values[0]);
-                    AxisConfiguration registry =
-                            messageContext.getSystemContext().getAxisConfiguration();
-                    return registry.getService(serviceName);
-                }
-            }
+//            if (service == null) {
+//                String filePart = toEPR.getAddress();
+//                String[] values = Utils.parseRequestURLForServiceAndOperation(
+//                        filePart);
+//                if (values[0] != null) {
+//                    serviceName = new QName(values[0]);
+//                    AxisConfiguration registry =
+//                            messageContext.getSystemContext().getAxisConfiguration();
+//                    return registry.getService(serviceName);
+//                }
+//            }
         }
         return service;
     }

Modified: webservices/axis/trunk/java/xdocs/index.html
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/xdocs/index.html?rev=232196&r1=232195&r2=232196&view=diff
==============================================================================
--- webservices/axis/trunk/java/xdocs/index.html (original)
+++ webservices/axis/trunk/java/xdocs/index.html Thu Aug 11 20:26:59 2005
@@ -33,18 +33,15 @@
 
 <h2>Latest Release</h2>
 
-<p><b>02 July 2005 - Apache Axis2 Version 0.9 Released!</b> <a href="releases.html#0.9">(Download 0.9)</a><p>
-
-<p>Axis2 is taking shape. <a href="releases.html#0.9">Download it!</a>  This 0.9 release is a glimpse of 1.0 
-that should be comming soon. This 0.9 release contains the following additional
+<p><b>12 August 2005 - Apache Axis2 Version 0.91 Released!</b> <a href="releases.html#0.9">(Download 0.91)</a>
+<p>Axis2 is becoming more and more stable. <a href="releases.html#0.9">Download it!</a>  This 0.91 release is a glimpse of 1.0 
+that should be comming soon. This 0.91 release contains the following additional
 features:
 <ul>
-  <li>XML Beans based data binding support</li>
-  <li>Support for WS-Addressing, both the submission and final versions</li>
-  <li>REST Web Service Support</li>
-  <li>MTOM/SWA attachments support</li>
-  <li>SAAJ implementation</li>
+  <li>File Caching for MTOM</li>
+  <li></li>
 </ul>
+<p>&nbsp;</p>
 We are getting closer to a 1.0 release, the remaining tasks to be completed 
 before a 1.0 release include: SOAP 1.1 and 1.2 validation, JAX-RPC 1.1/2.0 compliance,
 Complete XML infoset support for AXIOM, implementation of JMS transport, and Web
@@ -98,10 +95,16 @@
 </p>
 
 <h2>Archived News</h2>
-
-<p><b>07 June 2005 - Apache Axis2 Milestone 2 (M2) Released</b> <a href="releases.html#M2">(Download M2)</a><p>
-
-<p>Apache Axis2 is starting to take shape, features implemented in this 
+<p><b>02 July 2005 - Apache Axis2 Version 0.9 Released!</b> <a href="releases.html#0.9">(Download 0.9)</a></p>
+<p>Axis2 is taking shape. <a href="releases.html#0.9">Download it!</a> This 0.9 release is a glimpse of 1.0 that should be comming soon. This 0.9 release contains the following additional features:
+<ul>
+  <li>XML Beans based data binding support</li>
+  <li>Support for WS-Addressing, both the submission and final versions</li>
+  <li>REST Web Service Support</li>
+  <li>MTOM/SWA attachments support</li>
+  <li>SAAJ implementation</li>
+</ul>
+<p><b>07 June 2005 - Apache Axis2 Milestone 2 (M2) Released</b> <a href="releases.html#M2">(Download M2)</a><p>Apache Axis2 is starting to take shape, features implemented in this 
 second milestone release are:
 <ul>
     <li>Modules - a mechanism to extend the SOAP Processing Model</li>  
@@ -114,9 +117,7 @@
 This release also includes tools such as an administraion web application, and three Eclipse 
 plug-ins: WSDL2WS, Service Archive Wizard, and Module Archive Wizard.</p>
 
-<p><b>24 February 2005 - Apache Axis2 Milestone 1 (M1) Released</b> <a href="releases.html#M1">(Download M1)</a><p>
-
-<p>This first milestone release of Axis2 includes the following features:
+<p><b>24 February 2005 - Apache Axis2 Milestone 1 (M1) Released</b> <a href="releases.html#M1">(Download M1)</a><p>This first milestone release of Axis2 includes the following features:
 <ul>
     <li>AXIOM, a SOAP specific streaming XML infoset model for SOAP 1.1/1.2 Messages</li> 
     <li>WSDL Object Model built based on the proposed WSDL 2.0 Component Model.</li>