P
Patrick Grier
I get an exception when calling a web service from my winform application.
Can anyone help with this?
Below is some details from the stack trace:
Exception Information Details:
======================================
Exception Type: System.Net.WebException
Status: ProtocolError
Response: System.Net.HttpWebResponse
Message: The request failed with the error message:
--
<html><head><title>Object moved</title></head><body> <h2>Object moved to <a
href="%2fwestinghouse.uam.data%2fHelpPage.aspx%3faspxerrorpath%3d%2fwestinghouse.uam.data%2fTransactionsWS.asmx">here</a>.</h2>
</body></html>
--.
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Object[]
ReadResponse(System.Web.Services.Protocols.SoapClientMessage,
System.Net.WebResponse, System.IO.Stream, Boolean)
HelpLink: NULL
Source: System.Web.Services
StackTrace Information Details:
======================================
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at
Westinghouse.Uam.TransactionsWS.TransactionsWS.UpdateExcelInvoiceTransactions(TransactionsDS ds, Boolean ProcessAverageCostCalc)
at
Westinghouse.Uam.TransactionsBLL.UpdateExcelInvoiceTransactions(TransactionsDS ds, Boolean saveWithWarnings, Boolean ProcessAverageCostCalc)
at Westinghouse.Uam.UI.SalesExcelBillingModule.SaveData()
at
Westinghouse.Uam.UI.SalesExcelBillingModule.GenerateExcelToolStripButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
Can anyone help with this?
Below is some details from the stack trace:
Exception Information Details:
======================================
Exception Type: System.Net.WebException
Status: ProtocolError
Response: System.Net.HttpWebResponse
Message: The request failed with the error message:
--
<html><head><title>Object moved</title></head><body> <h2>Object moved to <a
href="%2fwestinghouse.uam.data%2fHelpPage.aspx%3faspxerrorpath%3d%2fwestinghouse.uam.data%2fTransactionsWS.asmx">here</a>.</h2>
</body></html>
--.
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Object[]
ReadResponse(System.Web.Services.Protocols.SoapClientMessage,
System.Net.WebResponse, System.IO.Stream, Boolean)
HelpLink: NULL
Source: System.Web.Services
StackTrace Information Details:
======================================
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at
Westinghouse.Uam.TransactionsWS.TransactionsWS.UpdateExcelInvoiceTransactions(TransactionsDS ds, Boolean ProcessAverageCostCalc)
at
Westinghouse.Uam.TransactionsBLL.UpdateExcelInvoiceTransactions(TransactionsDS ds, Boolean saveWithWarnings, Boolean ProcessAverageCostCalc)
at Westinghouse.Uam.UI.SalesExcelBillingModule.SaveData()
at
Westinghouse.Uam.UI.SalesExcelBillingModule.GenerateExcelToolStripButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)