Search in sources :

Example 1 with SOAPService

use of org.apache.hello_world_soap12_http.SOAPService in project cxf by apache.

the class Soap12ClientServerTest method getGreeter.

private Greeter getGreeter() throws NumberFormatException, MalformedURLException {
    URL wsdl = getClass().getResource("/wsdl/hello_world_soap12.wsdl");
    assertNotNull("WSDL is null", wsdl);
    SOAPService service = new SOAPService(wsdl, serviceName);
    assertNotNull("Service is ull ", service);
    Greeter g = service.getPort(portName, Greeter.class);
    updateAddressPort(g, PORT);
    return g;
}
Also used : SOAPService(org.apache.hello_world_soap12_http.SOAPService) Greeter(org.apache.hello_world_soap12_http.Greeter) URL(java.net.URL)

Example 2 with SOAPService

use of org.apache.hello_world_soap12_http.SOAPService in project cxf by apache.

the class Soap12ClientServerTest method getGreeter.

private Greeter getGreeter() throws NumberFormatException, MalformedURLException {
    URL wsdl = getClass().getResource("/wsdl/hello_world_soap12.wsdl");
    assertNotNull("WSDL is null", wsdl);
    SOAPService service = new SOAPService(wsdl, serviceName);
    assertNotNull("Service is ull ", service);
    Greeter g = service.getPort(portName, Greeter.class);
    updateAddressPort(g, PORT);
    return g;
}
Also used : SOAPService(org.apache.hello_world_soap12_http.SOAPService) Greeter(org.apache.hello_world_soap12_http.Greeter) URL(java.net.URL)

Aggregations

URL (java.net.URL)2 Greeter (org.apache.hello_world_soap12_http.Greeter)2 SOAPService (org.apache.hello_world_soap12_http.SOAPService)2