on 08-15-2007 2:35 PM
Hi,
We would like to know how the best way to call XI by MI Client.
We thought to create a Web Service on XI and MI Client call this Web Service using AJAX .
Is there any bad point to do that? If no, this is a good way to do the comunication or there is another?
Thanks
Bruno
hi bruno,
MI is an offline solution while WS is basically an online one. If you will be
exchanging data with the web service directly for an MI client and storing your
data locally, you will need to implement some data synchronization mechanism
in your app especially if you have many mobile clients manipulating the same
set of data. you can make use of the MI middleware's synchronization functionality
and invoke your WS from your BAPIs mapped to your SyncBOs. (this is the one
which the other guys had suggested.)
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bruno ,
Another work around can be this:
1. Create an ABAP Routine on MI Middleware which can be called by an XI Interface to put some Data into some MI Tables on Middleware.
2.These MI tables can be cretaed on Middleware specific to your requirements.
3. There after Normal smartsync application can be built with middleware as the RFC destination for Get List and Get Detail and other BapiWrappers.
It can be scheduled in XI to keep updating the MI tables on Middleware on timely basis.
I have tried this and it worked . My requirement was to access data from a Non SAP system.
Cheers,
Mohan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishnamohan,
We got call a Web Service on XI from MI Client. We used AJAX.
We tested on Windows Desktop, WM 2003 and WM 5.0.
On Windows Desktop and WM 5.0 work fine, but on WM 2003 doesn't, occours a error: Access is Denied.
The error occurs in this line:
xmlHttpReq.open("POST", url ,true);
If you have some idea to solve this problem, please tell me.
Thanks,
Bruno
Hi Bruno,
Recently I came a interesting blog, a 5 parts series, which talks about how to mobilise non-SAP application using SAP MI and Webserives. You can see that at https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6606. [original link is broken] [original link is broken] [original link is broken]
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You could certainly do it. You have to think of all implications also like connectivity issues, firewall, proxies or any other problems of not going throught the MI middleware.
If you want to expose only the MI middleware, you cn think of a redirection scenario where the middleware communicate with the XI server upon request from the client.
In anyway, you will have to handle most stuff yourself. Not sure that AJAX is the way to go (ou could also have the java code of your app directly call the webservice and provide the data to your application UI layer).
Thank you,
Julien.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
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.