Author: jochen
Date: Tue Jul 24 23:16:51 2007
New Revision: 559328
URL: http://svn.apache.org/viewvc?view=rev&rev=559328
Log:
The redirect handling (XMLRPC-132) wasn't actually working,
because it treated an URI as a charset name.
PR: XMLRPC-144
Submitted-by: Steve Cohen <[EMAIL PROTECTED]>
Modified:
webservices/xmlrpc/trunk/.project
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcCommonsTransport.java
webservices/xmlrpc/trunk/pom.xml
webservices/xmlrpc/trunk/src/changes/changes.xml
Modified: webservices/xmlrpc/trunk/.project
URL:
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/.project?view=diff&rev=559328&r1=559327&r2=559328
==============================================================================
--- webservices/xmlrpc/trunk/.project (original)
+++ webservices/xmlrpc/trunk/.project Tue Jul 24 23:16:51 2007
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>ws-xmlrpc</name>
+ <name>ws-xmlrpc-3.1-SNAPSHOT</name>
<comment>Apache XML-RPC is a Java implementation of XML-RPC, a popular
protocol
that uses XML over HTTP to implement remote procedure calls.
Compared to SOAP, or JAX-RPC, it is stable, much simpler and easier to
Modified:
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcCommonsTransport.java
URL:
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcCommonsTransport.java?view=diff&rev=559328&r1=559327&r2=559328
==============================================================================
---
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcCommonsTransport.java
(original)
+++
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcCommonsTransport.java
Tue Jul 24 23:16:51 2007
@@ -172,7 +172,7 @@
URI currentUri = null;
try {
currentUri = method.getURI();
- String charset = currentUri.getURI();
+ String charset = currentUri.getProtocolCharset();
redirectUri = new URI(location, true, charset);
method.setURI(redirectUri);
} catch (URIException ex) {
Modified: webservices/xmlrpc/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/pom.xml?view=diff&rev=559328&r1=559327&r2=559328
==============================================================================
--- webservices/xmlrpc/trunk/pom.xml (original)
+++ webservices/xmlrpc/trunk/pom.xml Tue Jul 24 23:16:51 2007
@@ -4,26 +4,27 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
- <groupId>org.apache</groupId>
- <artifactId>apache</artifactId>
- <version>4</version>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>4</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.xmlrpc</groupId>
<artifactId>xmlrpc</artifactId>
<name>Apache XML-RPC</name>
<version>3.1-SNAPSHOT</version>
- <description>
+ <description>
Apache XML-RPC is a Java implementation of XML-RPC, a popular protocol
that uses XML over HTTP to
implement remote procedure calls. Compared to SOAP, or JAX-RPC, it is
stable, much simpler and easier to handle.
Version 3 of Apache XML-RPC introduces several important vendor
extensions over the original XML-RPC
- specification. </description>
+ specification.
+ </description>
<packaging>pom</packaging>
<modules>
- <module>common</module>
- <module>client</module>
- <module>server</module>
- <module>tests</module>
+ <module>common</module>
+ <module>client</module>
+ <module>server</module>
+ <module>tests</module>
</modules>
<url>http://ws.apache.org/xmlrpc/</url>
<issueManagement>
@@ -31,28 +32,28 @@
<url>http://issues.apache.org/jira/BrowseProject.jspa?pid=10465</url>
</issueManagement>
<ciManagement>
- <system>Gump</system>
-
<url>http://vmgump.apache.org/gump/public/ws-xmlrpc/xmlrpc/index.html</url>
+ <system>Gump</system>
+
<url>http://vmgump.apache.org/gump/public/ws-xmlrpc/xmlrpc/index.html</url>
</ciManagement>
<inceptionYear>2001</inceptionYear>
<mailingLists>
- <mailingList>
- <name>XML-RPC Developers</name>
- <subscribe>[EMAIL PROTECTED]</subscribe>
- <unsubscribe>[EMAIL PROTECTED]</unsubscribe>
- <post>[EMAIL PROTECTED]</post>
-
<archive>http://mail-archives.apache.org/mod_mbox/ws-xmlrpc-dev/</archive>
- <otherArchives>
-
<otherArchive>http://marc.theaimsgroup.com/?l=xmlrpc-dev</otherArchive>
- </otherArchives>
- </mailingList>
- <mailingList>
- <name>XML-RPC Automatic Mails</name>
- <subscribe>[EMAIL PROTECTED]</subscribe>
- <unsubscribe>[EMAIL PROTECTED]</unsubscribe>
- <post>[email protected]</post>
-
<archive>http://mail-archives.apache.org/mod_mbox/ws-xmlrpc-auto/</archive>
- </mailingList>
+ <mailingList>
+ <name>XML-RPC Developers</name>
+ <subscribe>[EMAIL PROTECTED]</subscribe>
+ <unsubscribe>[EMAIL PROTECTED]</unsubscribe>
+ <post>[EMAIL PROTECTED]</post>
+
<archive>http://mail-archives.apache.org/mod_mbox/ws-xmlrpc-dev/</archive>
+ <otherArchives>
+
<otherArchive>http://marc.theaimsgroup.com/?l=xmlrpc-dev</otherArchive>
+ </otherArchives>
+ </mailingList>
+ <mailingList>
+ <name>XML-RPC Automatic Mails</name>
+ <subscribe>[EMAIL PROTECTED]</subscribe>
+ <unsubscribe>[EMAIL PROTECTED]</unsubscribe>
+ <post>[email protected]</post>
+
<archive>http://mail-archives.apache.org/mod_mbox/ws-xmlrpc-auto/</archive>
+ </mailingList>
</mailingLists>
<developers>
<developer>
@@ -127,6 +128,10 @@
<email>[EMAIL PROTECTED]</email>
</contributor>
<contributor>
+ <name>Steve Cohen</name>
+ <email>[EMAIL PROTECTED]</email>
+ </contributor>
+ <contributor>
<name>Chris Conrad</name>
<email>[EMAIL PROTECTED]</email>
</contributor>
@@ -242,11 +247,11 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
-
<tagBase>https://svn.apache.org/repos/asf/webservices/xmlrpc/tags/</tagBase>
- </configuration>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+
<tagBase>https://svn.apache.org/repos/asf/webservices/xmlrpc/tags/</tagBase>
+ </configuration>
</plugin>
<plugin>
<inherited>true</inherited>
@@ -276,10 +281,10 @@
<artifactId>commons-logging</artifactId>
<version>1.1</version>
<exclusions>
- <exclusion>
- <groupId>avalon-framework</groupId>
- <artifactId>avalon-framework</artifactId>
- </exclusion>
+ <exclusion>
+ <groupId>avalon-framework</groupId>
+ <artifactId>avalon-framework</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -320,7 +325,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>2.0-beta-2</version>
<reportSets>
<reportSet>
<reports>
@@ -336,11 +340,10 @@
</plugins>
</reporting>
<distributionManagement>
- <!--
- Overwriting the apache.releases and apache.snapshots
- repositories seems redundant, because they are already
- specified in the Apache POM. Unfortunately, we cannot
- use scp:// URL's, because of WAGONSSH-49.
+ <!-- Overwriting the apache.releases and apache.snapshots
+ repositories seems redundant, because they are already
+ specified in the Apache POM. Unfortunately, we cannot
+ use scp:// URL's, because of WAGONSSH-49.
-->
<repository>
<id>apache.releases</id>
@@ -352,6 +355,7 @@
<name>Apache Development Snapshot Repository</name>
<url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
</snapshotRepository>
+
<site>
<id>people.apache.org</id>
<name>XML-RPC directory on ws.apache.org</name>
Modified: webservices/xmlrpc/trunk/src/changes/changes.xml
URL:
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/src/changes/changes.xml?view=diff&rev=559328&r1=559327&r2=559328
==============================================================================
--- webservices/xmlrpc/trunk/src/changes/changes.xml (original)
+++ webservices/xmlrpc/trunk/src/changes/changes.xml Tue Jul 24 23:16:51 2007
@@ -64,6 +64,11 @@
An invalid dateTime value is now causing a more informative
error message.
</action>
+ <action dev="jochen" type="fix" issue="XMLRPC-144"
+ due-to="Steve Cohen" due-to-email="[EMAIL PROTECTED]">
+ The redirect handling (XMLRPC-132) wasn't actually working,
+ because it treated an URI as a charset name.
+ </action>
</release>
<release version="3.0.1-SNAPSHOT" date="Not yet released">
<action dev="jochen" type="fix">