cancel
Showing results for 
Search instead for 
Did you mean: 

Web services

Former Member
0 Kudos

All,

I come across a requirement to perform search in SAP based on some action in legacy system. In detail,when user specify material as MA* and clicks on search button in legacy system, search require to be carried out in SAP ECC system against above specified criteria and results should be sent back to legacy system to view material starts with MA*.

As I am new to web services, Below is very high level design along with dobuts. Can any one throw some light on the design and dobuts?

1. Create RFC eanbaled FM in ECC to accept material and return all materials.

2. Create a web service, generate WSDL and publish it.

3. Inform legacy team about created web service.

In nutshell, Legacy program calls web service created in SAP to get search results. Is this correct design approach? Any suggestionu2026.

What's the design going to be in case we have XI system? What's pros and cons of using XI for this requirement? All inputs/thoughts in this regard appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thank you Poojau2026I do have a follow up question on suggested options with XI as a middleware.

SOAP-XI-Proxy option, I understood that web service to be created based on XI Message interface and generate WSDL for created web service and provide WSDL to legacy team to call. In the client proxy (inbound to SAP system), implement business processing logic (in this case, search all materials based on search criteria) and send the data back to XI through server proxy. Question is how to send response from XI to legacy system?

Do you see any pros/cons to implement ABAP web service instead of XI?

Former Member
0 Kudos

Hi Anil,

You have to create a Outbound-Synchrnous Message interface for your webservice; in which you will provide the request and as well as the response data structure.

Thx,

Pooja Pandey

Former Member
0 Kudos

Hi,

Make your service as synchronous with out parameter, give the wsdl and ask the legacy system to invoke this webservice synchronously. In this way they will get response.

one more thing: Client proxy is used to send send data to XI and Server proxy is used to receive data from XI. You have mentioned otherways.

As you want to use Cleint and Server Proxy both (at your end system) you need to use BPM with Sync-Async bridge.

Amit

Former Member
0 Kudos

To answer your question : Do you see any pros/cons to implement ABAP web service instead of XI?

In your case, you can definitely avoid using XI and directly create an RFC and expose it as a web service.

XI basically provides you a central location to monitor and mange all interfaces.

Thanks,

Pooja Pandey

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you all......

Former Member
0 Kudos

Hi Anil,

In you case you can go via the option of SOAP-XI-Proxy or SOAP-XI-RFC. Performance point of view, first option is better over the later one.

In the simple form, for the SOAP sender, you have to create a webservice based on an XI Message interface; generate a WSDL for that and provide the WSDL to the legacy team.

On the receiving end :

You have to create a server proxy on the SAP ECC end which will pull the data based on the search criteria and will return back the data back to XI.

In the second option, you have to create an RFC for fetching the data from the SAP database.

Let us know, if you need some more details.

Thanks,

Pooja Pandey

Edited by: Pooja Pandey on Jan 21, 2009 2:56 PM