500 Ошибка с запросом POST в Windows 10, который работает в Windows 7
У меня есть сервер Windows 7 и сервер Windows 10, оба используют Apache 2.2 для связи с веб-сервисом COM+. С рабочего стола, GET
Команды к веб-сервису COM+ успешно работают на обоих серверах.
Следующие POST
Сбой команды на сервере Windows 10 (все в одной строке):
curl --verbose --header "Content-Type: text/xml; charset="UTF-8""
--header "SOAPAction: "http://tempuri.org/action/Sample.GetTestValue""
--header "Expect: 100-continue" --data "User-Agent: HTTPClient"
--data "Connection: Close" http://1.1.1.123:8000/TMPServices/Sample.SampleSvcs.WSDL
Когда я запускаю этот локон в Windows 7, я получаю:
* Trying 1.1.1.123...
* TCP_NODELAY set
* Connected to 1.1.1.123 (1.1.1.123) port 8000 (#0)
> POST /TMPServices/Sample.SampleSvcs.WSDL HTTP/1.1
> Host: 1.1.1.123:8000
> User-Agent: curl/7.60.0
> Accept: */*
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: http://tempuri.org/action/SampleSvcs.GetTestValue
> Expect: 100-continue
> Content-Length: 40
>
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
Когда я запускаю этот локон в Windows 10, я получаю:
* Connected to 1.1.1.123 (1.1.1.123) port 8000 (#0)
> POST /TMPServices/Sample.SampleSvcs.WSDL HTTP/1.1
> Host: 1.1.1.123:8000
> User-Agent: curl/7.60.0
> Accept: */*
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: http://tempuri.org/action/SampleSvcs.GetTestValue
> Expect: 100-continue
> Content-Length: 40
>
< HTTP/1.1 500 Internal Server Error
< Date: Fri, 22 Jun 2018 18:57:50 GMT
< Server: Apache/2.2.22 (Win32)
< Expires: -1;
< Content-Length: 677
< Connection: close
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
ServerAdmin@siteserver.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the
request
Любая помощь будет оценена. Благодарю.