Package com.sun.enterprise.webservice.monitoring

Examples of com.sun.enterprise.webservice.monitoring.NamespaceContextImpl


                BufferedInputStream(new FileInputStream(wsdlFile)));
            Document wsdlDoc = dFactory.newDocumentBuilder().parse(new
            BufferedInputStream(new FileInputStream(wsdlFile)));
            XPathFactory xPathFactory = XPathFactory.newInstance();
            XPath xPath = xPathFactory.newXPath();
            NamespaceContext context = new NamespaceContextImpl(wsdlDoc);
            xPath.setNamespaceContext(context);
            String xpathExpression = "/:definitions/:service/:port[@name='"+
                localPart+"']/soap:address/@location";
            endpointURL = xPath.evaluate(xpathExpression, inputSource);
            return endpointURL;
View Full Code Here

TOP

Related Classes of com.sun.enterprise.webservice.monitoring.NamespaceContextImpl

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.