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>
  • 相关阅读:
    22.json&pickle&shelve
    22.BASE_DIR,os,sys
    21.time和random
    21.模块的执行以及__name__
    21.python的模块(Module)和包(Package)
    21. 对文件进行查询修改等操作
    20.装饰器和函数闭包
    19.python基础试题(三)
    19.生产者消费者模型
    19.yield和send的区别
  • 原文地址:https://www.cnblogs.com/zhaobin/p/1946171.html
Copyright © 2011-2022 走看看