Package com.fs.pxe.sfwk.deployment

Examples of com.fs.pxe.sfwk.deployment.ExplodedSarFile


        WsdlCacheRr cacheGenerator = new WsdlCacheRr();
        cacheGenerator.addWSDL(wsdlUrl);
        if (!cacheGenerator.containsResource("file:main.wsdl")) {
            cacheGenerator.aliasUri(wsdlUrl.toExternalForm(), "file:main.wsdl");
        }
        ExplodedSarFile sf = new ExplodedSarFile();
        sf.setCommonResourceRepository(cacheGenerator);

        BpelC bc = BpelC.newBpelCompiler();

        bc.setProcessWSDL(new URI(wsdlUrl.toExternalForm()));
        bc.setOutputFile(tmpBar);
        bc.compile(bpelUrl);

        sf.setSystemDescriptor(sd);
        sf.addResource("a.cbp", tmpBar);

        for (Iterator it = resources.keySet().iterator(); it.hasNext();) {
            String name = (String) it.next();
            sf.addResource(name, new URL((String) resources.get(name)));
        }

        sf.validate();
        return sf;

    }
View Full Code Here

TOP

Related Classes of com.fs.pxe.sfwk.deployment.ExplodedSarFile

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.