-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MTOM response #7
Comments
Exactly same issue with same case there. |
wollanup
added a commit
to wollanup/BeSimpleSoapServer
that referenced
this issue
Apr 18, 2016
Hi, I want to create a soap webservice using Lumen. Please help me with sample code. Thanks in advance, |
wollanup
added a commit
to eukles/BeSimpleSoap
that referenced
this issue
Jul 12, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When providing
\BeSimple\SoapServer\SoapServer
with option'attachment_type' => \BeSimple\SoapCommon\Helper::ATTACHMENTS_TYPE_MTOM
two
\BeSimple\SoapCommon\SoapResponseFilter
filters are registered (MimeFilter
andXmlMimeFilter
)When response has attachments
MimeFilter
create multipart message and overwrites\BeSimple\SoapCommon\SoapResponse
$content
property with it.Next filter (
XmlMimeFilter
) tries to create\DOMDocument
from\BeSimple\SoapCommon\SoapResponse
$content
(contains multipart message string, not plain XML), as expected, fails with PHP warningPHP Warning: DOMDocument::loadXML(): Start tag expected, '<' not found in Entity, line: 2 in /var/www/vendor/besimple/soap-common/BeSimple/SoapCommon/SoapMessage.php on line 197
To my understanding last filter executed on response should be
MimeFilter
.The text was updated successfully, but these errors were encountered: