Most of the time, we issue the following to find needle in the haystack:
grep needle file.txt
This prints out the matching pattern. If the output is way too long and we only need a section of it, we can use the extended grep (a.k.a. egrep) option.
Random thoughts on Linux, Java, security and other technical stuff...
grep needle file.txt
package com.techtots.services;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlElement;
import com.techtots.contracts.UserRegisterRequest;
import com.techtots.contracts.UserRegisterResponse;
@WebService
public interface UserService {
@WebMethod
@WebResult(name = "userRegisterResponse")
public @XmlElement(required = true, nillable = false) UserRegisterResponse registerUser(
@XmlElement(required = true, nillable = false)
@WebParam(name = "userRegisterRequest")
UserRegisterRequest userRegisterRequest);
}
org.apache.cxf cxf-rt-frontend-jaxws 3.1.6 org.apache.cxf cxf-rt-transports-http 3.1.6
Header always set Access-Control-Allow-Origin "*" Header always set Access-Control-Allow-Methods "GET, POST, OPTIONS" Header always set Access-Control-Allow-Headers "accept, content-type" Header always set Access-Control-Allow-Credentials "true"
RewriteEngine On
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule ^(.*)$ $1 [R=200,L,E=HTTP_ORIGIN:%{HTTP:ORIGIN}]]