web stats
Mirth Community - View Single Post - Web Service Method and Parameters Detection in a JavaScript Transformer
View Single Post
  #2  
Old 11-21-2012, 01:53 AM
mlizana mlizana is offline
Mirth Newb
 
Join Date: Jun 2011
Location: Mataró (Barcelona)
Posts: 24
mlizana is on a distinguished road
Default

The first attempt to solve the problem that works is to put the ID of the method inside the message...

Code:
	
@WebMethod
public String method1(String message) {
        return webServiceMessageReceiver.processData("<message><method>METHOD1</method>"+message+"</message>");
}
With this, I can identify which method is called in the web service... but I think it's not the better solution... any ideas?
Reply With Quote