1
2
3
4
5
6
7
8
9
10
11 package org.mule.tck.providers.soap;
12
13 public abstract class AbstractSoapResourceEndpointFunctionalTestCase extends AbstractSoapFunctionalTestCase
14 {
15
16 public String getConfigResources()
17 {
18 return "axis-" + getTransportProtocol() + "-mule-config.xml";
19 }
20
21 protected abstract String getTransportProtocol();
22
23 protected abstract String getSoapProvider();
24
25 protected String getRequestResponseEndpoint()
26 {
27 return getSoapProvider() + ":" + getTransportProtocol() + "://mycomponent?method=echo";
28 }
29
30 protected String getReceiveEndpoint()
31 {
32 return getSoapProvider() + ":" + getTransportProtocol() + "://mycomponent2?method=getDate";
33 }
34
35 protected String getReceiveComplexEndpoint()
36 {
37 return getSoapProvider() + ":" + getTransportProtocol()
38 + "://mycomponent3?method=getPerson¶m=Fred";
39 }
40
41 protected String getSendReceiveComplexEndpoint1()
42 {
43 return getSoapProvider() + ":" + getTransportProtocol() + "://mycomponent3?method=addPerson";
44 }
45
46 protected String getSendReceiveComplexEndpoint2()
47 {
48 return getSoapProvider() + ":" + getTransportProtocol()
49 + "://mycomponent3?method=getPerson¶m=Dino";
50 }
51
52 protected String getReceiveComplexCollectionEndpoint()
53 {
54 return getSoapProvider() + ":" + getTransportProtocol() + "://mycomponent3?method=getPeople";
55 }
56
57 protected String getDispatchAsyncComplexEndpoint1()
58 {
59 return getSoapProvider() + ":" + getTransportProtocol() + "://mycomponent3?method=addPerson";
60 }
61
62 protected String getDispatchAsyncComplexEndpoint2()
63 {
64 return getSoapProvider() + ":" + getTransportProtocol()
65 + "://mycomponent3?method=getPerson¶m=Betty";
66 }
67
68 protected String getTestExceptionEndpoint()
69 {
70 return getSoapProvider() + ":" + getTransportProtocol() + "://mycomponent3?method=addPerson";
71 }
72
73 protected String getWsdlEndpoint()
74 {
75 return getSoapProvider() + ":" + getTransportProtocol() + "://mycomponent?wsdl";
76 }
77
78 public void testLocationUrlInWSDL() throws Exception
79 {
80
81 }
82
83 }