Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Outbound Webservice

Former Member
0 Kudos

Dear experts,

I am new to the topic and have the following problem:

. I created a function module

. I created a WSDL

. I succeded in creating the "binding" in SOAMANAGER

. I created a program to start the function module

. I do not know how to define the destination for the function module to send a xml file to the external server (non PI)

.. Proxy/Port/RFC destination....

I possibly would like to test this using SOAP UI

If my questions are not sufficient please let me know!

Thanks for help and suggestions

Winfried Janssen

2 REPLIES 2

rosenberg_eitan
Active Contributor
0 Kudos

Hi,

I have done some tests with web service my self some months ago .

I did the same step you did.

I was able to use SOAPUI after defining the service using SOAMANAGER.

As far as I know the other party should call your web service to get your data.

If you want to be the initiating party then other party should develop the web service.

I hope I am not wrong....

Regards.

SatheeshKumara1
Participant
0 Kudos

Hi,

1. Log on to the SAP NetWeaver Administrator. 

  1. Choose SOA Management Technical Configuration Destination Template Management.

Alternatively, you can use the quick link /DestinationTemplates as follows:

http://<host>:<port>/nwa/DestinationTemplates.

The Destination Template Management window opens.

  1. Choose Create Destination.
  2. From the Destination Type dropdown box, choose the type of destination.

The destination type determines the way in which the client application searches for the Web service.

The table below outlines the possible options, their meaning and the necessary configuration:

Destination Type

Meaning

Configuration

WSDL

The client application accesses the Web service on the provider system by directly using the WSDL file generated for the corresponding Web service.

When you use this destination type, the whole provider system is viewed as a single Web service.

In the URL field, enter the direct link to the WSDL file on the provider system.

WSIL

The client application locates and accesses the WSDL of the corresponding Web service by using the WSIL.

WSIL is a standard containing information about the location of the WSDL of every particular Web service on the provider system.

In the URL field, enter the direct link to the WSIL on the provider system. Depending on the provider system, enter the following URL:

  • AS Java

http://<host_name>:<port>/inspection.wsil

  • AS ABAP

http://<host_name>:<port>?sap-client=<client number>

Services Registry

The WSDL of the corresponding Web service is published in a Services Registry. The client application locates the WSDL file by querying the SR.

Specify the system whose Web services you want to search for in the SR (see below).

  1. In the Destination Name field, enter the name of the physical destination. The name you provide here has to be identical with the name of the logical destination in the client application.
  2. In the Socket Timeout field, specify the socket timeout of the connection. The default value is 60,000 milliseconds.
  3. This step is required only for physical destinations of type Services Registry. The settings you apply specify the system whose Web services published in the SR you want to search for. Proceed as follows:
  4. Depending on the provider system, from the System options, choose Java or ABAP.

If you are defining a physical destination that you want to access from within Visual Composer, only systems of type ABAP are supported.

  1. In the System name field, enter the system ID <SID> of the provider system.
  2. In the Hostname field, enter the name of the database host of the provider system.
  3. If for System, you chose ABAP, the following additional fields are available:
  4. In the Installation Number field, enter the installation number.

To check the installation number, in AS ABAP of the provider system start transaction SLICENSE.

  1. In the Client field, enter the number of the AS ABAP client in which the Web services are available.
  2. Set the security settings for the connection.

9. Choose the Messaging tab to set the service metering options. More information: Service Metering 

  1. In the Data transfer scope screen area, choose the amount of service metering data transferred to this destination.
  • Choose Minimal Data Transfer when you want the consumer application to send only Calling Application Type.
  • § Choose Basic Data Transfer when you want the consumer application to send Calling Application Type, Calling Component, and Calling Application ID.
  • § Choose Enhanced Data Transfer when you want the consumer application to send all caller information attributes.

Increasing the service metering level may lead to a security risk. When choosing the amount of service metering data you should consider the trustworthiness of the Web service provider:

  • If you don't have information on where and how the Web service is provided you should choose the Minimal Data Transfer level.
  • When you are sure that the Web service is provided by a trustworthy party you can increase the service metering level. For example, you can do this for destinations to systems residing in your internal network.
  1. In the Transfer Protocol screen area, choose the protocol you want to use for transfer of service metering data.

10. Choose Save.




-Satheesh