Package com.sun.xml.ws.config.metro.parser.jsr109

Examples of com.sun.xml.ws.config.metro.parser.jsr109.String


    public List<WebserviceDescriptionType> parse(final XMLStreamReader reader) throws WebServiceException {
        try {
            final Unmarshaller unmarshaller = context.createUnmarshaller();
            final JAXBElement<WebservicesType> elements = unmarshaller.unmarshal(reader, WebservicesType.class);
            final WebservicesType root = elements.getValue();
            final List<WebserviceDescriptionType> descriptions = root.getWebserviceDescription();
            return descriptions;
        } catch (JAXBException e) {
            // TODO logging message
            throw LOGGER.logSevereException(new WebServiceException("Failed to unmarshal webservices.xml", e));
        }
View Full Code Here

TOP

Related Classes of com.sun.xml.ws.config.metro.parser.jsr109.String

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.