get, request, xml, namespace, type, api, request, response, send, soap, rest, get, post, put, delete

Method GetRequestXmlNamespace

API

Gets XML Namespace

Watch this video to learn how to use this method

Have a problem with playback?
GetRequestXmlNamespace returns XmlNamespace The input is a string Prefix The output is XmlNamespace or empty if the prefix not presented Let's use ConcatArrayData and output XML namespace from it So the input parameter will be Prefix "a" We will output result via messagebox Run. You can see the output is Microsoft xml namespace as expected.

Usage

Function GetRequestXmlNamespace(
  String Prefix,
  Boolean Report [Optional]
)

CreateBooks

ZAP API Method step

GetReq...space

a

True

namespace

Prefix

Report

Output Parameter

Parameters

Prefix

Type: String

The Prefix of the XML Namespace

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

XML Namespace or Empty string

Example

VBScript

msgbox Server("API Server").Method("CreateBooks").GetRequestXmlNamespace("a", True)

JavaScript

alert(Server("API Server").Method("CreateBooks").GetRequestXmlNamespace("a", true));

CreateBooks

ZAP API Method step

GetReq...space

a

True

namespace

Script-Less next step

ZAP Utility

ZAP Utility step

Zap.Comm...Box

Zap.Var...space")

Contact Us

3150 Roswell Rd NW

Atlanta, GA, 30305, USA

(800) 795-3552