简体   繁体   中英

C# axis2 client

我是c#language.i的新手。我看到你把c#客户端应用程序写到了axis2 web service.i也想知道我如何为axis2应用程序编写C#客户端

I believe that Axis exposes WSDL in the normal way, so you should be able to use "Add Web Reference" from Visual Studio, point it at the relevant Axis WSDL URL , and use the autogenerated client proxy.

I seem to remember there are some subtleties around using null vs empty arrays , but mostly it works fine - or did when I last tried several years ago, anyway.

For any new web service development, I suggest you use WCF instead of the old-style ASMX web services framework that you would get from using "Add Web Reference". Use "Add Service Reference" instead. ASMX is next to obsolete, in the sense that only critical security fixes are expected.

Many AXIS2 services are configured with WS-Security enabled, and WCF is the only practical way to handle those.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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