| .NET DotNet Forum Index » ASP.NET - Webservices Forum » WCF won't transmit more than about 8K... |
|
Page 1 of 1 |
|
| Author |
Message |
| Mr. Arnold... |
Posted: Tue Oct 06, 2009 2:09 pm |
|
|
|
Guest
|
Jim Sneeringer wrote:
Quote: Thank you.
I was not able to make it work by changing the config the way you said.
<snipped>
What does the exception say -- post the exception message? |
|
|
| Back to top |
|
|
|
| Jim Sneeringer... |
Posted: Tue Oct 06, 2009 2:51 pm |
|
|
|
Guest
|
{System.ServiceModel.CommunicationException: The remote server returned an
error: NotFound. ---> System.Net.WebException: The remote server returned an
error: NotFound. ---> System.Net.WebException: The remote server returned an
error: NotFound.
at
System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult
asyncResult)
at
System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
at
System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object
sendState)
--- End of inner exception stack trace ---
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback
beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult
asyncResult)
at
System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
--- End of inner exception stack trace ---
at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
at
System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action,
Object[] outs, IAsyncResult result)
at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String
methodName, Object[] args, IAsyncResult result)
at
sTickets.TicketServiceReference.TicketServiceClient.TicketServiceClientChannel.EndTicket_Save(IAsyncResult result)}
Here's where it died. The service code was never called.
public
System.Collections.ObjectModel.ObservableCollection<sTickets.TicketServiceReference.Ticket> EndTicket_Save(System.IAsyncResult result) {
object[] _args = new object[0];
System.Collections.ObjectModel.ObservableCollection<sTickets.TicketServiceReference.Ticket>
_result =
((System.Collections.ObjectModel.ObservableCollection<sTickets.TicketServiceReference.Ticket>)(base.EndInvoke("Ticket_Save", _args, result)));
return _result;
} |
|
|
| Back to top |
|
|
|
| Mr. Arnold... |
Posted: Tue Oct 06, 2009 3:28 pm |
|
|
|
Guest
|
Jim Sneeringer wrote:
<snipped>
I can't say that you have some kind of transmission size error. That was
not the error message I was expecting. If it was a size problem, you
would have gotten the readerquota max size greater than 8192 bytes message.
It can find something on the server side it seems.
Maybe, this can help you test it. I have only used it against an WCF Web
service, but it looks like you can use it against any WCF service type.
http://msdn.microsoft.com/en-us/library/bb552364.aspx |
|
|
| Back to top |
|
|
|
| Jim Sneeringer... |
Posted: Tue Oct 06, 2009 6:53 pm |
|
|
|
Guest
|
I'll check it out. Thank you so much for your help.
BTW, I'm pretty sure it's a size problem, because if I reduce the size of
the data, it starts to work. |
|
|
| Back to top |
|
|
|
|