Skip to content

Instantly share code, notes, and snippets.

@ctataryn
Created January 26, 2012 20:42
Show Gist options
  • Save ctataryn/1684974 to your computer and use it in GitHub Desktop.
Save ctataryn/1684974 to your computer and use it in GitHub Desktop.
CXF Client
@Test
public void testRetrieveById() {
//uses the localhost:8080/PlayerManagement address from the WSDL <soap:address> element
PlayerManagement client = new PlayerManagement_Service().getPlayerManagementSOAP();
WsPlayer player = client.retrievePlayerById(1);
assertNotNull(player);
assertEquals("Dollie", player.getFirstName());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment