Skip to content

Instantly share code, notes, and snippets.

@rajeevshukla
Created October 14, 2018 23:11
Show Gist options
  • Save rajeevshukla/7dcfc56e60c925945d31aa44dd71acdd to your computer and use it in GitHub Desktop.
Save rajeevshukla/7dcfc56e60c925945d31aa44dd71acdd to your computer and use it in GitHub Desktop.
Main class
public static void main(String[] args) {
SimpleProvider clientConfig = ApplicationUtils.configureAxisLogger();
try {
XYZLocator dataUtilizationLocator = new XYZLocator("WSDL LOCATION", "Qname");
dataUtilizationLocator.setEngineConfiguration(clientConfig);
dataUtilizationLocator.setEngine(new AxisClient(clientConfig));
XYZSoap xyzSoap = dataUtilizationLocator.getXYZSoap();
xyzSoap.getDataFromService();
} catch (Exception e) {
e.printStrackTrace();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment