Skip to Content
avatar image
Former Member

Webservices

I have a situation to integrate Java application(third party) to R3 using SAPXI.Client is a Java Application they created a webservice and gave to us. Is this the way or SAPXI has to create Webservice and give to client(Java Application). I am totally confused here. I really appreciate for your advice.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 27, 2006 at 02:52 AM

    Vasu

    I think WSDL needs to be provided by application to clients which is consumed by application. If your Java application is consuming Webservices by the client(here SAPXI), If it is wrong please some one correct me.

    Regards,

    Kar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 26, 2006 at 01:18 AM

    Hi Vasu,

    If your java application is a web application, then you would need to create a webservice, and from that webservice, you can create a SOAP request to connect the java application to XI.

    cheers,

    Prashanth

    P.S Please mark helpful answers

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 26, 2006 at 01:29 AM

    vasu,

    if your scenario is Java <-> XI <-> R/3, and Java will access XI through a webservice, then you need to create an Outbound Synchronous interface and a Soap Adapter, to communicate to Java, and an Inbound Synchronous Interface and a RFC Adapter (RFC if you need synchronous communication to R/3; use IDOC if you only need asynchronous), to communicate to R/3.

    Regards,

    Henrique.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      From your java application you can create a SOAP request and configure XI with SOAP Sender. You can also check out for HTTP sync interface. Also look for the possibility of Java Proxy.

      Thanks,

      Prakash

  • avatar image
    Former Member
    Aug 26, 2006 at 10:29 AM

    Hi ,

    Check these links for reference..

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

    https://websmp208.sap-ag.de/~sapdownload/011000358700006944112005E/HowToDevlopWebserviceApp.pdf

    Also how to guide for web Services:

    https://websmp208.sap-ag.de/~sapdownload/011000358700004358262004E/HowToGuideWebService.pdf

    Sekhar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 26, 2006 at 12:53 PM

    This Java <-> XI <-> R/3(RFC) is synchronous senario, that means javaapplication posts webservice then XI takes using SOAP Adapter and sends to R3 using RFC adapter and sends back Success or Fail string to Java Application. My question is Java guys already sent their wsdl, is their any way can I use this wsdl or do I need to ask them to use my wsdl(generated by SAPXI). I am confused I really thankfull for your value advice.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi ,

      I mean that URL should be included in WSDL file while generating WSDL from XI.Use that WSDL file to create webapplication

      Sekhar

  • avatar image
    Former Member
    Aug 26, 2006 at 04:36 PM

    Do any body please let me know the difference between client's wsdl and SAPXI generated wsdl's. Does't it make difference if client wants to create wsdls for this scenarios(java <-> SAPXI<->R3). I really appreciate for your valuable advice.

    Add comment
    10|10000 characters needed characters exceeded

    • vasu,

      you lack some concepts here.

      A WSDL (Web Service Description Language) file is provided by someone who offers a web service to clients that want to consume this service.

      So, if they had some application that you wanted to access, they had to give you a wsdl file which describes, with some code, what you need to do to access their service.

      But the case here is the contrary. They are the client that want to consume a service that R/3 is providing. However, XI will be a "bridge" between Java and R/3. So, for the Java application, XI works as the provider of the service. So, if they want to consume your service, you will need to give to them a WSDL file (XI's generated wsdl) which describes how they access your service.

      With this WSDL file, they need to create some code to implement a client application to consume the service. Some IDEs automatically create all the classes you need to communicate to the service (NWDS does that), and you access the remote application just as if you were reading some local variable.

      Regards,

      Henrique.