简体   繁体   English

我可以使用WCF客户端代理直接替代SoapHttpClientProtocol吗?

[英]Can I use a WCF client proxy as a straight replacement for SoapHttpClientProtocol?

I'm talking with a web service with a generated proxy that uses System.Web.Services.Protocols.SoapHttpClientProtocol , is there any reason I might have trouble replacing the proxy with a WCF client proxy? 我正在使用带有使用System.Web.Services.Protocols.SoapHttpClientProtocol的代理的Web服务,是否有任何原因可能会导致我无法用WCF客户端代理替换代理?

The web service being called is written in Java and uses the Apache Axis SOAP engine. 所调用的Web服务是用Java编写的,并使用Apache Axis SOAP引擎。 It uses only HTTP Basic authentication. 它仅使用HTTP基本身份验证。

Is there an underlying issue that you're trying to solve by making this change? 您是否要通过进行此更改来解决潜在的问题? I've issues doing something like this in the past. 我过去在做这样的事情时遇到了问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM