on 07-06-2017 8:25 AM
Hi All
Need to create a Job Scheduler on the JAVA Stack which will access a local Database and consume a Web Service provided by PI. This is the approach I am thinking will work
1) Create EJB project which will have a Message Driven Bean , and implement the onJob() method
2) The onJob() method will invoke the Web Service via Java client Proxies
3) The EJB will invoke the WS using Service Group and Service Provider
Can I invoke the WS from a Message Bean, or it has to be a Session Bean? If the later, how do we link both these parts?
Any input will be helpful
Thanks
One might invoke a Web Service in a Message Bean. I think your scenario is closer to this one:
https://blogs.sap.com/2013/08/31/now-schedule-your-nw-business-process-in-nwa-job-scheduler/
The only difference is that the Web Service will not trigger a BPM process. Actually I am not certain what will be the task of your Web Service. It is not very clear to me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sandip,
I have not tried with a WebService calling the ABAP backend, but I believe it should work as well (point 9 and 10).
The difference here is that you need to make sure there is defined Provider of this Service Group and you need to activate this provider. In the Provider you will define the WSDL that calls the Web Service on the AS ABAP.
When you have done this you need to import the WSDL in the NWDS. This should work.
I would suggest you first to try this scenario with HTTP and then to switch to HTTPS if you do intend to use HTTPS for the web service call communication.
Best Regards,
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.