use of jakarta.xml.ws.wsaddressing.W3CEndpointReference in project metro-jax-ws by eclipse-ee4j.
the class HelloLiteralTest method xxtestW3CReadFrom.
public void xxtestW3CReadFrom() {
Source w3csrc = makeStreamSource(w3cEprString);
EndpointReference result = EndpointReference.readFrom(w3csrc);
assertTrue(result != null);
assertTrue(result instanceof W3CEndpointReference);
// result.writeTo(new StreamResult(System.out));
}
use of jakarta.xml.ws.wsaddressing.W3CEndpointReference in project metro-jax-ws by eclipse-ee4j.
the class HelloLiteralTest method testGetEPRMethodNoArg.
public void testGetEPRMethodNoArg() {
EndpointReference epr = ((BindingProvider) stub).getEndpointReference();
assertTrue(epr != null);
assertTrue(epr instanceof W3CEndpointReference);
}
use of jakarta.xml.ws.wsaddressing.W3CEndpointReference in project metro-jax-ws by eclipse-ee4j.
the class HelloLiteralTest method testDispatchGetW3CEPRFromClass.
public void testDispatchGetW3CEPRFromClass() {
EndpointReference epr = ((BindingProvider) getDispatchSOAPMessage()).getEndpointReference(W3CEndpointReference.class);
assertTrue(epr != null);
assertTrue(epr instanceof W3CEndpointReference);
}
use of jakarta.xml.ws.wsaddressing.W3CEndpointReference in project metro-jax-ws by eclipse-ee4j.
the class HelloLiteralTest method testDispatchWithPortsGetEPRMethodNoArg.
public void testDispatchWithPortsGetEPRMethodNoArg() {
if (ClientServerTestUtil.useLocal()) {
System.out.println("http transport only exiting");
return;
}
EndpointReference epr = ((BindingProvider) getDispatchJAXBWithPorts()).getEndpointReference();
assertTrue(epr != null);
assertTrue(epr instanceof W3CEndpointReference);
}
use of jakarta.xml.ws.wsaddressing.W3CEndpointReference in project metro-jax-ws by eclipse-ee4j.
the class HelloLiteralTest method testDispatchWithPortsGetEPRMethodNoArg.
public void testDispatchWithPortsGetEPRMethodNoArg() {
if (ClientServerTestUtil.useLocal()) {
System.out.println("http transport only exiting");
return;
}
EndpointReference epr = ((BindingProvider) getDispatchJAXBWithPorts()).getEndpointReference();
assertTrue(epr != null);
assertTrue(epr instanceof W3CEndpointReference);
}
Aggregations