Application Platform 10.3 | Application Platform API | Invoking IS Services in Web Applications | Invoking IS Services from Servlets
 
Invoking IS Services from Servlets
You can use the Integration Server API to invoke IS service instances from the source code of your web applications. For example:
import com.wm.app.b2b.server.*;
import javax.servlet.*;

try{

InvokeState invokeState = InvokeState.getCurrentState();
if ( invokeState == null) {
InvokeState.setCurrentState(InvokeState.create( ));
}
IData idata = Service.doInvoke( "pub.string", "concat", idata );

}catch( Throwable t){
throw new ServletException(t);
}
Note:
This way of invoking IS services is not recommended, as it uses the Integration Server API directly and it might require additional updates to your applications when you upgrade to higher Software AG product versions.