You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2012/02/05 12:52:17 UTC
svn commit: r1240706 - in /axis/axis1/java/trunk:
integration/src/test/java/test/functional/TestEncoding.java
test/functional/TestEncoding.java
Author: veithen
Date: Sun Feb 5 11:52:17 2012
New Revision: 1240706
URL: http://svn.apache.org/viewvc?rev=1240706&view=rev
Log:
Mavenized TestEncoding.
Added:
axis/axis1/java/trunk/integration/src/test/java/test/functional/TestEncoding.java
- copied, changed from r1240491, axis/axis1/java/trunk/test/functional/TestEncoding.java
Removed:
axis/axis1/java/trunk/test/functional/TestEncoding.java
Copied: axis/axis1/java/trunk/integration/src/test/java/test/functional/TestEncoding.java (from r1240491, axis/axis1/java/trunk/test/functional/TestEncoding.java)
URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/integration/src/test/java/test/functional/TestEncoding.java?p2=axis/axis1/java/trunk/integration/src/test/java/test/functional/TestEncoding.java&p1=axis/axis1/java/trunk/test/functional/TestEncoding.java&r1=1240491&r2=1240706&rev=1240706&view=diff
==============================================================================
--- axis/axis1/java/trunk/test/functional/TestEncoding.java (original)
+++ axis/axis1/java/trunk/integration/src/test/java/test/functional/TestEncoding.java Sun Feb 5 11:52:17 2012
@@ -33,7 +33,7 @@ public class TestEncoding extends TestCa
Service service = new Service();
service.getEngine().setOption(AxisEngine.PROP_XML_ENCODING, "UTF-8");
call = (Call) service.createCall();
- call.setTargetEndpointAddress(new URL("http://localhost:8080/jws/EchoHeaders.jws"));
+ call.setTargetEndpointAddress(new URL("http://localhost:8080/axis/EchoHeaders.jws"));
}
}
@@ -109,7 +109,7 @@ public class TestEncoding extends TestCa
SOAPElement symbol = bodyElement.addChildElement(name);
symbol.addTextNode("Hello");
- URLEndpoint endpoint = new URLEndpoint("http://localhost:8080/jws/EchoHeaders.jws");
+ URLEndpoint endpoint = new URLEndpoint("http://localhost:8080/axis/EchoHeaders.jws");
SOAPMessage response = con.call(message, endpoint);
String responseEncoding = (String) response.getProperty(SOAPMessage.CHARACTER_SET_ENCODING);
assertEquals(requestEncoding.toLowerCase(), responseEncoding.toLowerCase());