• No se han encontrado resultados

Argumentación, teorías y praxis en la escuela

2. Argumentación y escuela: el arte de la persuasión

2.1. De la oralidad a la argumentación

2.1.3. Argumentación, teorías y praxis en la escuela

Communication)

This section describes how to configure the Booking a Single Flight process integration scenario in the Proxy-to-Web Service Communication variant. In this variant, you configure the airline United Airlines (UA) (client 107) as Web service provider.

This demo example is implemented as the process integration scenario SingleFlightBooking. The process integration scenario is located in the Enterprise Services Repository, in the software component SAP BASIS, software component version SAP BASIS 7.40, in the namespace http://sap.com/xi/XI/Demo/Agency.

For the business description of the process integration scenario, see ‎5.2.1

In this variant, the airline United Airlines offers a Web service for the communication with the Integration Server.

The Web service definition is delivered with the demo examples.

To display the Web service definition, call transaction Object Navigator (SE80) in the SAP system. Select the package SAI_DEMO_AIRLINE and open the node Enterprise Services  Service Provider. The name of the Web service is SXIDAL_FBO_REQUEST.

To enable the Web service configuration, assign the role

SAP_BC_WEBSERVICE_ADMIN to the user XIDEMO in client 107.

To configure the Booking a Single Flight (Proxy-to-Web Service Communication) variant, you have to activate the Web service in the SAP system (see ‎7.4.1).

7.4.1 Activating Web Service

Apply the following additional settings in the SAP system (client 107):

1. Call transaction SOAMANAGER and choose Service Administration  Single Service Configuration.

2. Search by Services and the search pattern SXIDAL_FBO_REQUEST in field Both Names, choose Go.

3. Select the Web service definition SXIDAL_FBO_REQUEST. 4. Choose Apply Selection.

5. In the tab Configurations choose Create Service.

6. As Service Name set SXIDAL_FBO_REQUESTService, as Description use Book Single Flight. In field New Binding set SXIDAL_FBO_REQUESTSoapBinding and press Apply Settings.

7. The Web service configuration of Service definition: SXIDAL_FBO_REQUEST opens.

8. In tab Provider Security select Transport Channel Authentication – User ID/Password.

9. Choose Save

10. To specify the receiver communication channel for the airline, you need to know the Web service address. For this select the link Open WSDL document for selected binding in tab Overview of the service definition you just created.

The WSDL definition of the Web service is displayed. You have to use the WSDL URL later in the channel configuration.

WSDL URL looks like:

http(s)://<server>:<port>/sap/bc/srt/wsdl/srvc_<number>/wsd l11/allinone/ws_policy/document?sap-client=107

11. Store the WSDL address into a temporary storage (for example, a notepad file) for later use.

7.4.2 Configuration in Integration Directory

Settings in the Model Configurator

To accomplish the following configuration steps in the Integration Directory, proceed as described in detail in section ‎5.1.2. To configure the process integration scenario

SingleFlightBooking in the Proxy-to-Web Service Communication variant, use the settings as listed in the table below.

All configuration objects for this variant are saved in the same configuration scenario as used for the Proxy-to-Proxy variant

(XIDemo_SingleFlightBooking).

Settings for the Process Integration Scenario SingleFlightBooking (Proxy-to-Web Service Communication)

Configuration Step Settings Selecting the Process

Integration Scenario (Component View) and Creating the Scenario

Open the scenario XIDemo_SingleFlightBooking and call the model configurator (as described under ‎6.1.1).

Select the component view ABAP_Proxy_2_Web_Service.

If you have not configured the Single Flight Booking process integration scenario in the Proxy-to-Proxy Communication variant before, you first have to start the model configurator and create the configuration scenario XIDemo_SingleFlightBooking before you can proceed with the next configuration steps. For a detailed description of the procedure, see 5.1.2 under Selecting the Process integration scenario (Component View). Assigning

Communication Components

For the Agency application component

 Assign the business system component <SID>_105 (entry under Business System Components)

 Assign the party XIDemo_Agency and component SendSingleFlightBooking (entries under Business Components for External Communication)

For the Airline application component

 Assign the party XIDemo_UnitedAirlines and component BookSingleFlightAndConfirm (entries under Assign Business Components for B2B Communication)

Configuring the Connection

For the connection between the actions Sending Single Flight Booking Order and Book Single Flight And Confirm (sender/receiver relation: <SID>_105/ XIDemo_UnitedAirlines ) you have to specify a receiver communication channel (receiver communication component BookSingleFlightAndConfirm).

In this variant you specify the communication channel by creating a new channel on the basis of a communication channel template from the Enterprise Services Repository. To do this, proceed as follows: 1. In tab Connections from the Communication component

Assignment choose the dropdown menu for the push button New ( ).

2. In the dropdown menu select Create Communication Channel with Template.

A wizard for creating a communication channel on the basis of a communication channel template is started.

3. Choose Continue.

4. In the Select Template step, select the XIDemoChannel_WS communication channel template (software component version SAP BASIS 7.40, namespace

http://sap.com/xi/XI/Demo/Agency). 5. Choose Continue.

6. In the Create New Communication Channel step, confirm all entries by clicking Finish.

7. Click Close to close the Create New Communication Channel dialog box.

The system creates a communication channel with the name XIDemoChannel_WS.

For the connection between the actions Book Single Flight And Confirm and Process Order Confirmation (sender/receiver relation: < XIDemo_UnitedAirlines /<SID>_105) you have to specify the receiver communication channel GeneratedReceiverChannel_XI for

component <SID>_105.

For the connection between the actions Book Single Flight And Confirm and Process Order Confirmation (sender/receiver relation: < XIDemo_UnitedAirlines /<SID>_105) you also have to specify a sender communication channel (sender communication component BookSingleFlightAndConfirm).

In this variant you specify the sender communication channel by creating a new channel on the basis of a communication channel template from the Enterprise Services Repository. To do this, proceed as described above and create the channel

XIDemoChannel_WS_Sender using the Template

XIDemoChannel_WS_Sender from software component version SAP BASIS 7.40, namespace

http://sap.com/xi/XI/Demo/Agency.. Generating the

Configuration Objects

Manual Editing To define exactly how a message is to be forwarded from the travel agency to the airline, you have to change the routing condition in the receiver determination | <SID>_105 | BookingOrderRequest_Out. Delete the line containing party XIDemo_UnitedAirline and

communication component BookSingleFlightAndConfirm and change the receiver rule to XIDemoAirlineID_all_Book to be able to address now all airlines LH, AA and UA.

For a detailed description on how to make these settings with the generation log, see ‎5.1.2.

To determine the outbound processing of the message, you have to specify the receiver communication channel XIDemoChannel_WS. In the channel you have to change the following settings:

 In the field WSDL, access URL enter the URL you have found out before (see ‎7.4.1). (e.g. http://ls0045.wdf.sap.corp:50005/ /sap/bc/srt/wsdl/srvc_<number>/wsdl11/allinone/ws_policy/do cument?sap-client=107

 In the field Authentication Method for WSDL access select Basic Authentication over HTTP, set the user XIDEMO_WS with the password you set in chapter 4.1.4.

 In the Technical Transport Settings in field Target Host select the Service Information using the Input Help.

 The inputs in fields Service Name/Port and URL Access Path should be entered automatically when you select the Target Host.

In the receiver agreement you have to configure the user authentication. Open the receiver agreement | <SID>_105 | XIDemo_UnitedAirlines | BookSingleFlightAndConfirm |

FlightBookingOrderRequest_In. Under Adapter-Specifc Attributes enter user name and password.

 In the field User Name enter user XIDEMO_WS.

 In the field User Password enter the password set in chapter 4.1.5.

Manual Editing To determine the response processing of the message, you have to specify the sender communication channel

XIDemoChannel_WS_Sender. In the channel you have to change the following settings:

 In the field Target Host enter the host name of the Integration Server (e.g. ld8118).

 In the field Service Name/Port enter the HTTP port number of the Integration Server (e.g. 58000).

 In the field Target Client enter the client of the Integration Server (e.g. 001)

Final Steps Close the generation Log.

Close the model generator and choose Apply when asked for saving the changes.

Save the scenario XIDemo_SingleFlightBooking.

Activate the scenario XIDemo_SingleFlightBooking and all objects that it uses (follow the procedure as described in section ‎5.1.2. To configure the WS consumer you need to know the Web service address of the sender agreement in the Integration Server. For this open the sender agreement XIDemo_UnitedAirlines |

BookSingleFlightAndConfirm | FlightBookingOrderConfirmation_Out and open the WSDL using the menu Sender Agreement  Display WSDL.

The WSDL definition of the sender agreement is displayed. You have to use the WSDL URL later in the consumer Proxy configuration.

WSDL URL looks like:

http(s)://<server>:<port>/sap/bc/srt/wsdl /ifns_http177sap2com7xi7xi7demo7airline1O H7OO0/ifnm_flightbookingorderconfirmation 5outG82200O/swcv_<number>/chn_<number>/ag r_<number>/wsdl11/document/allinone/ws_po licy?sap-client=001

Store the WSDL address in a temporary storage (for example, a notepad file) for later use.

7.4.3 Activating Consumer Proxy for Asynchronous

Response

You must make the following additional settings in the SAP system (client 107):

1. Call transaction SOAMANAGER (SOA Manager) and choose Service Administration  Single Service Configuration.

2. Search by Consumer Proxy and the search pattern FlightBookingOrderConfirmation_Out, press Go.

3. Select the Web service definition CO_SXIDAL_FBO_CONFIRM 4. Choose Apply Selection.

5. In tab Configurations, choose Create Logical Port.

6. In field Logical Port Name , enter SXIDAL_FBO_CONFIRM, as Description use Send Confirmation.

7. In URL for WSDL Access , enter the WSDL URL you got form the sender agreement, set user XIDEMO_WS with password set under 4.1.5 and press Apply Settings. 8. The Web service Configuration of Proxy Definition: CO_SXIDAL_FBO_CONFIRM

opens.

9. Under UserId and Password set XIDEMO_WS with the corresponding password. 10. Choose Save

7.4.4 Executing and Testing

There is an application in the SAP system of the Integration Server (client 105) that you can use to test the process integration scenario (for both configurations).

The execution of this variant of the process integration scenario is not different from that of the Proxy-to-Proxy and Proxy-to-IDoc variant (see ‎5.1.3).

For this variant, however, use the flights UA 0941, UA 3504, UA 9999 and N.N. 9999.

8 Configuring Process Integration Scenarios