IISに配備されているWebサービスをバッチ(C#)にで呼び出したところバッチ側にて以下のエラーが発生しました。
原因がわからず困っています。解決させるためにどのようなことを調査すればよいのでしょうか?
リモート サーバーから予期しない応答が返されました: (502) Bad Gateway。
Server stack trace:
場所 System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory1 factory, WebException responseException, ChannelBinding channelBinding) 場所 System.ServiceModel.Channels.HttpChannelFactory
1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
場所 System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
場所 System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
場所 System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
場所 System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
場所 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
場所 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
場所 Test.Test.PAB01003.PAW01005.PAW01005Soap.UserMaintenance(UserMaintenanceRequest request)
場所 Test.Test.PAB01003.PAB01003Batch.TranRoutine(String[] args)
あなたの回答
tips
プレビュー