如何从.Net客户端调用基于安全Soap的Java Web服务

问题描述:

我想要 从.net客户端调用soap secure   java webservice。请给我发送示例代码...................和步骤

I want  to call soap secured  java webservice from .net client. please send me the sample code................... and steps

你好aju982007,

Hello aju982007,

我看到了你的要求。我习惯用.net  Test Framework测试.NET程序,我不熟悉Java Web服务的测试,但我认为测试Java Web服务的原理应该是一样的。所以,根据我的知识,我给你几美元的b $ b和一些知识如下: 

I saw your requirement. I am used to test .NET program with .net Test Framework and I am not familiar with the testing of Java web service,but I think the principle of test Java web service should be the same. So,based on my knowledge I give you several idea and some knowledge as follows: 

  1.您可以使用单元测试在Java Web服务中测试该单元,请参考以下链接:
http://msdn.microsoft.com/en-us/library/ms243399.aspx ,您可以通过此链接了解如何通过单元测试来测试Web服务。

  1. You can use unit test to test the unit in Java web service, please refer to the link below: http://msdn.microsoft.com/en-us/library/ms243399.aspx, from this link you can learn how to test web service by unit test.

  2.您可以使用网络测试来测试网络服务,请参阅以下链接:http://msdn.microsoft.com/en-us/library/ms182557(v = vs.80).aspx,来自此链接您可以创建一个Web测试来测试Web服务。

  2. You can use web test to test the web service, please refer to the link below:http://msdn.microsoft.com/en-us/library/ms182557(v=vs.80).aspx, from this link you can create a web test to test web service.

我希望这些信息可以帮助您解决您的需求。如果您还有任何疑问,请与我们联系。

I hope this information can help you solve your requirement. If you still have any question, please let me know.

 

祝你好运,

>