Skip to Content
avatar image
Former Member

webservice -> XI -> SAP(BAPI)

hi

i have one scenario using webservice, in this one i will post some input through webservice to BAPI which is in sap R/3 , and bapi output to publish using webservice, i have no idea of webservice, or how to use webservice in this scenario. Could you please help me in doing this one.

Regards

Pradeep P N

null

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Mar 14, 2007 at 04:48 AM

    Hi,

    Can you give some clarifications?

    Are you intending to call an External Webservice from XI or is it that you need to expose an interface in XI as a webservice so that an external application can send data to XI.

    The design of your interface depends on this particular requirement.

    DO you need to invoke a Webservice from XI or ,.

    Do you need to create a webservice / expose a interface as a webservice so that an external appliaction can start the call to XI?

    Regards

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      Got the requirement finally 😉

      Before giving the solution, what you are now trying to do is what in XI terminology is called , <b>"Expose an Outbound Interface as a Webservice in XI"</b>.

      <b>Integration Repository</b>

      Follow this blog HTTP - RFC and create all the Integration Repsoitory content as shown in this blog,

      <a href="/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit">HTTP to RFC - A Starter Kit</a>

      <b>Integration Directory</b>

      This will be similar to a HTTP RFC , with just 2 added steps,

      1. Create a Sender SOAP adapter and a Sender Agreement for the same.

      2. Define a WSDL.

      1 , is quite simple and is like any other SOAP adapter and Agreement.

      2. To define the WSDL, look into section 3,,.2.2 of this document,

      How" target="_blank">www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79">How to use SOAP Adapter.

      Regards

      Bhavesh

  • avatar image
    Former Member
    Mar 14, 2007 at 05:43 AM

    Hi

    see the below links

    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

    /people/sap.user72/blog/2006/03/05/sendsimulate-xi-message-from-external-world

    Consuming XI Web Services using Web Dynpro – Part II-/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii

    Consuming XI Web Services using Web Dynpro – Part I -/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i

    Regards

    Chilla

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 14, 2007 at 06:18 AM

    Hi pradeep,

    As your problem I understood that your are giving some input to BAPI function module and you want out put (i.e respnse ) in webserive.

    Fot that you create message interface( request and responce) as syncronous.

    You give me your mail id I will send one form (webservice). In that form you put your interfaces and your input xml file. Then it will show the output in the webservice form which is picked form Bapi function module.

    regards

    manoj

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 14, 2007 at 06:21 AM

    Hi,

    Your scenario would be a synchronous SOAP to RFC scenario.

    You will need to configure a sender SOAP adapter and a receiver RFC adapter, sync call. Use the wsdl given by the webservice or an XSD which will be used by the sender system to send the request on the outbound side, and the RFC in the inbound side, Once this is done, for your outbound sync interface define a webservice, this is to be done in the Integration directory. Use this WSDL to send the request into SAP through XI from the source system, since it is a sync call the corresponding response is sent back from the RFC.

    To configure the SOAP adapter and to define webservice for the message interface, see this how to guide.

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79

    Regards,

    Chandra

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 14, 2007 at 06:32 AM

    Hi,

    Please see the suitable blog

    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

    Also see some links

    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

    /people/piers.harding/blog/2004/07/18/you-dont-need-to-use-soap-to-keep-your-rpc-clean

    /people/david.halitsky/blog/2006/08/25/soa-vs-rfc-it-doesnt-have-to-be-charles-bronson-vs-henry-fonda

    /people/himadri.chakraborty2/blog/2006/12/14/achieving-asbo-gbo-asbo-scenario-using-soap-adapter

    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

    /people/rahul.nawale2/blog/2006/05/31/how-to-use-client-authentication-with-soap-adapter

    Regards

    Chilla

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      see one message mapping request and message mapping for response

      after that in Interface mapping use the Request tab - select the request mapping and select the response tab and select the response mapping

      i hope it is clear.

      see the below blog , exactly suitable

      /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

      Regards

      Chilla