Package org.codehaus.xfire

Examples of org.codehaus.xfire.XFireRuntimeException


                action = (String) msgContext.getProperty(WSHandlerConstants.ACTION);
            }
            if (action == null)
            {
                log.error("WSS4JInHandler: No action defined");
                throw new XFireRuntimeException("WSS4JInHandler: No action defined");
            }

            int doAction = WSSecurityUtil.decodeAction(action, actions);

            String actor = (String) getOption(WSHandlerConstants.ACTOR);

            AbstractMessage sm = msgContext.getCurrentMessage();
            Document doc = (Document) sm.getProperty(DOMInHandler.DOM_MESSAGE);

            if (doc == null){
                log.error("DOMInHandler must be enabled for WS-Security!");
                throw new XFireRuntimeException("DOMInHandler must be enabled for WS-Security!");
            }

            /*
             * Check if it's a response and if its a fault. Don't process
             * faults.
 
View Full Code Here


            return writer;
        }
        catch (XMLStreamException e)
        {
            throw new XFireRuntimeException("Couldn't parse stream.", e);
        }
    }
View Full Code Here

            return factoryClass.newInstance();
        }
        catch (Exception e)
        {
            logger.error("Can't create factory for class : " + factory, e);
            throw new XFireRuntimeException("Can't create factory for class : "
                    + factory);
        }
    }
View Full Code Here

        {
            return factory.createXMLStreamReader(in, encoding);
        }
        catch (XMLStreamException e)
        {
            throw new XFireRuntimeException("Couldn't parse stream.", e);
        }
    }
View Full Code Here

        {
            return factory.createXMLStreamReader(reader);
        }
        catch (XMLStreamException e)
        {
            throw new XFireRuntimeException("Couldn't parse stream.", e);
        }
    }
View Full Code Here

            {
                is = new FileInputStream(file);
            }
            catch (FileNotFoundException e)
            {
                throw new XFireRuntimeException("File was deleted! " + uriStr, e);
            }
        }
        else if (is == null)
        {
            tryClasspath(uriStr);
View Full Code Here

           
            return b.newDocument();
        }
        catch (ParserConfigurationException e)
        {
            throw new XFireRuntimeException("Couldn't find a DOM parser.", e);
        }
    }
View Full Code Here

            soapMessage = readNextAttachment();
            soapMessageRead = true;
        }
        catch (IOException e)
        {
            throw new XFireRuntimeException("Could not read message!", e);
        }
    }
View Full Code Here

                    return;
            }
        }
        catch (IOException e)
        {
            throw new XFireRuntimeException("Could not read message!", e);
        }
    }
View Full Code Here

            {
                return new DeleteOnCloseFileInputStream(tempFile);
            }
            catch (FileNotFoundException e)
            {
                throw new XFireRuntimeException("Cached file was deleted!!!", e);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.XFireRuntimeException

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.