Removing the expect http header
When implementing a java axis web service in to a .NET project, it seems that the expect http header provides a wrong response from the axis web service. So we had to remove the expect http header from the web service request.
Below you will see an example of the expect header:
Expect: 100-continue
It fairly easy to remove this header from the request, you only have to add the following snippet to your web.config or app.config:
1: <system.net>
2: <settings>
3: <servicePointManager expect100Continue="false"/>
4: </settings>
5: </system.net>
More information about the service point manager you will find on msdn.