axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhrb <>
Subject Axis2 access .net web service in the way of "non-blocking dual"
Date Sun, 23 Sep 2007 23:46:46 GMT
I am now using axis2 accessing .net web service following samples of "EchoNonBlockingDualClient".The
userguide just mentions the condition of both 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"
 .net web service as follows:
  public string HelloWorld(string name)  {     return "Hello World"+name;  }
Axis2 client code is in the attachment.When I run the client code,appearing the following
org.apache.axis2.AxisFault: Unable to engage module : addressing at org.apache.axis2.client.ServiceClient.engageModule(
at org.apache.axis2.client.ServiceClient.engageModule( at Test.NonBlockingDualClient.main(
How should I change the client code?Maybe the "sender.engageModule(new QName(Constants.MODULE_ADDRESSING));"?If
so,how to?
Waiting for your help.
手机也能上 MSN 聊天了,快来试试吧!
View raw message