AIBMass
asked on
How to set (and why) the maximum message size quota
I am trying to use WPF and .NET 3.5 for the first time.
I have two questions:
1. In an existing .NET 2.0 WebService, I have these two lines right off the bat:
Private Share myService as ContactsWebService.Service 1 = nothing
myService = New ContactsWebService.Service 1
What is the .NET 3.5 version of these statements?
2. I tried
Dim MyService as ContactsWebService.Service 1Soap = New ContactsWebService.Service 1SoapClien t
The compiler was happy, but when I called the first method:
myObject = MyService.mymethod
I get the "maximum size quota for incoming messages (65536) has been exceeded.....use the MaxReceivedMessageSize property on the the appropriate binding element"
Can someone straighten me out?
I have two questions:
1. In an existing .NET 2.0 WebService, I have these two lines right off the bat:
Private Share myService as ContactsWebService.Service
myService = New ContactsWebService.Service
What is the .NET 3.5 version of these statements?
2. I tried
Dim MyService as ContactsWebService.Service
The compiler was happy, but when I called the first method:
myObject = MyService.mymethod
I get the "maximum size quota for incoming messages (65536) has been exceeded.....use the MaxReceivedMessageSize property on the the appropriate binding element"
Can someone straighten me out?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.