View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.transport.soap.axis;
8   
9   import org.mule.api.transport.Connector;
10  import org.mule.transport.AbstractConnectorTestCase;
11  import org.mule.transport.soap.axis.AxisConnector;
12  
13  /**
14   * Test case for AxisConnector's basic behaviour
15   */
16  public class AxisConnectorTestCase extends AbstractConnectorTestCase
17  {
18  
19      public String getTestEndpointURI()
20      {
21          return "axis:http://localhost:38009/axis";
22      }
23  
24      public Connector createConnector() throws Exception
25      {
26          AxisConnector c = new AxisConnector(muleContext);
27          c.setName("axisConnector");
28          return c;
29      }
30  
31      public Object getValidMessage() throws Exception
32      {
33          return "Test Message";
34      }
35  
36  }