1   package org.codehaus.xfire.wsdl;
2   
3   import junit.framework.TestCase;
4   import org.codehaus.xfire.service.SimpleService;
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          SimpleService s = new SimpleService();
17          s.setWSDLURL(getClass().getResource("/org/codehaus/xfire/echo11.wsdl").toString() );
18  
19          WSDL wsdl = s.getWSDL();
20          wsdl.write( System.out );
21      }
22  }