Package org.fao.geonet.exceptions

Examples of org.fao.geonet.exceptions.BadSoapResponseEx


    protected Element soapUnembed(Element envelope) throws BadSoapResponseEx {
        Namespace ns = envelope.getNamespace();
        Element body = envelope.getChild("Body", ns);

        if (body == null)
            throw new BadSoapResponseEx(envelope);

        List<Element> list = body.getChildren();

        if (list.size() == 0)
            throw new BadSoapResponseEx(envelope);

        return list.get(0);
    }
View Full Code Here

TOP

Related Classes of org.fao.geonet.exceptions.BadSoapResponseEx

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.