QName portName = getPortName();
String endPointUrl = getEndPointUrl(request);
String soapActionUri = getSoapActionUri(request);
String soapBindingId = getSoapBinding(request);
String invocationType = getInvocationType(request);
URLConnection connection = null;
if (endPointUrl == null || endPointUrl.isEmpty()) {
connection = getEndPointConnection(request);
if (connection != null) {
endPointUrl = connection.getURL().toExternalForm();
}
}
// create service.
Service service = Service.create(servName);