Package org.codehaus.xfire.fault

Examples of org.codehaus.xfire.fault.XFireFault


            return unmarshaller.unmarshal(stAXSource);
        } catch (Exception e)
        {
            e.printStackTrace();
            throw new XFireFault("Could not unmarshall type.", e, XFireFault.SENDER);
        }
    }
View Full Code Here


        {

            marshaller.marshal(object, new FilteringStaxResult(((ElementWriter) writer).getXMLStreamWriter()));
        } catch (JAXBException e)
        {
            throw new XFireFault("Could not marshall type.", e, XFireFault.RECEIVER);
        }

    }
View Full Code Here

   
            writer.flush();
        }
        catch (XMLStreamException e)
        {
            throw new XFireFault("Couldn't write message.", e, XFireFault.RECEIVER);
        }
    }
View Full Code Here

            Calendar c = (Calendar) format.parseObject(value);
            return new Time(c.getTimeInMillis());
        }
        catch (ParseException e)
        {
            throw new XFireFault("Could not parse xs:dateTime: " + e.getMessage(), e, XFireFault.SENDER);
        }
    }
View Full Code Here

            Calendar c = (Calendar) format.parseObject(value);
            return c.getTime();
        }
        catch (ParseException e)
        {
            throw new XFireFault("Could not parse xs:dat: " + e.getMessage(), e, XFireFault.SENDER);
        }
    }
View Full Code Here

        Service endpoint = context.getService();
       
        DepthXMLStreamReader dr = new DepthXMLStreamReader(context.getInMessage().getXMLStreamReader());

        if ( !STAXUtils.toNextElement(dr) )
            throw new XFireFault("There must be a method name element.", XFireFault.SENDER);
       
        OperationInfo op = context.getExchange().getOperation();

        if (!isClientModeOn(context) && op == null)
        {
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.fault.XFireFault

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.