在 Visual Studio 中调试 Web 服务 [英] Debugging Web Services in Visual Studio

查看:44
本文介绍了在 Visual Studio 中调试 Web 服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用以 VB.NET 编写的示例 FedEx Web 服务代码来检索运费.

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.

如果我可以向他们提供 XML 数据,我认为是 SOAP 事务,他们的支持团队愿意调查差异,但我不知道如何解决这个问题.

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.

有人可以帮忙吗?

推荐答案

我过去曾使用 Fiddler 来监控 http 请求/响应.您可以尝试一下,但我建议您重新访问示例以检查其逻辑.它可能像数据类型问题一样简单,或者只是在末尾丢失了一些零,或者您可能发送了一些错误的参数.

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.

这篇关于在 Visual Studio 中调试 Web 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆