Package org.codehaus.xfire.service

Examples of org.codehaus.xfire.service.OperationInfo


        throws Exception
    {
        Service service = context.getService();
        if (service == null) return;
       
        OperationInfo op = context.getExchange().getOperation();
        AbstractSoapBinding binding = (AbstractSoapBinding) context.getBinding();
       
        String action = binding.getSoapAction(op);
        if (action != null)
            context.getOutMessage().setProperty(SoapConstants.SOAP_ACTION, action);
View Full Code Here


        // add in soap:Body, et al
        wbinding.addExtensibilityElement(createSoapBinding());
       
        for (Iterator oitr = getService().getServiceInfo().getOperations().iterator(); oitr.hasNext();)
        {
            OperationInfo op = (OperationInfo) oitr.next();

            javax.wsdl.Operation wsdlOp =
                (javax.wsdl.Operation) portType.getOperation(op.getName(), null, null);

            javax.wsdl.BindingOperation bop = createBindingOperation(builder, wsdlOp, op);

            createHeaders(builder, op, bop);
           
View Full Code Here

        return style;
    }
   
    public OperationInfo getOperationByAction(String action)
    {
        OperationInfo op = (OperationInfo) action2Op.get(action);
       
        if (op == null)
        {
            op = (OperationInfo) action2Op.get("*");
        }
View Full Code Here

    }

    @Override
    protected OperationInfo addOperation(Service endpoint, Method method, String style)
    {
        OperationInfo op = super.addOperation(endpoint, method, style);
       
        return op;
    }
View Full Code Here

        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)
        {
            op = endpoint.getServiceInfo().getOperation( dr.getLocalName() );
View Full Code Here

    }

    public void writeMessage(OutMessage message, XMLStreamWriter writer, MessageContext context)
        throws XFireFault
    {
        OperationInfo op = context.getExchange().getOperation();
       
    }
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.service.OperationInfo

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.