cancel
Showing results for 
Search instead for 
Did you mean: 

web service to File scenario

Former Member
0 Kudos

hello experts

I would like to know how to configure WS to File Scenario.

(if possible all the steps will be appreciated)

thanks

Kfir

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

follow the blog...

Thanks,

Madhu

Former Member
0 Kudos

sorry, but this does not explain how to develop the WS and to configure it to be in the file

Answers (3)

Answers (3)

aashish_sinha
Active Contributor
0 Kudos

Hi,

these 3 documents should explain it all,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f22...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873...

Also check these blogs

Testing XI exposed Web-Services

Invoke Webservices using SAPXI

Regards

Aashish Sinha

PS : reward points if helpful

Edited by: Aashish Sinha on Jul 1, 2008 9:49 AM

former_member537867
Active Contributor
0 Kudos

Hi kfir goldwasser,

Here is a scenario i'm explaining webservices(SOAP) to file scenario step by step:

SENDER SOAP ADAPTER: The sender SOAP adapter is basically used to send content from remote clients or Web service servers to the XI.

To do the end to end scenario let us consider a simple scenario

IR:

1. source data type

2.target data type

3.MT for Both

4.Message interface for both

5.message mapping

6.interface mapping

ID:

1)Define Serder Comunication channel type SOAP.

in DEFAULT XI PARAMETER you must put Message interface and Namespace of serder structure defined in IR

2) Define Receiver Communication channel.

3)define Receiver Determination

3)define Interface Determination

4)Define Sender agreement

5) Define Receiver Agreemen.

6)Active your changes.

DEFINE WEB SERVICE:

7)go to tool>enviroment>define Web services and put this string

http://<Host>:<Port>/XISOAPAdapter/MessageServlet?channel=:<Bussines_System>:<Communication Channel>.

Example: http://srv-xi01-adm:50000/XISOAPAdapter/MessageServlet?channel=:SCR_D:scr_d_soap_customer_sender

8)next step select MI of list

9)en next step you must define your sender BS and Message Interface.

10) Save Web service.

Test ur service with for example XML-Spy

Steps to make a request using the XML SPY:

1. Open the XML SPY, in the menu go to SOAP  Create new SOAP request

2.it will open a new window you will provide the path wsdl file that you have recently save .

3.Click on OK button a new window will be opened which shows the SOAP request

4.In the menu choose SOAP  Send request to server

5.Asynchronous Request: If your request is successful you will receive a SOAP response which will be empty response in an asynchronous request .

to configure file receiver adapter take in mind these blogs

For webservice to file scenario:

Plz Do check the following blog:

In your case, receiver is file.. so you need to create Message Interface etc for the file output..

Also refer this document to understand the steps-

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a2202...

For SOAP see below links

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f22...

An Overview of SOAP

http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a2202...

Regards,

Vinod.

Edited by: Vinod Reddy on Jul 1, 2008 9:46 AM

Former Member
0 Kudos

HI

The term Web services describes a standardized way of integrating Web-based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbone. XML is used to tag the data, SOAP is used to transfer the data, WSDL is used for describing the services available and UDDI is used for listing what services are available.

Web services allow different applications from different sources to communicate with each other without time-consuming custom coding, and because all communication is in XML, Web services are not tied to any one operating system or programming language. For example, Java can talk with Perl, Windows applications can talk with UNIX applications.

Web services do not require the use of browsers or HTML.

Web services are sometimes called application services.

how to create webservices

cheers