私はwsHttpBinding
をWCFサービスで使用しています。クライアントのwcfサービスとWeb参照のwsHttpBindingが機能しない
私はウェブリファレンスを追加しました。ウェブプロキシがあります(これはSoapHttpClientProtocol
に基づいています)。
また、wsdl.exe
とwcfサービス(http://zzzz/zz.svc?wsdl)によって生成された実際のwsdlを使用してプロキシを構築しようとしました。
クライアントがサービスを呼び出すと、私は次のエラーを取得する:
The SOAP action specified on the message, '', does not match the HTTP SOAP Action, 'http://tempuri.org/Service1/Operation1'.
はなぜクライアント(Webプロキシ)は、私のWCFサービスでは動作しませんか?
それらを機能させるにはどのような手順を取る必要がありますか?
私は.NET FW 3.5とASP.NET 2.0を実行しています。
あなたのWSDL SOAPACTIONアドレス – sandyiit
はここにチェック私のWSDLであることができます=アクション= "http://tempuri.org/IService1/Operation1" メッセージ:の の の WSDL:操作> ... –
Max
定義は次のとおりです。 xmlns:wsa = "http:// schema smlsoap.org/ws/2004/08/addressing "xmlns:wsp =" http://schemas.xmlsoap.org/ws/2004/09/policy "xmlns:wsap =" http://schemas.xmlsoap。 org/ws/2004/08/addressing/policy " xmlns:xsd =" http://www.w3.org/2001/XMLSchema "xmlns:msc =" http://schemas.microsoft.com/ws/2005/12/wsdl/contract "xmlns:wsaw =" http://www.w3.org/2006/05/addressing/wsdl "xmlns:soap12 =" http://schemas.xmlsoap.org/wsdl/soap12/ " xmlns:wsa10 = "http://www.w3.org/2005/08/addressing" xmlns:wsx = "http://schemas.xmlsoap.org/ws/2004/09/mex" ポリシー: –
Max