23 $this->Namespace = $namespace;
26 parent::__construct();
28 foreach( $parameters as
$name => $value )
46 if ($this->Namespace[mb_strlen($this->Namespace) - 1] != $separator)
61 $this->BodyAttributes[
$name] = $value;
68 $this->Parameters[
$name] = $value;
82 $root->addChild( $header );
84 foreach ($this->Headers as $hx)
85 $header->addChild($hx);
90 foreach( $this->BodyAttributes as $attribute => $value)
92 $body->setAttribute( $attribute, $value );
97 $request->setAttribute(
"xmlns", $this->Namespace);
101 foreach ( $this->Parameters as $parameter => $value )
106 if ( $param ==
false )
107 ShowError(
"Error enconding data for payload" );
112 $root->addChild( $body );
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
GetSOAPAction($separator='/')
__construct( $name="", $namespace="", $parameters=array())
$Parameters
Contains the request parameters.
$Namespace
The request target namespace.
$BodyAttributes
Additional body element attributes.
addParameter( $name, $value)
addBodyAttribute( $name, $value)
addSOAPHeader( $name, $value)
static encodeValueLight( $name, $value)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
ShowError($strError, $cls="errortext")
const BX_SOAP_SCHEMA_DATA
const BX_SOAP_SCHEMA_INSTANCE