c#言語で記述されたWebサービスであるphpでWebサービスを呼び出すのに問題があります。正しく機能するサンプルコードがc#にあります。このコードは、System.ServiceModel.ClientBaseを使用しています。
ServiceReference2.ExternalClient t = new ServiceReference2.ExternalClient ();
t.Endpoint.Binding.CloseTimeout = new TimeSpan(500, 0, 0);
t.Endpoint.Binding.SendTimeout = new TimeSpan(500, 0, 0);
t.Endpoint.Binding.ReceiveTimeout = new TimeSpan(500, 50, 0);
t.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = System.ServiceModel.Security.X509CertificateValidationMode.None;
t.ClientCredentials.UserName.UserName = txtUserName.Text;
t.ClientCredentials.UserName.Password = txtPassword.Text;
string ds = t.GetTransfer(txtDate.Text);
nusoapとsoapclientをテストしましたが、エラーメッセージ(不正なリクエストまたはhttpヘッダーのエラーフェッチ)が表示されます。
私の問題は、WSSEPHPSOAPクライアントヘッダー関数呼び出しおよびWSDLのようなWSDLと同じです