Package xsul.xservo

Examples of xsul.xservo.XService


     */
    private void start(String serviceName, String wsdlName, String wsdlPath,
            Object serviceImpl) throws IOException {
        String wsdlLocation = XBayaPathConstants.WSDL_DIRECTORY
                + File.separator + wsdlPath;
        XService xservice = this.httpServices
                .addService(new XSoapDocLiteralService(serviceName,
                        wsdlLocation, serviceImpl));
        xservice.addHandler(new StickySoapHeaderHandler("retrieve-lead-header",
                LeadContextHeader.TYPE));
        xservice.startService();

        WsdlDefinitions wsdl = xservice.getWsdl();

        File wsdlFile = new File(Service.SAMPLE_WSDL_DIRECTORY, wsdlName);
        XMLUtil.saveXML(wsdl, wsdlFile);
    }
View Full Code Here


     * @param serviceImpl
     * @throws IOException
     */
    private void start(String serviceName, String wsdlName, String wsdlPath, Object serviceImpl) throws IOException {
        String wsdlLocation = XBayaPathConstants.WSDL_DIRECTORY + File.separator + wsdlPath;
        XService xservice = this.httpServices.addService(new XSoapDocLiteralService(serviceName, wsdlLocation,
                serviceImpl));
        xservice.addHandler(new StickySoapHeaderHandler("retrieve-lead-header", LeadContextHeader.TYPE));
        xservice.startService();

        WsdlDefinitions wsdl = xservice.getWsdl();

        File wsdlFile = new File(Service.SAMPLE_WSDL_DIRECTORY, wsdlName);
        XMLUtil.saveXML(wsdl, wsdlFile);
    }
View Full Code Here

TOP

Related Classes of xsul.xservo.XService

Copyright © 2018 www.massapicom. 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.