1
2
3
4
5
6
7
8
9
10
11 package org.mule.transport.soap.axis;
12
13 import org.mule.api.MuleMessage;
14 import org.mule.module.client.MuleClient;
15 import org.mule.tck.DynamicPortTestCase;
16
17 public class VmToAxisProxyTestCase extends DynamicPortTestCase
18 {
19
20 protected String getConfigResources()
21 {
22 return "vm-to-axis-proxy-mule-config.xml";
23 }
24
25 public void testWSProxy() throws Exception
26 {
27 if (isOffline("org.mule.transport.soap.axis.VmToAxisProxyTestCase.testWSProxy()"))
28 {
29 return;
30 }
31
32 MuleClient client = new MuleClient(muleContext);
33 MuleMessage result = client.send("vm://proxy", "ibm", null);
34 assertNotNull(result);
35 }
36
37 @Override
38 protected int getNumPortsToFind()
39 {
40 return 1;
41 }
42
43 }