Calling BAPIbs from business connector through Web Services

How to call a BAPI ( both synchronous through RFC and Asynchronous through ALE/EDI ) by writing web services…

There are examples at:
http://advantage.webmethods.com/cgi-bin/advantage/main.jsp?w=0&s=3213019977&targChanId=-536882418