在C#应用程序中使用java web服务

在C#应用程序中使用java web服务,c#,apache,web-services,soapui,axis2,C#,Apache,Web Services,Soapui,Axis2,我打算使用web服务开发一个C#应用程序,但该服务是由ApacheAxis2开发的,我无法处理该服务以在C#中集成添加服务引用。我没有得到响应,只有格式异常。 我没有服务代码,就像随时可以使用web服务一样,只需提供服务引用并开始使用它 web服务wsdl地址为: 我还尝试使用SOAP UI运行服务,但得到的XML响应如下所示: <faultstring>The endpoint reference (EPR) for the Operation not found is /Ptt

我打算使用web服务开发一个C#应用程序,但该服务是由ApacheAxis2开发的,我无法处理该服务以在C#中集成添加服务引用。我没有得到响应,只有格式异常。 我没有服务代码,就像随时可以使用web服务一样,只需提供服务引用并开始使用它

web服务wsdl地址为:

我还尝试使用SOAP UI运行服务,但得到的XML响应如下所示:

<faultstring>The endpoint reference (EPR) for the Operation not found is /PttBilgi/services/Sorgu.SorguHttpSoap11Endpoint/ and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.</faultstring>
找不到操作的端点引用(EPR)为/PttBilgi/services/Sorgu.SorguHttpSoap11Endpoint/,WSA操作=null。如果以前可以访问此EPR,请与服务器管理员联系。
原始响应如下所示,但有一些技术细节:

HTTP/1.1 500 Internal Server Error
Date: Fri, 14 Apr 2017 07:20:28 GMT
Server: gizli gizli gizli gizli
X-OPNET-Transaction-Trace: a2_5cc44d1b-0e0c-48a5-a44f-942377e9ab70
X-Powered-By: Servlet/2.5 JSP/2.1
Vary: Accept-Encoding,User-Agent
Connection: close
Transfer-Encoding: chunked
Content-Type: application/xml; charset=UTF-8

<faultstring>The endpoint reference (EPR) for the Operation not found is /PttBilgi/services/Sorgu.SorguHttpSoap11Endpoint/ and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.</faultstring>
HTTP/1.1500内部服务器错误
日期:2017年4月14日星期五格林尼治标准时间07:20:28
服务器:gizli gizli gizli gizli
X-OPNET-Transaction-Trace:a2_5cc44d1b-0e0c-48a5-a44f-942377e9ab70
X-Powered-By:Servlet/2.5jsp/2.1
更改:接受编码,用户代理
连接:关闭
传输编码:分块
内容类型:application/xml;字符集=UTF-8
找不到操作的端点引用(EPR)为/PttBilgi/services/Sorgu.SorguHttpSoap11Endpoint/,WSA操作=null。如果以前可以访问此EPR,请与服务器管理员联系。
似乎内容类型必须是text/html才能在C#apps中使用,但该服务的内容类型是application/xml,因此无法转换为读取和处理结果

我如何才能成功地使用该服务,我必须做些什么


谢谢大家

如本文所述

如果Axis2引擎无法找到消息的服务和操作,它将立即失败,并向发送方发送错误

如果未找到服务-“未找到服务EPR为”
如果找到服务但未执行操作-“未找到操作EPR为,WSA Action=“

找到服务但未执行操作。据我所知,手术应该是一种服务方式。已签出资源链接,但不知道是否有机会在.Net中使用它。