SoapHttpDynamicInfosetInvoker invoker = createSecureInvoker(globalConfiguration);
String wsdlAsStr = invoker.invokeHttpGet(serviceURL);
// System.out.println(wsdlAsStr);
XmlElement el = XmlConstants.BUILDER
.parseFragmentFromReader(new StringReader(wsdlAsStr));
WsdlDefinitions def = new WsdlDefinitions(el);
WSIFServiceFactory wsf = WSIFServiceFactory.newInstance();
WSIFService serv = wsf.getService(def);
serv.addLocalProvider(new Provider(invoker));
client = XmlBeansWSIFRuntime.getDefault().newClientFor(serv.getPort());
((XsulSoapPort) client.getPort()).setInvoker(invoker);