473,320 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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.
Nov 23 '05 #1
3 4066
Hi,

for all your tracing needs ;) :

- www.sysinternals.com -> 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" <bi**@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.


Nov 23 '05 #2
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" <ma*********@gmail.com> wrote in message
news:9c********************************@4ax.com...
Hi,

for all your tracing needs ;) :

- www.sysinternals.com -> 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" <bi**@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 POSTin my native C++ code. What I can do is writing a C# client and try to seewhat's been sent out. Then, I can then try to do a HTTP POST in my C++ codefollowing the format I have from the C# client.

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

Thanks for your help.

Nov 23 '05 #3
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

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: turnit \(removethis\) | last post by:
I have a login form that uses the post method to carry the information to the next page. The form works just fine in ie6.0, but fails in mozilla and fails in ie5.2 on a mac. "HTTP/1.1 400 Bad...
6
by: Phillip N Rounds | last post by:
I have a webform, from which I have to submit info to another site. Their instructions are to have a html form, with the following as the submit: <form method="post"...
6
by: A.M-SG | last post by:
Hi, I have an aspx page at the web server that provides PDF documents for smart client applications. Here is the code in aspx page that defines content type: Response.ContentType =...
0
by: DT | last post by:
I'm writing a .NET 1.1 client that invokes a method of a Web Service running on another organization's IIS 5 server. I need help understanding a fine point about HTTP, specifically in relation to...
3
by: Patrick Fogarty | last post by:
I am programming what is to be a web service client that will use an HTTP-POST to request and retrieve data. The remote server (written in java for what it's worth) requires basic authentication...
1
by: google | last post by:
I'm building a small ASPX page in C# to forward HTTP POST requests to another site. When the other site returns an HTTP error such as 404 or 405, I want to return that same HTTP status value to my...
4
by: jens Jensen | last post by:
Hello, I was given the task to build a .Net client that will talk to IBM integration server via HTTP post. The idea is that each http packet exchange should be authenticated via X09 "client...
2
by: =?Utf-8?B?cGhlbmdsYWk=?= | last post by:
I am not sure really how to explain this but here goes. I am creating some new web services and I want to be able to post data like the following: <Data> <some value>1</some value> <more...
6
by: CindyH | last post by:
Hi I'm not sure whether I should send this as a new message or use the one I've been using but... I'm using vb.net 2.0 - My problem is I need to send something like this: 'dim encodedstring =...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.