* Create an Axis2 ServiceClient
*/
private ServiceClient createServiceClient(Definition wsdlDefinition, WebServicePortMetaData wsPortMetaData)
throws AxisFault {
TuscanyAxisConfigurator tuscanyAxisConfigurator = new TuscanyAxisConfigurator();
ConfigurationContext configurationContext = tuscanyAxisConfigurator.getConfigurationContext();
QName serviceQName = wsPortMetaData.getServiceName();
String portName = wsPortMetaData.getPortName().getLocalPart();
AxisService axisService =
AxisService.createClientSideAxisService(wsdlDefinition, serviceQName, portName, new Options());
return new ServiceClient(configurationContext, axisService);