

package gov.va.med.mediator.client.messagemediator;


import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;


@WebService( name = "MessageMediatorInterface", targetNamespace = "http://messagemediator.client.mediator.URL       " )
@SOAPBinding( style = Style.RPC, use = Use.LITERAL )
public interface MessageMediatorInterface
{
    public static final String PROP_PERSIST_ORIGINAL = "persistOriginalMessage";


    @WebMethod( operationName = "isAlive" )
    @RequestWrapper( className = "java.lang.String" )
    @ResponseWrapper( className = "java.lang.Boolean" )
    @WebResult( name = "out" )
    boolean isAlive( );


    @WebMethod( operationName = "processMessage" )
    @RequestWrapper( className = "java.lang.String" )
    @ResponseWrapper( className = "java.lang.String" )
    public @WebResult( name = "out" )
    String processMessage( @WebParam( name = "in0" )
    String hl7MessageRequest );


    @WebMethod( operationName = "processMessage1" )
    @RequestWrapper( className = "java.lang.String" )
    @ResponseWrapper( className = "java.lang.String" )
    public @WebResult( name = "out" )
    String processMessage( @WebParam( name = "in0" )
    String hl7MessageRequest, @WebParam( name = "in1" )
    Boolean persistOriginalMessage );
}
