Package org.codehaus.xfire.spring.remoting

Examples of org.codehaus.xfire.spring.remoting.XFireExporter


   *
   * @throws Exception
   */
  public void testViaXFireServer() throws Exception {
    HelloService remoteHelloService = getClient();
    XFireExporter exporter = (XFireExporter) serverCtx.getBean("hello.server");

    // Use XFire-specific XFireHttpServer; JAX-WS javax.xml.ws.Endpoint doesn't work... ;-(
    XFireHttpServer httpServer = this.startXFireServer(LOCALHOST_PORT, exporter);
    // Endpoint httpServer = Endpoint.publish(LOCALHOST_URL, exporter.getServiceBean());
   
View Full Code Here


    public void setUp()
            throws Exception
    {
        super.setUp();
        Echo echoBean = new EchoImpl();
        exporter = new XFireExporter();
        exporter.setXfire(getXFire());
        exporter.setServiceInterface(Echo.class);
        exporter.setServiceBean(echoBean);
        ServiceFactory serviceFactory = new ObjectServiceFactory(getXFire().getTransportManager(),
                                                                 null);
View Full Code Here

            "/org/codehaus/xfire/spring/xfire.xml",
            "/org/codehaus/xfire/spring/remoting/exporterTest.xml"});

        assertNotNull(appContext.getBean("xfire.serviceFactory"));
        assertNotNull(appContext.getBean("echo"));
        XFireExporter exporter = (XFireExporter) appContext.getBean("/Echo");
        assertNotNull(exporter);
        BeanNameUrlHandlerMapping handlerMapping = new BeanNameUrlHandlerMapping();
        handlerMapping.setApplicationContext(appContext);
        HttpServletRequest request = getRequest();
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.spring.remoting.XFireExporter

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.