如何将soap lite客户端配置为使用wshttpbinding的WCF服务?

如何将soap lite客户端配置为使用wshttpbinding的WCF服务?,wcf,soap,soapui,soaplite,Wcf,Soap,Soapui,Soaplite,我有一个使用wcf服务的soap lite客户端。我在basichttpbinding上测试了一切,效果很好。当我将绑定切换到wshttpbinding时: <endpoint binding="wsHttpBinding" bindingConfiguration="customWsBinding" contract="LogisticServiceLibrary.ILogisticService" /> 然后它给了我一个错误,下面是SOAPUI的输出: 20

我有一个使用wcf服务的soap lite客户端。我在basichttpbinding上测试了一切,效果很好。当我将绑定切换到wshttpbinding时:

<endpoint binding="wsHttpBinding" bindingConfiguration="customWsBinding"
          contract="LogisticServiceLibrary.ILogisticService" />
然后它给了我一个错误,下面是SOAPUI的输出:

2011年11月30日星期三18:36:14美国东部时间:调试:>>“后期/后勤服务
HTTP/1.1[\r][\n]“Wed Nov 30 18:36:14 EST 2011:调试:>>”TE:
deflate,gzip;q=0.3[\r][\n]“Wed Nov 30 18:36:14 EST 2011:调试:>
“连接:TE,关闭[\r][\n]”美国东部时间2011年11月30日星期三18:36:14:调试:>>
“接受:text/xml[\r][\n]”美国东部时间2011年11月30日星期三18:36:14:DEBUG:>>
“接受:多部分/*[\r][\n]”Wed Nov 30 18:36:14 EST 2011:调试:>>
“接受:应用程序/soap[\r][\n]”美国东部时间11月30日星期三18:36:14
2011年:调试:>>“用户代理:SOAP::Lite/Perl/0.712[\r][\n]”11月30日星期三
美国东部时间2011年11月30日星期三18:36:14:调试:>>“内容长度:49496[\r][\n]” 2011年美国东部时间18:36:14:调试:>>“内容类型:应用程序/soap+xml;
charset=utf-8[\r][\n]“Wed Nov 30 18:36:14 EST 2011:调试:>>
“行动:http://tempuri.org/ILogisticService/IssueOrder[\r][\n]“
2011年11月30日星期三18:36:14东部时间:调试:>>“主机:本地主机:8008[\r][\n]”
2011年11月30日星期三18:36:14东部时间:调试:>>“[\r][\n]”星期三11月30日18:36:14
EST 2011:调试:>>“ xmlns:namesp1=”http://namespaces.soaplite.com/perl“
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance“
xmlns:soapenc=”http://schemas.xmlsoap.org/soap/encoding/“
xmlns:xsd=”http://www.w3.org/2001/XMLSchema“
soap:encodingStyle=”http://schemas.xmlsoap.org/soap/encoding/“
xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/"> xmlns=”http://tempuri.org/"> xmlns:i=”http://www.w3.org/2001/XMLSchema-instance“xmlns=”“
xmlns:a=”http://schemas.datacontract.org/2004/07/LogisticServiceLibrary“

Wed Nov 30 18:36:14 EST 2011:调试:使用
WSHttpBinding
要求客户端讲SOAP 1.2,并且还理解ws-addressing、ws-reliablemessaging、ws-security、ws-policy和ws-policyassertion。我怀疑SOAP::Lite是否理解这些,因此“Lite”“命名法
BasicHttpBinding
是非常基本的,就像SOAP::Lite:)

读了这篇文章后,我已经越过了这一点:现在又出现了另一个问题。以前是否有人将SOAPLite配置为使用wshttpbinding?
$client = SOAP::Lite
        ->proxy($endpoint)
    ->soapversion('1.2');