Usefull C# code snippet

If you are trying to look at the payload, when writing C# code, here is the way I ussually send the request from my C# client through an HTTP proxy. Usually, I am using the one that is embedded in JDeveloper.

using System.Net; // for proxy setup
...
  IWebProxy proxyObject = new WebProxy("http://hostname:8099", false);
  service.Proxy = proxyObject;

Note: do not use localhost or 127.0.0.1 if you want to hit the network layer.

Comments

Popular posts from this blog

Changing the version of JDK used by JDeveloper

Connection reset from a WCF Web Service

unexpected null value for literal data