Examples of SOAPService


Examples of com.arjuna.webservices.SoapService

               // Add Terminator coordinator.
               TerminationParticipantPolicy.register(handlerRegistry) ;

               final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
               soapRegistry.registerSoapService(ArjunaTXConstants.SERVICE_TERMINATION_PARTICIPANT,
                       new SoapService(handlerRegistry)) ;
           }
        };
    }
View Full Code Here

Examples of nexj.core.meta.integration.format.xml.wsdl.SOAPService

      }
      else if (m_nOutputMode == OUTMODE_WSDL)
      {
         MetadataServiceConverter converter = new MetadataServiceConverter();
         WSDLServiceExporter exporter = new WSDLServiceExporter();
         SOAPService service = converter.export(message);

         exporter.setInvocationContext(m_context);
         exporter.exportService(service, writer);
      }
      else
View Full Code Here

Examples of org.apache.axis.handlers.soap.SOAPService

         String serviceName = "OSGi-SR:" + filter;
         WSDDEngineConfiguration config = (WSDDEngineConfiguration) msgContext.getAxisEngine()
          .getConfig();
         WSDDDeployment deployment = config.getDeployment();
         WSDDService ws = findService(deployment, serviceName);
         SOAPService service = null;

         if (ws == null) {
            BundleContext bContext = org.knopflerfish.bundle.axis.Activator.axisBundle;
            Object serviceObject = null;
            String sfilter = "(" + filter + ")";
View Full Code Here

Examples of org.apache.axis.handlers.soap.SOAPService

                SOAPEnvelope env = requestMessage.getSOAPEnvelope();
                if (env != null && env.getSOAPConstants() != null) {
                    messageContext.setSOAPConstants(env.getSOAPConstants());
                }
                SOAPService service = messageContext.getService();

                Thread.currentThread().setContextClassLoader(classLoader);
                service.invoke(messageContext);

                responseMessage = messageContext.getResponseMessage();
            } catch (AxisFault fault) {
               
                 if(req.getMethod() == req.GET && req.getParameters().isEmpty()){
View Full Code Here

Examples of org.apache.axis.handlers.soap.SOAPService

        ReadOnlyServiceDesc sd = new ReadOnlyServiceDesc(serviceDesc, Collections.EMPTY_LIST);

        Class pojoClass = cl.loadClass("org.apache.geronimo.axis.testData.echosample.EchoBean");

        RPCProvider provider = new POJOProvider();
        SOAPService service = new SOAPService(null, provider, null);
        service.setServiceDescription(sd);
        service.setOption("className","org.apache.geronimo.axis.testData.echosample.EchoBean");
        URI wsdlURL = new URI("echo.wsdl");
        URI location = new URI(serviceDesc.getEndpointURL());
        Map wsdlMap = new HashMap();

        AxisWebServiceContainer container =
View Full Code Here

Examples of org.apache.axis.handlers.soap.SOAPService

        JavaServiceDesc serviceDesc = serviceInfo.getServiceDesc();

        targetGBean.setAttribute("pojoClassName", servletClassName);
        RPCProvider provider = new POJOProvider();

        SOAPService service = new SOAPService(null, provider, null);
        service.setServiceDescription(serviceDesc);
        service.setOption("className", servletClassName);

        HandlerInfoChainFactory handlerInfoChainFactory = new HandlerInfoChainFactory(serviceInfo.getHandlerInfos());
        service.setOption(org.apache.axis.Constants.ATTR_HANDLERINFOCHAIN, handlerInfoChainFactory);

        URI location;
        try {
            location = new URI(serviceDesc.getEndpointURL());
        } catch (URISyntaxException e) {
View Full Code Here

Examples of org.apache.callback.SOAPService

        String address = "http://localhost:" + CB_PORT + "/CallbackContext/CallbackPort";
        Endpoint ep = Endpoint.publish(address, implementor);
   
        URL wsdlURL = getClass().getResource("/wsdl/basic_callback_test.wsdl");
   
        SOAPService ss = new SOAPService(wsdlURL, SERVICE_NAME);
        ServerPortType port = ss.getPort(PORT_NAME, ServerPortType.class);
        updateAddressPort(port, PORT);
  

        EndpointReference w3cEpr = ep.getEndpointReference();             
        String resp = port.registerCallback((W3CEndpointReference)w3cEpr);
View Full Code Here

Examples of org.apache.hello_world.SOAPService

    private HelloWorldConsumer() {
    }

    public static void main(String args[]) throws Exception {
       
        SOAPService service = new SOAPService();
        Greeter port = service.getSoapPort();

        String resp;

        System.out.println("Invoking sayHi...");
        resp = port.sayHi();
View Full Code Here

Examples of org.apache.hello_world.services.SOAPService

    @Test
    public void testClientWithDefaultCatalog() throws Exception {
        URL wsdl = getClass().getResource("/wsdl/catalog/hello_world_services.wsdl");
        assertNotNull(wsdl);
       
        SOAPService service = new SOAPService(wsdl, serviceName);
        assertNotNull(service);

        Greeter greeter = service.getPort(portName, Greeter.class);
        assertNotNull(greeter);
    }
View Full Code Here

Examples of org.apache.hello_world_async_soap_http.SOAPService

            url = wsdl.toURI().toURL();
        } else {
            url = new URL(args[0]);
        }
       
        SOAPService ss = new SOAPService(url, SERVICE_NAME);
        ExecutorService executor = Executors.newFixedThreadPool(5);
        ss.setExecutor(executor);
        GreeterAsync port = ss.getSoapPort();
        String resp;
       
        // callback method
        TestAsyncHandler testAsyncHandler = new TestAsyncHandler();
        System.out.println("Invoking greetMeSometimeAsync using callback object...");
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.