Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 WCF 服务中编写了一个方法,它接受 Stream 类型的参数。
TestUpload(Stream fileStream);
当Java客户端访问它时,出现以下错误:
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html.
你在使用SoapUi吗?它在 WCF 服务测试期间很有帮助。