开发者

"No endpoint listening" when Accessing axis2 webservice from .net client

开发者 https://www.devze.com 2023-01-26 02:06 出处:网络
I have to consume data from axis2 webservice. I added it\'s URI to Service开发者_StackOverflow中文版 References folder in my .NET client and I can view all methods and fields of this webservice in Obj

I have to consume data from axis2 webservice. I added it's URI to Service开发者_StackOverflow中文版 References folder in my .NET client and I can view all methods and fields of this webservice in Object Browser tab. But when I am trying to use it's method i recive error:

"There was no endpoint listening at http://my_service_url that could accept the
message. This is often caused by an incorrect address or SOAP action."

I am sure that address is correct since I can see this WS in object browser but it isnt working. Obviously I lack knowledge in this area, but I wasnt able to get help via google. I would appreciate for any tip.

PS. I am using VS 2008 and C#


please check endpoint of the service. u have to define endpoint in web.config file


Try visiting the web service in a browser to make sure it's there. Axis2 may have a page that lets you call the methods on the service with parameters.

I have a feeling the problem is that you are asking for a SOAP action that it doesn't support.

0

精彩评论

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

关注公众号