Package org.codehaus.xfire.jaxws

Source Code of org.codehaus.xfire.jaxws.EchoFaultTest

package org.codehaus.xfire.jaxws;

import org.codehaus.xfire.aegis.AbstractXFireAegisTest;
import org.codehaus.xfire.service.Service;
import org.jdom.Document;

public class EchoFaultTest extends AbstractXFireAegisTest
{
    public void testEchoFault() throws Exception
    {
        JAXWSServiceFactory sf = new JAXWSServiceFactory(getTransportManager());
       
        Service service = sf.create(Echo.class);
        getServiceRegistry().register(service);
       
        Document res = invokeService(service.getSimpleName(), "echo.xml");
       
        addNamespace("x", "http://jaxws.xfire.codehaus.org");
        assertValid("//detail/x:EchoFault/x:someMessage", res);
    }
}
TOP

Related Classes of org.codehaus.xfire.jaxws.EchoFaultTest

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.