在.net中使用Axis-2 Web服务 [英] Consuming an Axis-2 web service in .net

查看:102
本文介绍了在.net中使用Axis-2 Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个axis2 Web服务.我如何在wpf(C#)应用程序中使用它.我想创建一个代理类,并在我的wpf应用程序中引用它.我尝试了如下操作,但没有得到解决方案....

Hello all,

I have an axis2 web service. How I can consume it in my wpf(C#) application. I would like to create a proxy class and refer it in my wpf application. I have tried it as follows , but didn''t get solution....

wsdl http://192.168.1.152:8084/axis2/services/MyService.MyHttpSoap11Endpoint/



同时,我可以成功创建使用.net创建的Web服务的代理类.



Meanwhile I could successfully create a proxy class of a webservice created using .net ..

wsdl http://localhost:50749/Service1.asmx



问候
Sebastian



Regards
Sebastian

推荐答案

您需要使用 WCF Express互操作绑定 [
You need to use ServiceModel Metadata Utility Tool (Svcutil.exe)[^], not wsdl

[Update]
Use WCF Express Interop Bindings[^]

The WCF Express Interop bindings is a Visual Studio extension that walks the developer through clear and simple questions about the type of interop they need between a WCF service and the main Java servers:

  • Oracle WebLogic
  • Oracle Metro
  • IBM WebSphere
  • Apache Axis2


这篇关于在.net中使用Axis-2 Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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