use of org.jboss.wsf.stack.cxf.client.ProviderImpl in project jbossws-cxf by jbossws.
the class JAXWSBenchmarkComplex method prepare.
public Registration prepare() throws Exception {
URL wsdlURL = new URL(endpointURL + "?wsdl");
QName serviceName = new QName(targetNS, "RegistrationServiceImplService");
// explicitly use JBossWS-CXF JAXWS SPI Provider impl as jmeter uses a flat classpath approach
// and it's not possible to configure the jar order
ProviderImpl p = new ProviderImpl();
return p.createServiceDelegate(wsdlURL, serviceName, null).getPort(Registration.class);
// Service service = Service.create(wsdlURL, serviceName);
// return service.getPort(Registration.class);
}
use of org.jboss.wsf.stack.cxf.client.ProviderImpl in project jbossws-cxf by jbossws.
the class JAXWSBenchmarkPOJO method prepare.
public EndpointDoc prepare() throws Exception {
URL wsdlURL = new URL(endpointURL + "?wsdl");
QName serviceName = new QName(targetNS, "EndpointDocService");
// explicitly use JBossWS-CXF JAXWS SPI Provider impl as jmeter uses a flat classpath approach
// and it's not possible to configure the jar order
ProviderImpl p = new ProviderImpl();
return p.createServiceDelegate(wsdlURL, serviceName, null).getPort(EndpointDoc.class);
// Service service = Service.create(wsdlURL, serviceName);
// return service.getPort(EndpointDoc.class);
}
use of org.jboss.wsf.stack.cxf.client.ProviderImpl in project jbossws-cxf by jbossws.
the class JAXWSBenchmark method prepare.
public Endpoint prepare() throws Exception {
URL wsdlURL = new URL(endpointURL + "?wsdl");
QName serviceName = new QName(targetNS, "EndpointService");
// explicitly use JBossWS-CXF JAXWS SPI Provider impl as jmeter uses a flat classpath approach
// and it's not possible to configure the jar order
ProviderImpl p = new ProviderImpl();
return p.createServiceDelegate(wsdlURL, serviceName, null).getPort(Endpoint.class);
// Service service = Service.create(wsdlURL, serviceName);
// return service.getPort(Endpoint.class);
}
Aggregations