on 07-26-2006 8:12 AM
Hi,
I am a novice to MI. I have got a scenario where I need to invoke a XI interface once I sync my MI application. I have got the http URL and the XML msg which needs to be posted to this URL. I was wondering how I implement this on the server side.
I am not even sure whether I should stick to using the XI interface or create my own BAPI wrappers for the functionality I desire (this has been implemented using the XI interface).
Any kind of input on this will be helpful.
Thanks in advance.
Best Regards,
Nakul
Hi Nakul,
first you need to decide the Sync Type. MI offers Generic Sync and SMart Sync.
Generic Sync e.g. is just some kind of a Remote function call. Say, the client puts the input parameters as key - value parameters in the Sync container and names the FM. The FM is executed and the result is again put as key - value pairs into the return container.
In the FM you can do whatever abap is able to (e.g. Call XI...)
Smart Sync is a BO oriented Sync Framework. Here you need to obey the requirments (BAPIs.)
Rgds THomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello All,
I want to invoke the XI interface from the MI Server. I would like to know how to post an XML msg from the server side. Is there any way I can write Java code to call this interface?
Regards,
Nakul
Message was edited by: Nakul Rajurkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello nakul,
unfortunately, the MI server is on the ABAP stack. the
java stack is only used for synchronization and adminstration
console. MI doesn't have any java server-side APIs that
would let you invoke services on the java stack. you can
create a proxy in ABAP stack that will consume a web service
available from your XI.
regards
jo
hello nakul,
which XI interface you want to invoke? and which component
will be invoking it i.e. from the MI client or the MI server?
if you are to invoke an XI service on the ABAP stack, e.g.
RFC call etc... you have to create your BAPI that will call
it from the MI server. from the MI client, you can either
use the generic way of invoking BAPIs thru the GenericSync
layer.
comsuming http services like Web services from the client
is also possible. however, MI doesn't have an API to do this
yet so you really have to engineer this by yourself and
include it into your client application. however, also take
note the MI is an offline solution framework...
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.