Chad
Chad

Reputation: 24679

Debugging Web Services in Visual Studio

I am trying to use sample FedEx Web Service code written in VB.NET to retrieve shipping rates.

The call returned rate information, but it returned rates that are way too high and do not match those shown on their web site for the same shipping parameters.

Their support team is willing to investigate the discrepancy if I can provide them the XML data, SOAP transaction I presume, but I do not know how to get at this.

Can someone help?

Upvotes: 0

Views: 2516

Answers (5)

Pablo Castilla
Pablo Castilla

Reputation: 2741

You could use fiddler or the WCF tracing tool: http://msdn.microsoft.com/en-us/library/aa702726.aspx

Upvotes: 0

RameshVel
RameshVel

Reputation: 65867

I think Web service Studio 2.0 can help you in this.. It can display XML & SOAP request responses and WSDL bindings of the given webservice.

And there is an codeplex alternative to test even WCF services .. Just give a try..

Upvotes: 3

Chris
Chris

Reputation: 28064

SoapUI is your friend, here.

Upvotes: 0

SoftwareGeek
SoftwareGeek

Reputation: 15762

I have used Fiddler in the past for monitoring http requests/responses. You may give this a try but i suggest you revisit the sample just to check it's logic. It could be as simple as a datatype issue or just missing some zeros at the end or you might be sending some wrong parameter.

Upvotes: 9

Erich
Erich

Reputation: 655

One way to do this would be to just sniff the connection using WireShark (free download, wireshark.org).

From this, you could view the entire transaction between client and server, and see what it was sending.

Upvotes: 0

Related Questions