Show TOC

Function documentationWeb Service

 

You use this action to create a Web service, which offers the following:

  • Interoperability

  • Loose coupling

Features

Interoperability

Interoperability allows users to work with each other. For example, a Perl developer can work with a C++ developer on Microsoft Windows® 2000, who in turn can work with an AppleScript® developer on a Macintosh® OSX.

This is a common bridge to use between Web server platforms without having to know the underlying system architecture.

Loose Coupling

The following applies to loose coupling:

  • The system exhibits implementation and version independence.

  • Regardless of the operating system, the Web service is accessible from any machine.

  • Version independence allows different machines to communicate.

  • The software is backward compatible.

This action is configured through a wizard. You must select a method that provides data. For example, if the method is getTemp, a zip code must be passed to it.

The properties for this action are listed in the following table:

Property

Data Type

Access

Use

URL

URL

In

The URL to the WSDL. For example, www.atomic-x.com/xmlservices/dnslookupservice.asmx?wsdl.

UserName

String

In and out

Provides credentials for authenticated HTTP requests. It is an optional property.

Password

String

In and out

Provides credentials for authenticated HTTP requests. It is an optional property.

TimeOut

Integer

In and out

Indicates the duration (in seconds) that the action can run before it times out.

Success

Boolean

Out

Indicates whether the action succeeded or failed. If it failed, errors are displayed in the server trace log.

WSDL Base URL

URL

In

Represents base URL, for example, http://server:port/. Allows you to link in different URLs such as /XMII/WSDLGen/Project/Folder/File.

Credential Alias

Chooses the configured alias set from the Credential Stores section of the MII administration menu.

Use Header Based Authentication

Boolean

When selected, this action adds the credentials to the SOAP message header.

Encoding

Sets the expected charset for the Content-Type to the HTTP request

Response Timeout

Sets the read timeout for the HTTP connection to the target URL

Execute the Web Service Action

Web service is called when selected.

Use Destination Service

Boolean

In

Forces post calls to use the destination service. The Http destination with the name XMIISSO configured in Netweaver Java server is used to make the connection. This configures the action for basic authentication and HTTPS. However, the destination service may have problems connecting to servers through proxy. For more details, see Maintaining HTTP Destinations in the SAP Help Portal at Start of the navigation path http://help.sap.com Next navigation step Technology Platform Next navigation step SAP NetWeaver Next navigation step SAP NetWeaver 7.3 Including Enhancement Package 1 End of the navigation path

Keystore Name

String

In

Used for X.509 authentication. The property must match the keystore name as configured on the target server.

Certificate Name

String

In

Used for X.509 authentication. The property must match the certificate name as configured on the target server.