Author: dandiep
Date: Tue Jan 2 08:53:38 2007
New Revision: 491849
URL: http://svn.apache.org/viewvc?view=rev&rev=491849
Log:
Fix HTTP binding compile errors.
Modified:
incubator/cxf/trunk/rt/bindings/http/pom.xml
incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/mtom/MtomTest.java
Modified: incubator/cxf/trunk/rt/bindings/http/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/bindings/http/pom.xml?view=diff&rev=491849&r1=491848&r2=491849
==============================================================================
--- incubator/cxf/trunk/rt/bindings/http/pom.xml (original)
+++ incubator/cxf/trunk/rt/bindings/http/pom.xml Tue Jan 2 08:53:38 2007
@@ -108,10 +108,10 @@
<version>${project.version}</version>
<executions>
<execution>
- <id>generate-test-sources</id>
- <phase>generate-test-sources</phase>
+ <id>generate-sources</id>
+ <phase>process-test-sources</phase>
<configuration>
-
<sourceRoot>${basedir}/target/generated/src/test/java</sourceRoot>
+
<testSourceRoot>${basedir}/target/generated/src/test/java</testSourceRoot>
<xsdOptions>
<xsdOption>
<xsd>${basedir}/src/test/resources/schemas/person.xsd</xsd>
Modified:
incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/mtom/MtomTest.java
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/mtom/MtomTest.java?view=diff&rev=491849&r1=491848&r2=491849
==============================================================================
---
incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/mtom/MtomTest.java
(original)
+++
incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/mtom/MtomTest.java
Tue Jan 2 08:53:38 2007
@@ -64,7 +64,7 @@
p.setPhoto(handler);
impl.addPerson(p);
- byte[] res = doMethodBytes("http://localhost:9002/people", null,
"GET", null);
+ byte[] res = doMethodBytes("http://localhost:9001/people", null,
"GET", null);
assertNotNull(res);
// TODO: Test response
@@ -74,7 +74,7 @@
+ "start-info=\"text/xml; charset=utf-8\"; "
+ "boundary=\"----=_Part_4_701508.1145579811786\"";
- res = doMethodBytes("http://localhost:9002/people", "addPerson",
"POST", ct);
+ res = doMethodBytes("http://localhost:9001/people", "addPerson",
"POST", ct);
assertNotNull(res);
// TODO: Test response