What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

WCF service using HTTP Advanced Sensor - Content Type

Votes:

0

I have followed the instructions for configuring the HTTP Advanced Sensor for a SOAP web service but am still getting errors when trying to post the request. https://kb.paessler.com/en/topic/66680-is-it-possible-to-test-a-wsdl-or-soap-service-with-prtg

HTTP/1.1 415 Cannot process the message because the content type 'text/xml; charset=us-ascii' was not the expected type 'text/xml; charset=utf-8'.

My custom content type is: application/soap+xml

My Custom HTTP Headers is as below. I have also tried removing the "Content-Type" value but the example shows it with it. Content-Type: text/xml SOAPAction:https://SomeWebService.net/xxxx/EstimateService Accept: application/soap+xml

Any suggestions on how to correct this?

Best, Lance

prtg soap wcf

Created on Aug 8, 2017 3:40:18 PM



1 Reply

Votes:

0

Hi there,

With what SOAP are you working? Version 1.2 requires:

application/soap+xml

and only 1.1 requires:

text/xml

Please change it, does it work afterwards?

Created on Aug 8, 2017 8:14:47 PM by  Dariusz Gorka [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.