Search in sources :

Example 1 with ProviderImpl

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);
}
Also used : QName(javax.xml.namespace.QName) ProviderImpl(org.jboss.wsf.stack.cxf.client.ProviderImpl) URL(java.net.URL)

Example 2 with ProviderImpl

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);
}
Also used : QName(javax.xml.namespace.QName) ProviderImpl(org.jboss.wsf.stack.cxf.client.ProviderImpl) URL(java.net.URL)

Example 3 with ProviderImpl

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);
}
Also used : QName(javax.xml.namespace.QName) ProviderImpl(org.jboss.wsf.stack.cxf.client.ProviderImpl) URL(java.net.URL)

Aggregations

URL (java.net.URL)3 QName (javax.xml.namespace.QName)3 ProviderImpl (org.jboss.wsf.stack.cxf.client.ProviderImpl)3