Package org.apache.muse.ws.addressing.soap

Examples of org.apache.muse.ws.addressing.soap.SoapFault.toXML()


       
        if (capability == null)
        {
            Object[] filler = { getContextPath(), action };
            SoapFault fault = new SoapFault(_MESSAGES.get("ActionNotSupported", filler));
            return fault.toXML();
        }
       
        MessageHandler handler = capability.getMessageHandler(action);
        Method method = handler.getMethod();
       
View Full Code Here


                LoggingUtils.logCall(log, method, parameters);
           
            LoggingUtils.logError(log, error);
           
            SoapFault response = SoapUtils.convertToFault(error);
            return response.toXML();
        }
    }
   
    public final void setContextPath(String contextPath)
    {
View Full Code Here

           
            Element detail = XmlUtils.createElement(WsaConstants.PROBLEM_ACTION_QNAME);
            XmlUtils.setElement(detail, WsaConstants.ACTION_QNAME, action);
            wsaFault.setDetail(detail);
           
            return wsaFault.toXML();
        }
       
        MessageHandler handler = capability.getMessageHandler(action);
        Method method = handler.getMethod();
       
View Full Code Here

                LoggingUtils.logCall(log, method, parameters);
           
            LoggingUtils.logError(log, error);
           
            SoapFault response = SoapUtils.convertToFault(error);
            return response.toXML();
        }
    }
   
    public final void setContextPath(String contextPath)
    {
View Full Code Here

            LOGGER.error(
                Messages.QMAN_100020_ACTION_NOT_SUPPORTED,
                action,
                getContextPath());

            return wsaFault.toXML();
        }
       
        MessageHandler handler = capability.getMessageHandler(action);
        Method method = handler.getMethod();
       
View Full Code Here

         
            SoapFault response = SoapUtils.convertToFault(
                (throwable.getCause()!= null)
                  ? throwable.getCause()
                  : throwable);
            return response.toXML();
        }
    }
   
    /**
     * Sets the context path of this resource.
View Full Code Here

       
        if (capability == null)
        {
            Object[] filler = { getContextPath(), action };
            SoapFault fault = new SoapFault(_MESSAGES.get("ActionNotSupported", filler));
            return fault.toXML();
        }
       
        MessageHandler handler = capability.getMessageHandler(action);
        Method method = handler.getMethod();
       
View Full Code Here

                LoggingUtils.logCall(log, method, parameters);
           
            LoggingUtils.logError(log, error);
           
            SoapFault response = SoapUtils.convertToFault(error);
            return response.toXML();
        }
    }
   
    public final void setContextPath(String contextPath)
    {
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.