Hi,
 
 I am now using axis2 accessing .net web service following samples 
of"EchoNonBlockingDualClient".The userguide just mentions the condition ofboth 
web service and client are based on axis2.But if my web service is .net web 
service,how should I use Axis2 client to access in the 
"EchoNonBlockingDualClient" way?
 
.net web service as follows:
 
  public string HelloWorld(string name)  {     return "Hello World"+name;  }
 
Axis2 client code is in the attachment.I think the key code 
"sender.engageModule(Constants.MODULE_ADDRESSING);" maybe need some change.
 
When I run the client,appearing the following information:
 
org.apache.axis2.AxisFault: Unable to engage module : addressing at 
org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:333) at 
org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:318) at 
Test.NonBlockingDualClient.main(NonBlockingDualClient.java:47)
 
Please help me ,how should I change the client code?Thanks!
 
 
_________________________________________________________________
Windows Live Custom Domain,您的免费电子邮局。
https://domains.live.com/default.aspx

Reply via email to