Author: asankha
Date: Sun Jun 3 21:32:12 2007
New Revision: 544048
URL: http://svn.apache.org/viewvc?view=rev&rev=544048
Log:
Fix versions for the 1.0 release into POMs
turn off caching when serializing a request to the output stream when sending
it on
add a configuration context terminate() call to the client
Modified:
webservices/synapse/branches/1.0/modules/core/pom.xml
webservices/synapse/branches/1.0/modules/extensions/pom.xml
webservices/synapse/branches/1.0/modules/mar/pom.xml
webservices/synapse/branches/1.0/modules/nhttp/pom.xml
webservices/synapse/branches/1.0/modules/nhttp/src/org/apache/axis2/transport/nhttp/Axis2HttpRequest.java
webservices/synapse/branches/1.0/modules/samples/pom.xml
webservices/synapse/branches/1.0/modules/samples/src/main/java/samples/userguide/StockQuoteClient.java
webservices/synapse/branches/1.0/pom.xml
webservices/synapse/branches/1.0/repository/conf/axis2.xml
Modified: webservices/synapse/branches/1.0/modules/core/pom.xml
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.0/modules/core/pom.xml?view=diff&rev=544048&r1=544047&r2=544048
==============================================================================
--- webservices/synapse/branches/1.0/modules/core/pom.xml (original)
+++ webservices/synapse/branches/1.0/modules/core/pom.xml Sun Jun 3 21:32:12
2007
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.synapse</groupId>
<artifactId>Apache-Synapse</artifactId>
- <version>1.0-RC2-SNAPSHOT</version>
+ <version>1.0</version>
</parent>
<groupId>org.apache.synapse</groupId>
Modified: webservices/synapse/branches/1.0/modules/extensions/pom.xml
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.0/modules/extensions/pom.xml?view=diff&rev=544048&r1=544047&r2=544048
==============================================================================
--- webservices/synapse/branches/1.0/modules/extensions/pom.xml (original)
+++ webservices/synapse/branches/1.0/modules/extensions/pom.xml Sun Jun 3
21:32:12 2007
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.synapse</groupId>
<artifactId>Apache-Synapse</artifactId>
- <version>1.0-RC2-SNAPSHOT</version>
+ <version>1.0</version>
</parent>
<groupId>org.apache.synapse</groupId>
Modified: webservices/synapse/branches/1.0/modules/mar/pom.xml
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.0/modules/mar/pom.xml?view=diff&rev=544048&r1=544047&r2=544048
==============================================================================
--- webservices/synapse/branches/1.0/modules/mar/pom.xml (original)
+++ webservices/synapse/branches/1.0/modules/mar/pom.xml Sun Jun 3 21:32:12
2007
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.synapse</groupId>
<artifactId>Apache-Synapse</artifactId>
- <version>1.0-RC2-SNAPSHOT</version>
+ <version>1.0</version>
</parent>
<groupId>org.apache.synapse</groupId>
Modified: webservices/synapse/branches/1.0/modules/nhttp/pom.xml
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.0/modules/nhttp/pom.xml?view=diff&rev=544048&r1=544047&r2=544048
==============================================================================
--- webservices/synapse/branches/1.0/modules/nhttp/pom.xml (original)
+++ webservices/synapse/branches/1.0/modules/nhttp/pom.xml Sun Jun 3 21:32:12
2007
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.synapse</groupId>
<artifactId>Apache-Synapse</artifactId>
- <version>1.0-RC2-SNAPSHOT</version>
+ <version>1.0</version>
</parent>
<artifactId>synapse-nhttp</artifactId>
Modified:
webservices/synapse/branches/1.0/modules/nhttp/src/org/apache/axis2/transport/nhttp/Axis2HttpRequest.java
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.0/modules/nhttp/src/org/apache/axis2/transport/nhttp/Axis2HttpRequest.java?view=diff&rev=544048&r1=544047&r2=544048
==============================================================================
---
webservices/synapse/branches/1.0/modules/nhttp/src/org/apache/axis2/transport/nhttp/Axis2HttpRequest.java
(original)
+++
webservices/synapse/branches/1.0/modules/nhttp/src/org/apache/axis2/transport/nhttp/Axis2HttpRequest.java
Sun Jun 3 21:32:12 2007
@@ -164,7 +164,7 @@
log.debug("start streaming outgoing http request");
OutputStream out = Channels.newOutputStream(pipe.sink());
- messageFormatter.writeTo(msgContext, format, out, false);
+ messageFormatter.writeTo(msgContext, format, out, true);
try {
out.flush();
out.close();
Modified: webservices/synapse/branches/1.0/modules/samples/pom.xml
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.0/modules/samples/pom.xml?view=diff&rev=544048&r1=544047&r2=544048
==============================================================================
--- webservices/synapse/branches/1.0/modules/samples/pom.xml (original)
+++ webservices/synapse/branches/1.0/modules/samples/pom.xml Sun Jun 3
21:32:12 2007
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.synapse</groupId>
<artifactId>Apache-Synapse</artifactId>
- <version>1.0-RC2-SNAPSHOT</version>
+ <version>1.0</version>
</parent>
<groupId>org.apache.synapse</groupId>
Modified:
webservices/synapse/branches/1.0/modules/samples/src/main/java/samples/userguide/StockQuoteClient.java
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.0/modules/samples/src/main/java/samples/userguide/StockQuoteClient.java?view=diff&rev=544048&r1=544047&r2=544048
==============================================================================
---
webservices/synapse/branches/1.0/modules/samples/src/main/java/samples/userguide/StockQuoteClient.java
(original)
+++
webservices/synapse/branches/1.0/modules/samples/src/main/java/samples/userguide/StockQuoteClient.java
Sun Jun 3 21:32:12 2007
@@ -178,6 +178,10 @@
}
}
+ try {
+ configContext.terminate();
+ } catch (Exception ignore) {}
+
} catch (Exception e) {
e.printStackTrace();
}
Modified: webservices/synapse/branches/1.0/pom.xml
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.0/pom.xml?view=diff&rev=544048&r1=544047&r2=544048
==============================================================================
--- webservices/synapse/branches/1.0/pom.xml (original)
+++ webservices/synapse/branches/1.0/pom.xml Sun Jun 3 21:32:12 2007
@@ -26,7 +26,7 @@
<groupId>org.apache.synapse</groupId>
<artifactId>Apache-Synapse</artifactId>
- <version>1.0-RC2-SNAPSHOT</version>
+ <version>1.0</version>
<name>Apache Synapse</name>
<description>Apache Synapse</description>
@@ -291,6 +291,16 @@
<artifactId>wss4j</artifactId>
<version>${wss4j.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.santuario</groupId>
+ <artifactId>xmlsec</artifactId>
+ <version>${xmlsec.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>opensaml</groupId>
+ <artifactId>opensaml</artifactId>
+ <version>${opensaml.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.sandesha2</groupId>
@@ -354,78 +364,28 @@
<dependency>
<groupId>org.apache.rampart</groupId>
<artifactId>rampart-policy</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2-mtompolicy</artifactId>
- </exclusion>
- <exclusion>
- <groupId>httpcomponents-httpcore</groupId>
- <artifactId>jakarta-httpcore</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.neethi</groupId>
- <artifactId>neethi</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.woden</groupId>
- <artifactId>woden</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apache.rampart</groupId>
<artifactId>rampart-trust</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2-mtompolicy</artifactId>
- </exclusion>
- <exclusion>
- <groupId>httpcomponents-httpcore</groupId>
- <artifactId>jakarta-httpcore</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.woden</groupId>
- <artifactId>woden</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apache.rampart</groupId>
<artifactId>rampart-core</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2-mtompolicy</artifactId>
- </exclusion>
- <exclusion>
- <groupId>httpcomponents-httpcore</groupId>
- <artifactId>jakarta-httpcore</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.woden</groupId>
- <artifactId>woden</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apache.ws.security</groupId>
<artifactId>wss4j</artifactId>
</dependency>
<dependency>
+ <groupId>org.apache.santuario</groupId>
+ <artifactId>xmlsec</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>opensaml</groupId>
+ <artifactId>opensaml</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.apache.rampart</groupId>
<artifactId>rampart</artifactId>
<version>${rampart.version}</version>
@@ -727,7 +687,7 @@
<properties>
<!-- Synapse and related components -->
- <synapse.version>1.0-RC2-SNAPSHOT</synapse.version>
+ <synapse.version>1.0</synapse.version>
<jakarta.httpcore.nio.version>4.0-alpha4</jakarta.httpcore.nio.version>
<!-- Axis2 1.2 and its dependencies -->
@@ -742,10 +702,12 @@
<!-- addressing, rampart, sandesha, neethi -->
<addressing.version>1.2</addressing.version>
- <rampart.version>SNAPSHOT</rampart.version>
- <sandesha2.version>SNAPSHOT</sandesha2.version>
+ <rampart.version>1.2</rampart.version>
+ <sandesha2.version>1.2</sandesha2.version>
<neethi.version>2.0.1</neethi.version>
- <wss4j.version>SNAPSHOT</wss4j.version>
+ <wss4j.version>1.5.2</wss4j.version>
+ <opensaml.version>1.1</opensaml.version>
+ <xmlsec.version>1.4.0</xmlsec.version>
<bcprov.jdk13.version>132</bcprov.jdk13.version>
<xerces.version>2.8.1</xerces.version>
@@ -758,7 +720,7 @@
<xmlunit.version>1.0</xmlunit.version>
<!-- dependencies of Synapse extensions module -->
- <wso2commons.version>1.2-SNAPSHOT</wso2commons.version>
+ <wso2commons.version>1.2</wso2commons.version>
<spring.version>1.2.6</spring.version>
<xbean.version>2.2.0</xbean.version>
<bsf.version>3.0-beta1</bsf.version>
Modified: webservices/synapse/branches/1.0/repository/conf/axis2.xml
URL:
http://svn.apache.org/viewvc/webservices/synapse/branches/1.0/repository/conf/axis2.xml?view=diff&rev=544048&r1=544047&r2=544048
==============================================================================
--- webservices/synapse/branches/1.0/repository/conf/axis2.xml (original)
+++ webservices/synapse/branches/1.0/repository/conf/axis2.xml Sun Jun 3
21:32:12 2007
@@ -212,7 +212,7 @@
<!-- ================================================= -->
<!-- Comment this to disable Addressing -->
<module ref="addressing"/>
- <module ref="synapse-1.0-RC2"/>
+ <module ref="synapse-1.0"/>
<!--Configuring module , providing parameters for modules whether they
refer or not-->
<!--<moduleConfig name="addressing">-->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]