
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2022 03:25 AM
Hi everyone,
I'm trying to make an integration and the customer is sending SOAP Messages to servicenow (It must be by SOAP Message). But when the customer send the message, he receives the error from SN:
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Invalid content type</faultstring>
<detail>Error completing SOAP request</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
When I test it using SOAP UI or another Instance, everything works fine, it doesn't work only for this customer.
They say the problem is on our instance, because the same integration following the same XML is working fine for some other customers.
Does anybody could help us?
Thank you!
Solved! Go to Solution.
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2022 12:13 AM
The problem was the property "glide.soap.require_content_type_xml" after deativate it, the system starts to accept the customer messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2022 03:39 AM
Hi,
if you are able to test the same SOAP body via SOAP UI or any other instance and if it works fine; then I don't think any issue in your instance.
Did you check what error they are getting?
error body/description or http status code?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2022 04:10 AM
The error code is 500 and the description is "Invalid content type"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2022 04:16 AM
Hi,
are they setting correct content type while consuming the endpoint?
You can simply inform them that you are able to test it via external tool i.e. SOAP UI and hence there is something wrong at their application which is possibly causing this error
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2022 12:13 AM
The problem was the property "glide.soap.require_content_type_xml" after deativate it, the system starts to accept the customer messages