Package org.jibx.ws.server

Examples of org.jibx.ws.server.OperationDefinition


     * @throws JiBXException on any error accessing JiBX bindings or error in configuration
     * @throws WsConfigurationException
     */
    private static ServiceDefinition getServiceDefinition(String serviceMethodName) throws NoSuchMethodException,
        JiBXException, WsConfigurationException {
        OperationDefinition odef = new OperationDefinition();
        odef.setMethodName(serviceMethodName);
        odef.setInputClassName(Person.class.getName());
        odef.setOutputClassName(Customer.class.getName());

        ServiceDefinition sdef = new ServiceDefinition();
        // sdef.setBindingFactory(BindingDirectory.getFactory(Customer.class));
        sdef.setServiceClassName(SoapServiceTestHelper.class.getName());
        sdef.setOperationDefinitions(Arrays.asList(new OperationDefinition[] { odef }));
View Full Code Here

TOP

Related Classes of org.jibx.ws.server.OperationDefinition

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.