use of com.sun.xml.ws.developer.SerializationFeature in project metro-jax-ws by eclipse-ee4j.
the class EchoTest method testSerializationFeature.
public void testSerializationFeature() throws Exception {
Echo echoPort = new EchoService().getEchoPort(new SerializationFeature());
echoPort.echoString("utf-8");
testCharset(echoPort, "utf-8");
}
use of com.sun.xml.ws.developer.SerializationFeature in project metro-jax-ws by eclipse-ee4j.
the class EchoTest method testSerializationFeatureUtf8.
public void testSerializationFeatureUtf8() throws Exception {
String encoding = "UTF-8";
Echo echoPort = new EchoService().getEchoPort(new SerializationFeature(encoding));
echoPort.echoString(encoding);
testCharset(echoPort, encoding);
}
use of com.sun.xml.ws.developer.SerializationFeature in project metro-jax-ws by eclipse-ee4j.
the class EchoTest method testSerializationFeatureUtf16.
public void testSerializationFeatureUtf16() throws Exception {
String encoding = "UTF-16";
Echo echoPort = new EchoService().getEchoPort(new SerializationFeature(encoding));
echoPort.echoString(encoding);
testCharset(echoPort, encoding);
}
use of com.sun.xml.ws.developer.SerializationFeature in project metro-jax-ws by eclipse-ee4j.
the class EchoTest method testSerializationFeature.
public void testSerializationFeature() throws Exception {
Echo echoPort = new EchoService().getEchoPort(new SerializationFeature());
echoPort.echoString("utf-8");
// Server sends responses encoded with UTF-16
testCharset(echoPort, "utf-16");
}
use of com.sun.xml.ws.developer.SerializationFeature in project metro-jax-ws by eclipse-ee4j.
the class EchoTest method testSerializationFeatureUtf8.
public void testSerializationFeatureUtf8() throws Exception {
String encoding = "UTF-8";
Echo echoPort = new EchoService().getEchoPort(new SerializationFeature(encoding));
echoPort.echoString(encoding);
// Server sends responses encoded with UTF-16
testCharset(echoPort, "utf-16");
}
Aggregations