You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys,
Just noticed that there is a little mistake in the SoapClientBuilder class.
When adding Attachments, the code uses $this->options instead of $this->soapOptions.
public function withBase64Attachments()
{
$this->options['attachment_type'] = Helper::ATTACHMENTS_TYPE_BASE64;
return $this;
}
/**
* SOAP attachment type SwA.
*
* @return \BeSimple\SoapServer\SoapServerBuilder
*/
public function withSwaAttachments()
{
$this->options['attachment_type'] = Helper::ATTACHMENTS_TYPE_SWA;
return $this;
}
/**
* SOAP attachment type MTOM.
*
* @return \BeSimple\SoapServer\SoapServerBuilder
*/
public function withMtomAttachments()
{
$this->options['attachment_type'] = Helper::ATTACHMENTS_TYPE_MTOM;
return $this;
}
Need to be replaced by :
public function withBase64Attachments()
{
$this->soapOptions['attachment_type'] = Helper::ATTACHMENTS_TYPE_BASE64;
return $this;
}
/**
* SOAP attachment type SwA.
*
* @return \BeSimple\SoapServer\SoapServerBuilder
*/
public function withSwaAttachments()
{
$this->soapOptions['attachment_type'] = Helper::ATTACHMENTS_TYPE_SWA;
return $this;
}
/**
* SOAP attachment type MTOM.
*
* @return \BeSimple\SoapServer\SoapServerBuilder
*/
public function withMtomAttachments()
{
$this->soapOptions['attachment_type'] = Helper::ATTACHMENTS_TYPE_MTOM;
return $this;
}
Cheers !
The text was updated successfully, but these errors were encountered:
Hi guys,
Just noticed that there is a little mistake in the SoapClientBuilder class.
When adding Attachments, the code uses $this->options instead of $this->soapOptions.
Need to be replaced by :
Cheers !
The text was updated successfully, but these errors were encountered: