Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.keycloak.example.ws;
 
 
 @WebService(serviceName = "PersonService", endpointInterface = "org.keycloak.example.ws.Person")
 public class PersonImpl implements Person {
 
     public void getPerson(Holder<StringpersonIdHolder<StringssnHolder<Stringname)
        throws UnknownPersonFault
    {
        if (personId.value == null || personId.value.length() == 0) {
            fault.setPersonId(personId.value);
            throw new UnknownPersonFault(null,fault);
        } else {
            name.value = "John Doe";
            ssn.value = "123-456-7890";
        }
    }
New to GrepCode? Check out our FAQ X