1 package org.codehaus.xfire.wsdl;
2
3 import junit.framework.TestCase;
4 import org.codehaus.xfire.service.MessageService;
5
6 /***
7 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
8 * @since Sep 20, 2004
9 */
10 public class WSDLTest
11 extends TestCase
12 {
13 public void testResource()
14 throws Exception
15 {
16 MessageService s = new MessageService();
17 s.setWSDLURL(getClass().getResource("/org/codehaus/xfire/echo11.wsdl").toString() );
18
19 WSDLWriter wsdl = s.getWSDLWriter();
20 wsdl.write( System.out );
21 }
22 }