How to log the http post message on the client

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default How to log the http post message on the client

    Is there a way to log the actual outgoing http post message on a Web
    Services client? I am calling a Java Web Services. I have to use HTTP POST
    in my native C++ code. What I can do is writing a C# client and try to see
    what's been sent out. Then, I can then try to do a HTTP POST in my C++ code
    following the format I have from the C# client.

    I found there is something called SOAPExtension. But, it involves the change
    on the server side, and it seems to me that it is .NET specific.

    Thanks for your help.


    bill Guest

  2. Similar Questions and Discussions

    1. Updating db after HTTP POST
      On my cart confirm page I have one form that submits to PayPal, taking the customer to the PP site to pay for their order. PayPal will eventually...
    2. HTTP POST ASP .NET
      Could someone PLEASE explain how do I use HTTP POST in ASP .NET to get an xml string from a server that exposes a web service? My IIS server will...
    3. HTTP POST sample
      I need to do the following using vbscript. Using HTTP POST upload a XML-RPC file and DownLoad using same an XML-RPC file Does anyone know of a...
    4. TimeoutError in Net::HTTP get and post
      I'm trying to rescue a TimeoutError in Net::HTTP's get and post methods, but it's not working. I noticed some postings about how the rescue...
    5. doing an http post
      For the benefit of others, I want to show how to do an HTTP POST request using fsockopen(). I banged my head against a wall for two days trying to...
  3. #2

    Default Re: How to log the http post message on the client

    Hi Marvin,
    I ended up using ProxyTrace for that. It works pretty well for .NET clients.
    I have to set the proxy server in web.config ot ProxyTrace. I would like to
    use it to intercept HTTP POST from non .NET applications.

    Do you know how to set the proxy server for the whole system? I tried to set
    it in Internet Explorer. It only affects tracffic from/to Internet Explorer.
    Thanks for your help.


    "Marvin Smit" <marvin.smit@gmail.com> wrote in message
    news:9cche1tdhmk7hqvqhj8l1v3b2nohgr8l21@4ax.com...
    > Hi,
    >
    > for all your tracing needs ;) :
    >
    > - [url]www.sysinternals.com[/url] -> TcpTrace
    > - Old but usefull -> Microsofts SOAPTrace
    > - WSE installed -> Turn on logging in the config file.
    >
    > Hope this helps,
    >
    > Marvin Smit.
    >
    > On Wed, 27 Jul 2005 18:27:49 -0700, "bill" <bill@nospamland.com>
    > wrote:
    >
    > >Is there a way to log the actual outgoing http post message on a Web
    > >Services client? I am calling a Java Web Services. I have to use HTTP
    POST
    > >in my native C++ code. What I can do is writing a C# client and try to
    see
    > >what's been sent out. Then, I can then try to do a HTTP POST in my C++
    code
    > >following the format I have from the C# client.
    > >
    > >I found there is something called SOAPExtension. But, it involves the
    change
    > >on the server side, and it seems to me that it is .NET specific.
    > >
    > >Thanks for your help.
    > >
    >

    bill Guest

  4. #3

    Default Re: How to log the http post message on the client

    Bill,

    Can you do something like this:

    IWebProxy mWebProxy;
    mWebProxy = New WebProxy("172.20.1.1"); //IP address of the
    proxy server
    mywebservice.Proxy = mWebProxy;

    This will setup you web service to use the proxy server.

    I hope this helps.

    Cesar

    cksanjose@gmail.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139