我有一个Windows 7服务器和Windows 10服务器,它们都使用Apache 2.2与COM + Web服务进行通信。从桌面上,到COM + Web服务的setState
命令在两台服务器上都能成功运行。
以下GET
命令在Windows 10服务器上(全部一行)失败:
POST
在Windows 7上运行该curl时,我得到:
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 10上运行该curl时,我得到:
* 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
任何帮助将不胜感激。谢谢。