cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice to RFC

former_member238007
Contributor
0 Kudos

Hi Experts,

New to Webservices ..

We have a requirement like this..

Client is having webpage where around 30 fields were defined in the form and needs to updated in ECC,

So Using PI need to integrate the thirdparty tool with the sap ecc, here when the user submits the form the fields in the form should be posted to ECC.

So here i can use soap adapter as sender.

What are all the configurations and ports needs to be opened to have a connection in between SAP PI to thirdparty tool.

Thanks,

--KK

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi KK,

First please check with Basis team and find if all the port are open for 3rd part tools

You can go to tx SMICM >GoTo>Services and see if both HTTP and HTTPS port are assigned with green check mark that indicates you should use those port for communication over SSL ie HTTPS

Check if this is the first soap sender interface or if any thing already existing use the same service port

Configuration:

1)Import RFC in ESR and if you have wsdl or xsd for web service you can import it directly as External definition,if not manually create data types and message types for all the fields

Create Service Interface, Mapping, Operation Mapping >test Operation mapping, if successful go to ID

2)Integration builder develop all the steps like communication channel, collaboration agreements , interface & receiver determination

3) go to sender agreement and click display wsdl> save it to desktop

4) create a project in soap ui and import the wsdl and give all the values to mandatory fields 1:1 and test it and check MONI or RWB cc for logs OR you can use micro soft info path for testing

nabendu_sen
Active Contributor
0 Kudos
Former Member
0 Kudos

Hello KK,

I believe this is SOAP to proxy scenario. In order to implement it in PI, you need to perform the following activities in the order -

1. Get the SOAP message structuren details from third party & create appropriate Date type, message type & service interface.

2. In the configuration part, you need to createfirst  a sender SOAP channel. Post this create a Sender agreement.

3. In ID, go to Tools -> Display WSDL. It would open a wizard. Enter the value of webserver in the format - http://<host name>:<port name>/XISOAPAdapter/MessageServlet?channel=<party name>:<service name>:<channel name>.

    Post it enter Service interface name & namespace. Copy the WSDL & provide it to third party.

Hope this would help in solving the issue.

Regards,

Ashish

iaki_vila
Active Contributor
0 Kudos

Hi Kishore,

You also could use a SOAP to ABAP proxy scenario.

To the receiver, check this Dzmitry Novik's  wiki only in the receiver side: http://wiki.sdn.sap.com/wiki/display/XI/Step-by-step+FTP+to+ABAP+Proxy

Now the choice moment comes.

1. Sender SOAP or sender HTTP?

WIth the SOAP protocol you have more facilities to deal with XMLs and it works on the application layer, in my opinion is the best choice for a communication better structured.

2. Receiver RFC or ABAP proxy?

This answer is more complicate because depends of various points. Do you a standard BAPI or an RFC yet developed?, use RFC to save time. Do you have a SAP PI 7.1?, you could use the RFC and use the ICO object to improve the througput. Do you have SAP PI 7.3? in this version, i think you could use the ICO object with abap proxy and the abap proxy is a more standard and reliable communication than RFC, use abap proxy. Don't you have an RFC in the receiver side yet developed? in the most cases is better the abap proxy,

Regards.

Former Member
0 Kudos

Hi Kishor,

You may also use HTTP post in this case.

HTTP to RFC scenario

Regards,

Beena.