Hi all ,
I need to call a service of another IS service thru java service.
We have clinet.http built in service , but i need that in java services.
I searched so much in java APIs , but unable to find anything related to my req.
Suggest me how to do that or code ?
Its an urgent .
you can call any service from java service. This will be achived by using method Service.doInvoke(…). Please do search again in this forum with “doInvoke”, you will find many useful posts.
When you want to invoke service which is available in another IS, you can use “pub.remote:invoke” service and provide service name as input to this service.
So inside doInvoke, call “pub.remote:invoke” service, and pass the arguments as service name which is available in the other IS.
For more info refer “7-1_Integration_Server_Built-In_Services_Reference.pdf”
Hi,
In your java service you can use ‘Context’ class and invoke the method ‘connect’ for connecting to your remote server and then use ‘invoke’ method for invoking service on remote server.
Hope this will help.