Package jsr181.jaxb.auth

Source Code of jsr181.jaxb.auth.AuthServiceCustomImpl

package jsr181.jaxb.auth;

import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.ParameterStyle;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;

import xfire.authenticate.fault.AuthenticationFault;

@WebService(serviceName = "AuthService", targetNamespace = "urn:xfire:auth-fault", endpointInterface = "jsr181.jaxb.auth.AuthServicePortType")
@SOAPBinding(style = Style.DOCUMENT, use = Use.LITERAL, parameterStyle = ParameterStyle.WRAPPED)
public class AuthServiceCustomImpl
    implements AuthServicePortType
{


    public String authenticate(String in0, String in1)
        throws jsr181.jaxb.auth.AuthenticationFault
    {
        AuthenticationFault fault = new AuthenticationFault();
        fault.setErrorCode(1);
       
        throw new jsr181.jaxb.auth.AuthenticationFault("Fault!", fault);
    }

}
TOP

Related Classes of jsr181.jaxb.auth.AuthServiceCustomImpl

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.