Examples of MessageSerializer


Examples of org.codehaus.xfire.exchange.MessageSerializer

     */
    public void invoke(MessageContext context)
        throws Exception
    {
        OutMessage msg = (OutMessage) context.getExchange().getFaultMessage();
        MessageSerializer serializer = msg.getSerializer();

        msg.setSerializer(new SoapSerializer(serializer));
    }
View Full Code Here

Examples of org.codehaus.xfire.exchange.MessageSerializer

     * @throws XFireFault
     */
    public void invoke(MessageContext context)
        throws Exception
    {
        MessageSerializer serializer = context.getOutMessage().getSerializer();
        if (serializer == null)
        {
            AbstractSoapBinding binding = (AbstractSoapBinding) context.getBinding();
            if (binding == null)
            {
View Full Code Here

Examples of org.codehaus.xfire.exchange.MessageSerializer

    {
        if (reader.getEventType() == XMLStreamReader.START_ELEMENT)
        {
            if (reader.getName().equals(msg.getSoapVersion().getFault()))
            {
                MessageSerializer serializer = context.getService().getFaultSerializer();
               
                serializer.readMessage(msg, context);
               
                throw (XFireFault) msg.getBody();
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.