Package org.wso2.carbon.governance.api.services

Examples of org.wso2.carbon.governance.api.services.ServiceManager.newService()


        if (serviceName == null) {
            serviceName = DiscoveryConstants.SERVICE_NAME_PREFIX +
                    new GregorianCalendar().getTimeInMillis();
        }

        Service newService = serviceManager.newService(new QName(
                DiscoveryConstants.WS_DISCOVERY_NAMESPACE, serviceName));
        newService.setId(serviceId);

        // Save the endpoint reference element as an attribute
        OMElement epr = EndpointReferenceHelper.toOM(OMAbstractFactory.getSOAP11Factory(),
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.