web stats
Mirth Community - View Single Post - custom web service listener source
View Single Post
Old 05-04-2015, 10:27 AM
tmcdevitt tmcdevitt is offline
OBX.3 Kenobi
Join Date: Oct 2014
Posts: 125
tmcdevitt is on a distinguished road

Sorry I am using Mirth below is the class, I am want to call AvaibleOrder WebMethod. The resource is set for the default resource. directory is custom-lib and the loaded libraries are listed. I also checked the channel library resources are set for the default resource. Below is the class did I not create the jar correct?

package com.custom.webservice;

import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import java.util.ArrayList;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

import com.mirth.connect.connectors.ws.AcceptMessage;
import com.mirth.connect.connectors.ws.WebServiceReceiver ;

public class CustomAcceptMessage extends AcceptMessage {

public CustomAcceptMessage(WebServiceReceiver webServiceReceiver){

@WebMethod(operationName = "hello")
public String hello(@WebParam(name = "name") String txt) {
return "dHello " + txt + " !";
@WebMethod(operationName = "CheckOrders")
public String AvaibleOrder(@WebParam(name = "OrderID")Integer OrderID,@WebParam(name = "ArrDoc")ArrayList ArrDoc){
return "S";


Last edited by tmcdevitt; 05-04-2015 at 10:47 AM.
Reply With Quote