Package org.apache.axis2.corba.idl.types

Examples of org.apache.axis2.corba.idl.types.ValueType.addOperation()


            WSDLBindingOperation wsdlbop = (WSDLBindingOperation) bindings.next();
            WSDLOperation wsdlop = wsdlbop.getOperation();
            AxisOperation axisOp = AxisOperationFactory.getAxisOperation(findMEP(wsdlop));

            axisOp.setName(wsdlop.getName());
            serviceDesc.addOperation(axisOp);
        }

        // TODO: This part is compelte mess .. I think we need to look closly at the ServiceGroups  ..time been this works
        configurationContext.getAxisConfiguration().addService(serviceDesc);
View Full Code Here


        // todo I assumed in-out mep , this has to be imroved : Deepal
        AxisOperation axisOp = new InOutAxisOperation(opName);

        axisOp.setMessageReceiver(messageReceiver);
        axisOp.setStyle(WSDLService.STYLE_RPC);
        service.addOperation(axisOp);

        return service;
    }

    public static AxisService createSimpleServiceforClient(QName serviceName,
View Full Code Here

        // todo I assumed in-out mep , this has to be imroved : Deepal
        AxisOperation axisOp = new OutInAxisOperation(opName);

        axisOp.setMessageReceiver(messageReceiver);
        axisOp.setStyle(WSDLService.STYLE_RPC);
        service.addOperation(axisOp);

        return service;
    }

    public static void extractServiceGroupAndServiceInfo(String filePart,
View Full Code Here

        operation = rmService.getOperation(new QName (operationName));
        if (operation==null)
          throw new Exception ("Given operation not found");
      } else {
        operation = AxisOperationFactory.getAxisOperation(mep);
        rmService.addOperation(operation);
      }
     
      operation.setMessageReceiver(messageReceiver);
    }
View Full Code Here

          anonOutOnlyOperation.setPhasesOutFlow(referenceOperation.getPhasesOutFlow());
          anonOutOnlyOperation.setPhasesOutFaultFlow(referenceOperation.getPhasesOutFaultFlow());
          anonOutOnlyOperation.setPhasesInFaultFlow(referenceOperation.getPhasesInFaultFlow());
          anonOutOnlyOperation.setPhasesInFaultFlow(referenceOperation.getRemainingPhasesInFlow());

          service.addOperation(anonOutOnlyOperation);
        } else {
          String message = "Cant find RM Operations. Please engage the Sandesha2 module before doing the invocation.";
          throw new SandeshaException (message);
        }
      }
View Full Code Here

          anonOutInOperation.setPhasesOutFaultFlow(referenceOperation.getPhasesOutFaultFlow());
          anonOutInOperation.setPhasesInFaultFlow(referenceOperation.getPhasesInFaultFlow());
          anonOutInOperation.setPhasesInFaultFlow(referenceOperation.getRemainingPhasesInFlow());
         
          //operation will be added to the service only if a valid referenceOperation was found.
          service.addOperation(anonOutInOperation);
        }
      }
    } catch (AxisFault e) {
      throw new SandeshaException (e);
    }
View Full Code Here

        axisOperation.setMessageReceiver(new MessageReceiver() {
            public void receive(MessageContext messageCtx) {
                envelope = messageCtx.getEnvelope();
            }
        });
        service.addOperation(axisOperation);

        Options options = new Options();
        options.setTo(targetEPR);
        options.setAction(operationName.getLocalPart());
View Full Code Here

        AxisOperation axisOp = new InOnlyAxisOperation(new QName("echoOMElementResponse"));

        axisOp.setMessageReceiver(new RawXMLINOnlyMessageReceiver());
        axisOp.setStyle(WSDLConstants.STYLE_RPC);
        service.addOperation(axisOp);
        service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + "echoOMElementResponse",
                                     axisOp);

        AxisOperation axisOp2 = new InOnlyAxisOperation(new QName("fault"));
View Full Code Here

        AxisOperation axisOp2 = new InOnlyAxisOperation(new QName("fault"));

        axisOp2.setMessageReceiver(new RawXMLINOnlyMessageReceiver());
        axisOp2.setStyle(WSDLConstants.STYLE_RPC);
        service.addOperation(axisOp2);
        service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + "fault", axisOp2);

        return service;
    }
View Full Code Here

        AxisOperation axisOp = new OutOnlyAxisOperation(opName);

        axisOp.setMessageReceiver(new RawXMLINOnlyMessageReceiver());
        axisOp.setStyle(WSDLConstants.STYLE_RPC);
        service.addOperation(axisOp);

        return service;
    }

    public void testEchoToReplyTo() throws Exception {
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.