简体   繁体   English

如何生成UPS SOAP信封和肥皂安全标头?

[英]How to generate UPS SOAP envelope and soap security header ??

I am using UPS Web API in ASP.NET MVC4 Web Application. 我在ASP.NET MVC4 Web应用程序中使用UPS Web API Also I contacted ups developer support team. 我还联系了ups开发人员支持团队。 But they replied as below: 但是他们回答如下:

If you are using Web Services, be sure to include the SOAP envelope and the SOAP security header. 如果使用Web服务,请确保包括SOAP信封和SOAP安全标头。 Please do not remove the user ID/password and Access Key from the request file. 请不要从请求文件中删除用户ID /密码和访问密钥。

You will need to debug your application to obtain the XML/Soap Envelope request and response files. 您将需要调试应用程序以获得XML / Soap Envelope请求和响应文件。 Regrettably, due to the many possible programming languages and environments, we do not support client code directly and are unable to provide you with instructions on how to complete this process for your programming environment. 遗憾的是,由于有许多可能的编程语言和环境,我们不直接支持客户端代码,因此无法为您提供有关如何为您的编程环境完成此过程的说明。 "

So, How to generate the SOAP envelope and soap security header? 那么,如何生成SOAP信封和soap安全标头? Please help me if anyone faced the same issue??? 如果有人遇到同样的问题,请帮助我???

Download Fiddler and install it on the machine sending the web service request. 下载Fiddler并将其安装在发送Web服务请求的计算机上。 While you have it running, Fiddler will show you the request and response when you make the web service call, and you can choose the Text View tab in both the request (top right) and response (bottom right) panes in Fiddler to copy and paste the raw XML into text files. 当您运行它时,Fiddler会在您进行Web服务调用时向您显示请求和响应,并且您可以在Fiddler的“请求”(右上)和“响应”(右下)窗格中选择“文本视图”选项卡以进行复制和将原始XML粘贴到文本文件中。

提琴手运行时将请求和响应设置为文本视图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM