Skip to content

Instantly share code, notes, and snippets.

@afsinka
Created August 7, 2016 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afsinka/452ed349c4d468dac7179087650b99ad to your computer and use it in GitHub Desktop.
Save afsinka/452ed349c4d468dac7179087650b99ad to your computer and use it in GitHub Desktop.
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