Package org.apache.yoko.bindings.corba

Examples of org.apache.yoko.bindings.corba.CorbaMessage


   
    public void testprepareDIIArgsList() throws Exception {                       
        CorbaInInterceptor inInterceptor = new CorbaInInterceptor();
        CorbaStaxObject corbaStaxObject = new CorbaStaxObject();
        Message msg = new MessageImpl();
        CorbaMessage message = new CorbaMessage(msg);
        List<CorbaTypeMap> typeMaps = new ArrayList<CorbaTypeMap>();
        CorbaDestination destination = testUtils.getExceptionTypesTestDestination();
        ServiceInfo service = destination.getBindingInfo().getService();       
        List<TypeMappingType> corbaTypes = service.getDescription().getExtensors(TypeMappingType.class);
        if (corbaTypes != null) {
View Full Code Here


    }
    
    public void testprepareArgs() throws Exception {
        CorbaInInterceptor inInterceptor = new CorbaInInterceptor()
        Message msg = new MessageImpl();
        CorbaMessage message = new CorbaMessage(msg);       
        List<ParamType> paramTypes  = new ArrayList<ParamType>(1);
        ParamType param = new ParamType();
        QName type = new QName("", "structure", "");
        param.setName("param1");
        param.setIdltype(type);
        paramTypes.add(param);              
       
        inInterceptor.prepareArgs(message, paramTypes);
        List<Object> args = message.getContent(List.class);
        assertNotNull("args should exist and be empty", args !=  null);
    }
View Full Code Here

TOP

Related Classes of org.apache.yoko.bindings.corba.CorbaMessage

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.