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