Skip to main content
Skip table of contents

f$SoapService


f$SoapService

Execute a web service that can be called with the SOAP protocol. Details for this in Wikipedia https://en.wikipedia.org/wiki/SOAP Usually, data is given to the web service in the form of an XML buffer. The result is returned similarly as an XML buffer.

Syntax:

Result = f$SoapService ( Service , Domain , User , Password , Contenttype , SoapAction , Input )

 

Argument

Type

Meaning

 

Service

String

Address for the service to be executed. Usually a website accessible using http

 

Domain

String

Name of the domain if the service can only be started by logging in, otherwise "

 

User

String

User name if the service can only be started by logging in, otherwise "

 

Password

String

Password for logging in or "

 

Contenttype

String

This is used to inform the service of the content's form. Usually

text/xml; charset=utf-8 with Soap 1.1

or

application/soap+xml; charset=utf-8 with Soap 1.2

 

SoapAction

String

The service can be informed in the header line of the desired action with this. Alternatively, an entry in the XML is possible.

 

Input

String

The XML buffer given to the service additionally

Result:

Result

XML buffer received from the service.

Example:

Soap.Service = 'http://asseco/APplusDeploy6/configurator/epossmart.asmx'

Soap.Domain = 'dasPlus'

Soap.User = 'apservice'

Soap.Password = '******'

Soap.Contenttype = 'application/soap+xml; charset=UTF-8'

Soap.Soapaction = 'http://schemas.p2plus.com/P2plus40/Configurator/Epossmart/getConfigdata'

Status = f$FileBinRead( 'C:\\temp\\ap12.xml' , 'Soap.Input' )

result = f$SoapService ( Soap.Service , Soap.Domain , Soap.User , Soap.Password , Soap.Contenttype , Soap.Soapaction , Soap.Input )

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.