Skip to Content
avatar image
Former Member

WebService

Hi all,

Can anyone tell me how to create a webservice in XI and how to Expose it?Hav a rigid timeline.Will appreciate any help.

Thnx in Advance,

Anil Kumar Veepuri

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Oct 18, 2005 at 02:09 PM

    Hi Anil

    Have a look at this weblog,

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

    cheers

    Sameer

    Hope this helps you

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 19, 2005 at 04:10 AM

    Hi Anil,

    First create your Scenario in the Integration Directory, then Go to Configuration Tool->define web service. WSDL for your scenario is created and you can expose it.

    Go thru this thread:

    new-to-xi-pls-pls-help

    Hope this will be helpful.

    Regards

    Suraj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 19, 2005 at 05:07 AM

    Hi Anil,

    Look through these blogs:

    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services(Xi exposed webservices)

    /people/sriram.vasudevan3/blog/2005/03/18/points-to-ponder-over-while-considering-webservices-implementations-vis-a-vis-eai(web service implmentation)

    /people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies(commn between sap and web sevices using proxies)

    and

    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

    Regards,

    Priyanka

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi All,

      All the blogs were providing the info in an abstract way. Can anyone help me out in Creating a WebService in XI in detail.An example scenario wud really help me out. If not some detail info wud do.

      Thnx in Adv

      Anil

  • avatar image
    Former Member
    Oct 19, 2005 at 08:13 PM

    Hi Anil,

    You have not mentioned clearly what exactly your scenario is. if it is

    1) webservice(from X application)--> XI --> R/3

    2) R/3 --> XI -->webservice(to X application)

    3) webservice -> XI -> webservice

    in which ever case you would define all your interfaces, mappings in IR and appropriate channels/ adapters/ agreements in ID.

    Only (for the cases of sender webservice, you are expected to give the wsdl files, which is as below)

    When you want to inform the other parties that you are done with your set-up for webservice, you can give them the wsdl by this way

    In ID, in Tools tab there is 'define webservice' , click that option and the rest is self explainable (wizard) which takes in certain input like sender IF, party, NS etc.... and finally ends up creating a WSDL. This can be exposed to the outside party, with that they can hit your XI as a webservice server.

    during the process, you may need to give the url for your XI server which would act as webservice server, the way to build the same is provided in Soap adapter documentation of sap help. (http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel)

    For receiver webservice, you normally call the url provided by the third party & get your response back.

    Hope this helps to fix your issue.

    Regards

    Vishnu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi anil,

      You can test your WebSrv using XMLSPY. Create a SOAP Request from your WSDL and send it to the XI server. Like this you will be able to know whether you WebSrv is working or not...

      Regards

      Suraj