cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice creation for SAP XI/PI Scenarios

Former Member
0 Kudos

Hi,

How can I develop A simple Webservice for any scenario, for example, if am doing File to file copy scenario,So I want to develop a Webservice for the same scenario,

I want to develop webservices for the entire Scenario, for this I am Using Microsoft Visual Studio.

I Shall Create a Form/Page for UI to select the source file, and when I trigger the Copy button, the service should execute the backend SAP XI Scenario and the file should get copied.

How should i proceed to develop the Webservice?

Regards,

Varun

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

What I understood from your question is that you want to build a webservice to copy a file to XI server using a UI developed in .Net.

If that's correct, then you can create the webservice in .net itself and mention the file path to copy thefile.

If notandyour requirement is to have aservice developed in XI Server( ABAP ) and call the service from.NET then procedd as below.

1) Create model in ESR

2)Generate seerver proxy using TCODE SPROXY

3) Implement the code in ABAP for file copy.

or

1) Develop a function module to perform filecopy

2) Expose as a webservice using the wizard available.

4) Publish the webservice using SOAMANAGER or WSCONFIG / WSADMIN

5) Consume the service from .NET.

Thanks,

Abdul Raheem S