开发者

How to get metadatas of soap service which require log in?

开发者 https://www.devze.com 2023-01-06 04:34 出处:网络
I am trying to get metadatas of a service which require log in with svcutil.exe. How can i do that开发者_运维百科 ?There are basically three ways to accomplish this:

I am trying to get metadatas of a service which require log in with svcutil.exe. How can i do that开发者_运维百科 ?


There are basically three ways to accomplish this:

1) Use Visual Studio "Add Service Reference" it will ask you for credentials.

2) Browse to WSDL in IE (after passing your credentials) and save off all WSDLs and XSDs then generate your Proxy using SVCUTIL from those. Pain in the rear b/c it requires manual edits.

3) Obtain the proxy from the Service Provider. They should have them generated and ready for you.

The strange thing is that the provider should have an exposed http endpoint w/o security that is available for you to generate your proxy from, as the first two of these aren't that user friendly depending on environment (firewalls, security settings, etc.). Worst case they should be able to provide you WSDL to generate your proxy from.

0

精彩评论

暂无评论...
验证码 换一张
取 消