Skip to Content

SOAP to RFC scenario

Hello SAP Gurus,

I have SOAP to RFC scenario and i have a situation where the client is not giving me the WSDL file .

And they have given the source structure in an excel sheet based on which i have created the source XML file.

But the real problem is to know the URL. This is my first SOAP scenario, so i don't know if they will give me the URL or i have to tell them the URL ?

Also, do we share our system details with them to have the connectivity between us or no need ?

shall i ask them PORT and sever address which is needed in Sender SOAP channel or will they share the certificates with me .

Regards,

Ravi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

7 Answers

  • Best Answer
    Jan 09, 2012 at 12:57 AM

    You need to understand how the soap sender scenario works... Your scenario is soap to rfc. That means you host webservice using soap sender adapter. You create WSDL from the sender agreement and share it to the client. Basically you host webservice and you let your customer to consume your webservice. The customer creates webservice client code using your wsdl and send the request to soap sender. you map the soap request from the client to the backend. so your outbound service interface is soap request structure and inbound request structure is RFC. This way you send the request of your client to SAP backend system using PI. Hope that helps. Your WSDL provides URL to connect PI . This will be used by your customer or client to connect PI and pushing webservice request.

    refer sdn for soap scenarios and also this[ link|http://www.riyaz.net/sap/xipi-a-guide-to-using-sap-xi-soap-adapter/113/] too..

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Bhaskar Gopal,

      For SOAP to RFC scenario, when we create this URL and give to customer, do the customer needs any username-password to connect to us ?

      Your urgent response would be appreciated

      Regards,

      Ravi

      Edited by: Ravi Maheshwari on Jan 11, 2012 5:15 PM

  • Jan 09, 2012 at 09:43 AM

    Hi Ravi,

    In case of SOAP to RFC scenarios (in general when using SOAP sender adapter) it is your duty, as PI developer, to deliver the WSDL file to the client, as PI is the web service server in this case. So you just have to develop the data type, message type and service interface as agreed, according to the excel sheet you received, then prepare other PI objects as needed. Finally, you right-click on the Sender Agreement in Integration Directory, choose "Display WSDL", save the .wsdl file and give it to the client. In this .wsdl file, they will find all the details to consume the web service you created in PI.

    Hope this helps,

    Grzegorz

    Add comment
    10|10000 characters needed characters exceeded

    • >Thanks for your answers, but could you also tell me that while there is a response back from RFC to Soap, so in that case, do we have to give our IP address with them , so that they maintain it at there level or do we share public or private key, or we do not do any settings ?

      If you are doing synchronous scenario, then the same connection is being used for the response from RFC to SOAP. You just need to provide WSDL from sender agreement. This will have target URL for your client to consume your webservice that is hosted on the soap adapter. YOu dont need to provide your ip address. If you do https communication over ssl, then you have to share your PI certificate to the customer. Similarly you might have to maintain the client certificate in your pi keystore using strust transaction code in abap stack or in java stack.

  • Jan 09, 2012 at 04:10 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2012 at 11:51 PM

    Hi Ravi,

    Refer this blog:

    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7729

    Also since this is a basic scenario you can search in SDN and you will get more help

    Regards

    Suraj

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 10, 2012 at 03:13 PM

    Hi Ravi,

    The response is automatically passed by PI to the web service caller, with no additional settings other than mapping of that message if it is necessary.

    Hope this helps,

    Grzegorz

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Gregorz,

      Last time i have created the URL through the sender agreement for my integration client testing.

      This URL was tested while we were within the network .

      However , now the URL needs to be created which the customer would ping from outside the client network. So will the same process works in case csutomer wants to invoke the service from outside the network.

      Regards,

      Ravi

  • Jan 11, 2012 at 05:14 PM

    Hi Ravi,

    Yes you do need to deliver a username and password to your web service consumer. It can be the technical user xiappluser for instance. Try searching for some more information using the "xiappluser" keyword. You can also find some interesting details in [this document|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79].

    Hope this solves your problem,

    Grzegorz

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 10, 2012 at 02:05 AM
    Add comment
    10|10000 characters needed characters exceeded

    • Thanks so much Raja. But is there any other way. Bcoz, when i try to connect to service registry , i think the configuration is not done and so it is not able to publish in SR.

      Also please let me know that after providing this URL, do i have to provide any username and password , or port , or any IP Address to customer ?

      Regards,

      Ravi