web stats
Mirth Community - View Single Post - Custom response in Webservice Listener
View Single Post
  #4  
Old 10-17-2014, 07:05 AM
beverlys beverlys is offline
Mirth Employee
 
Join Date: Dec 2012
Posts: 2
beverlys is on a distinguished road
Default

mgorrizm,

It looks like you need to set messageOut's value to something. For instance:

@WebMethod(operationName = "S044")
public String S044(@WebParam(mode=Mode.IN,name="MesIn",targetNam espace="http://MGM.Servicios/") String messageIn,@WebParam(mode=Mode.OUT,name="MesOut",ta rgetNamespace="http://MGM.Servicios/") Holder<String> messageOut) {
messageOut.value = messageIn.toString();
return webServiceMessageReceiver.processData(messageIn.to String());
}


Please see http://tomee.apache.org/examples-tru...er/README.html for more info.
Reply With Quote