Skip to content
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

Error when parsing response: Expected param start-info="application/soap+xml", got text/xml #229

Closed
giovanni-orciuolo opened this issue Dec 1, 2021 · 2 comments

Comments

@giovanni-orciuolo
Copy link
Contributor

The SOAP service I'm communicating with responds in MTOM mode. Sample response:

--uuid:f1eb0f5f-52d7-416d-8bf1-02e8b7b7036e
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml";
Content-Transfer-Encoding: binary
Content-ID: 
<[email protected]>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
        <soap:Body>
            omitted for brevity
        </soap:Body>
    </soap:Envelope>
--uuid:f1eb0f5f-52d7-416d-8bf1-02e8b7b7036e--

I get this error when I try to parse this response through the soap library:
Expected param start-info="application/soap+xml", got text/xml

Any help? I can't tweak the response I get from this bs service

@giovanni-orciuolo
Copy link
Contributor Author

I just opened a PR to solve this issue: #230

@giovanni-orciuolo
Copy link
Contributor Author

Fixed in PR #230

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant