Subversion Repositories XServices

Rev

Rev 86 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 86 Rev 93
Line 19... Line 19...
19
import javax.jws.WebMethod;
19
import javax.jws.WebMethod;
20
import javax.jws.WebParam;
20
import javax.jws.WebParam;
21
import javax.jws.WebService;
21
import javax.jws.WebService;
Line 22... Line 22...
22
 
22
 
-
 
23
import net.brutex.xservices.types.ReturnCode;
23
import net.brutex.xservices.types.ReturnCode;
24
import net.brutex.xservices.types.StringMatchType;
24
import net.brutex.xservices.types.StringReplaceType;
25
import net.brutex.xservices.types.StringReplaceType;
25
import net.brutex.xservices.types.TargetNodeType;
26
import net.brutex.xservices.types.TargetNodeType;
26
import net.brutex.xservices.types.ant.AttachmentType;
27
import net.brutex.xservices.types.ant.AttachmentType;
27
import net.brutex.xservices.types.ant.CollectionType;
28
import net.brutex.xservices.types.ant.CollectionType;
Line 40... Line 41...
40
public interface StringService {
41
public interface StringService {
Line 41... Line 42...
41
	
42
	
Line 42... Line 43...
42
	public static final String SERVICE_NAME = "StringService";
43
	public static final String SERVICE_NAME = "StringService";
-
 
44
	
Line 43... Line 45...
43
	
45
	final String OPERATION_REPLACEREGEX = "replaceRegEx";
44
	final String OPERATION_REPLACEREGEX = "replaceRegEx";
46
	final String OPERATION_MATCHREGEX = "matchRegEx";
45
 
47
 
Line 65... Line 67...
65
			@WebParam(name = PARAM_STRING) String res,
67
			@WebParam(name = PARAM_STRING) String res,
66
			@WebParam(name = PARAM_SEARCH) String search,
68
			@WebParam(name = PARAM_SEARCH) String search,
67
			@WebParam(name = PARAM_REPLACE) String replace,
69
			@WebParam(name = PARAM_REPLACE) String replace,
68
			@WebParam(name = PARAM_FLAGS) String flags) throws XServicesFault;
70
			@WebParam(name = PARAM_FLAGS) String flags) throws XServicesFault;
Line -... Line 71...
-
 
71
	
-
 
72
	@WebMethod(operationName=OPERATION_MATCHREGEX)
-
 
73
	@WSDLDocumentation(value="Match text based data")
-
 
74
	public abstract StringMatchType matchRegEx(
-
 
75
			@WebParam(name = PARAM_STRING) String res,
-
 
76
			@WebParam(name = PARAM_SEARCH) String search,
-
 
77
			@WebParam(name = PARAM_FLAGS) String flags) throws XServicesFault;
Line 69... Line 78...
69
	
78