cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP to RFC scenario

former_member190358
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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..

former_member190358
Participant
0 Kudos

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

Answers (6)

Answers (6)

rajasekhar_reddy14
Active Contributor
0 Kudos
former_member190358
Participant
0 Kudos

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

former_member184681
Active Contributor
0 Kudos

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

former_member190358
Participant
0 Kudos

Hello,

Mine is SOAP to RFC synchronous scenario.

I have generated the URL from sender agreement and given the URL to customer and now when they tried to access this, first they got " HTTP 200 OK " , which was ok.

But later they got the error when they tried to send the data. " HTTP : 500 Internal Server Errors"

Am i missing any configuration in SM59 or in SLD that needs to be done?

I have not done any configuration yet in SM59 or SLD.

Regards, Ravi

former_member184681
Active Contributor
0 Kudos

Dear Ravi,

Please check RWB for further details about the error. Without a precise error description it will be difficult to solve the error or even find help.

Regards,

Greg

former_member190358
Participant
0 Kudos

Hello Grzeog,

I am not able t o find the communication channel in RWB. strange... check in ON.

Regards, Ravi

former_member184681
Active Contributor
0 Kudos

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

former_member190358
Participant
0 Kudos

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

former_member184681
Active Contributor
0 Kudos

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

former_member190358
Participant
0 Kudos

Hello ,

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 ?

Many thanks in advance.

Regards,

Ravi

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>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.

rajasekhar_reddy14
Active Contributor
0 Kudos
former_member187339
Active Contributor
0 Kudos

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