zoukankan      html  css  js  c++  java
  • How can I use Fiddler to debug BizTalk messages?

    When using HTTP, SOAP or WCF send ports it can be incredibly useful to view the content of messages that are sent on the wire. This allows you to inspect the headers (SOAP or HTTP). Fiddler is a simple but fantastic tool to allow you to do this.

    By default, Fiddler will not trace any messages sent to endpoints by BizTalk as it does not use WinInet. However, BizTalk send ports can be configured to use a proxy allowing Fiddler to intercept them. On the Send Port tick the Use Proxy checkbox and set the Server to 127.0.0.1 and the port to 8888. For dynamic ports, set the following properties (as applicable to the adapter being used)

    // Debug via fiddler
    msgSendRequest(SOAP.UseProxy) = true;
    msgSendRequest(SOAP.ProxyAddress) = "127.0.0.1";
    msgSendRequest(SOAP.ProxyPort) = 8888;

    Note that this needs to be removed when Fiddler is not running since traffic directed to the proxy will not be received by anything.

    // Set Fidder as proxy for .NET application

    <system.net>
    <defaultProxy> <proxy usesystemdefault="False" bypassonlocal="True"
    proxyaddress="http://127.0.0.1:8888"/> </defaultProxy>
    </system.net>
  • 相关阅读:
    浅谈HTTP中Get与Post的区别
    js 执行完setTimeout再接着执行函数
    2017年书单
    js判断img是否存在
    md5
    GIF播放器
    java 集合(二)
    java 泛型
    抓包工具
    js计算地球两个经纬度之间的距离
  • 原文地址:https://www.cnblogs.com/zhaobin/p/1946171.html
Copyright © 2011-2022 走看看