Hello!

I try to create a wsdl first webservice.
I alredy generated the java code, set up the server (everything try to
do as i saw in the STS implementation:

@WebService(targetNamespace = "urn:ihe:iti:xds-b:2007", 
portName = "DocumentRepository_Port_Soap12", 
serviceName = "DocumentRepository_Service", 
wsdlLocation = "WEB-INF/wsdl/wsdl/XDS.b_DocumentRepository.wsdl")
@BindingType(javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_MTOM_BINDING)
public class RepositoryServiceProvider implements Provider<Source> {

)
Its running, but at the start i always get the info message:

May 03, 2018 1:19:30 PM 
org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean 
buildServiceFromWSDL
INFO: Creating Service {urn:ihe:iti:xds-b:2007}DocumentRepository_Service from 
WSDL: WEB-INF/wsdl/wsdl/XDS.b_DocumentRepository.wsdl
May 03, 2018 1:20:01 PM org.apache.cxf.endpoint.ServerImpl initDestination

and then I get another message:

May 03, 2018 1:20:01 PM 
org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean 
buildServiceFromWSDL
INFO: Creating Service 
{http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01}Discovery from WSDL: 
classpath:/org/apache/cxf/ws/discovery/wsdl/wsdd-discovery-1.1-wsdl-os.wsdl
May 03, 2018 1:20:01 PM org.apache.cxf.endpoint.ServerImpl initDestination

My questions:
* how can I prevent to generate a service from wsdl every time (it take
a long time too)
* what is the second generation (discovery)? what does it do
(discovery), and how can i turn off?

Thanx

Csaba

Reply via email to