Examples of ServiceInfo


Examples of org.codehaus.xfire.service.ServiceInfo

        webAnnotationsControl.setDefaultReturnValue(Collections.EMPTY_LIST);

        webAnnotationsControl.replay();

        Service endpoint = annotationServiceFactory.create(EchoServiceImpl.class);
        ServiceInfo service = endpoint.getServiceInfo();
        assertEquals(new QName("http://xfire.codehaus.org/EchoService", "Echo"), endpoint.getName());
        assertEquals(new QName("http://xfire.codehaus.org/EchoService", "EchoPortType"),
                     service.getPortType());

        QName portName = (QName) endpoint.getProperty(ObjectServiceFactory.PORT_NAME);
        assertNotNull(portName);
        assertEquals("EchoPort", portName.getLocalPart());
       
View Full Code Here

Examples of org.codehaus.xfire.service.ServiceInfo

        webAnnotationsControl.setDefaultReturnValue(Collections.EMPTY_LIST);
       
        webAnnotationsControl.replay();

        Service endpoint = annotationServiceFactory.create(EchoServiceImpl.class);
        ServiceInfo service = endpoint.getServiceInfo();
        assertEquals(new QName("http://xfire.codehaus.org/EchoService", "Echo"), endpoint.getName());

        final OperationInfo operation = service.getOperation("echo");
        assertNotNull(operation);

        Collection parts = operation.getInputMessage().getMessageParts();
        assertEquals(1, parts.size());
        assertEquals("input", ((MessagePartInfo) parts.iterator().next()).getName().getLocalPart());
View Full Code Here

Examples of org.codehaus.xfire.service.ServiceInfo

        BeanType type = new BeanType();
        type.setTypeClass(SimpleBean.class);
        type.setSchemaType(new QName("urn:ReallyNotSoSimpleBean", "SimpleBean"));
        type.setTypeMapping(tm);
       
        ServiceInfo info = service.getServiceInfo();
        OperationInfo o = info.getOperation("getSubmitBean");
        MessageInfo inMsg = o.getInputMessage();
        MessagePartInfo p = inMsg.getMessagePart(new QName(service.getTargetNamespace(), "bean"));
        p.setSchemaType(type);
    }
View Full Code Here

Examples of org.codehaus.xfire.service.ServiceInfo

       
        Element element = new Element("dates", ns);
        new Document(element);
        JDOMWriter writer = new JDOMWriter(element);
        MessageContext mc = new MessageContext();
        mc.setService(new Service(new ServiceInfo(
            new QName("larry","curly","moe"),DateTypeTest.class)));
        dtoType.writeObject(dto, writer, new MessageContext());
        writer.close();
       
        addNamespace("d", ns);
View Full Code Here

Examples of org.eclipse.ecf.discovery.ServiceInfo

    }
  }

  protected IServiceInfo createServiceInfo(URI uri, String serviceName,
      IServiceTypeID serviceTypeID, IServiceProperties serviceProperties) {
    return new ServiceInfo(uri, serviceName, serviceTypeID,
        serviceProperties);
  }
View Full Code Here

Examples of org.fcrepo.client.utility.validate.remote.ServiceInfo

        Map<String, String> parms = parseArgsIntoMap(args);

        String username = getRequiredParameter(PARAMETER_USERNAME, parms);
        String password = getRequiredParameter(PARAMETER_PASSWORD, parms);
        URL serverUrl = getRequiredUrlParameter(PARAMETER_SERVER_URL, parms);
        serviceInfo = new ServiceInfo(serverUrl, username, password);

        String query = getOptionalParameter(PARAMETER_QUERY, parms);
        String terms = getOptionalParameter(PARAMETER_TERMS, parms);
        String pidfileParm = getOptionalParameter(PARAMETER_PIDFILE, parms);
View Full Code Here

Examples of org.geoserver.config.ServiceInfo

        final String serviceId = service.getId();
        if (serviceId == null) {
            throw new NullPointerException("service id must not be null");
        }

        ServiceInfo existing = getService(serviceId);

        if (existing != null) {
            throw new IllegalArgumentException("service with id '" + serviceId + "' already exists");
        }
View Full Code Here

Examples of org.geotools.data.ServiceInfo

        try {
            if (server == null ) { //$NON-NLS-1$
                WmsPlugin.log("WebMapService required", new ServiceNotFoundException()); //$NON-NLS-1$
                return null;
            }
            ServiceInfo serverInfo = server.getInfo();
            URI serverURI = serverInfo.getSource();
            String source = serverURI != null ? serverURI.toString() : null;
           
            String version = server.getCapabilities().getVersion();
            if (source == null || "".equals(source)) { //$NON-NLS-1$
                WmsPlugin.log("GetCapabilities SERVICE is required", new ServiceNotFoundException()); //$NON-NLS-1$
View Full Code Here

Examples of org.jamesii.core.services.ServiceInfo

    pluginAction = createShowPlugInViewAction(pluginIcon);
    pluginAction.setEnabled(getSelectedNodeInfo() != null);
    actions.add(pluginAction);

    if (getSelectedNodeInfo() != null) {
      ServiceInfo info = (ServiceInfo) getSelectedNodeInfo().getInfo();
      Map<String, List<String[]>> commandList = info.getPossibleCommands();
      for (Entry<String, List<String[]>> entry : commandList.entrySet()) {
        String command = entry.getKey();
        IAction action =
            new ServiceAction(command, command, new String[] { "" }, info,
                entry.getValue(), this);
View Full Code Here

Examples of org.jgroups.mux.ServiceInfo

    }



    public static void testServiceInfo() throws Exception {
        ServiceInfo si=new ServiceInfo();
        _testSize(si);    
    }
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.