Skip to content

Instantly share code, notes, and snippets.

@afsinka
Created Aug 7, 2016
Embed
What would you like to do?
Apache CXF Client Example
package com.cxf.client;
public class Main {
public static void main(String[] args) {
HelloWorldService service = new HelloWorldService();
String response = service.getHelloWorldPort().sayHi("client");
System.out.println("Service said: " + response);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment