21,6 → 21,7 |
import javax.jws.WebService; |
|
import net.brutex.xservices.types.ReturnCode; |
import net.brutex.xservices.types.StringMatchType; |
import net.brutex.xservices.types.StringReplaceType; |
import net.brutex.xservices.types.TargetNodeType; |
import net.brutex.xservices.types.ant.AttachmentType; |
42,6 → 43,7 |
public static final String SERVICE_NAME = "StringService"; |
|
final String OPERATION_REPLACEREGEX = "replaceRegEx"; |
final String OPERATION_MATCHREGEX = "matchRegEx"; |
|
|
final static String PARAM_STRING = "string"; |
67,5 → 69,12 |
@WebParam(name = PARAM_REPLACE) String replace, |
@WebParam(name = PARAM_FLAGS) String flags) throws XServicesFault; |
|
@WebMethod(operationName=OPERATION_MATCHREGEX) |
@WSDLDocumentation(value="Match text based data") |
public abstract StringMatchType matchRegEx( |
@WebParam(name = PARAM_STRING) String res, |
@WebParam(name = PARAM_SEARCH) String search, |
@WebParam(name = PARAM_FLAGS) String flags) throws XServicesFault; |
|
|
} |