cancel
Showing results for 
Search instead for 
Did you mean: 

Call XI by MI Client

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Jo,

Unfortunable there is a process on our application (Generic Sync) that need to have a high performance. MI Client on WM dosen't attends and we are studing possibilities.

So we can't ask to MI Middleware to call WS.

Thanks for your help.

Regards,

Bruno

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.