Which version of Axis2 are you using. If you are using the latest Axis2 1.3, Classes related to addressing and it's module.xml will be available in axis2-1.3.jar. Thus, you just need to get axis2-1.3.jar in the classpath, with other 3rd party jars.
Thank you Saminda On 9/24/07, zhrb <[EMAIL PROTECTED]> wrote: > > Hello, > > I think I have to ask for help.I have ask "[EMAIL PROTECTED] for > help.But nobody answered my question.Hoping I can get help here. > 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" way? > > .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 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) >   ; > How should I change the client code?Maybe the "sender.engageModule(new > QName(Constants.MODULE_ADDRESSING));"?If so,how to? > > Waiting for your help. > > > -Zhang > > > ------------------------------ > 用 Windows Live Spaces 展示个性自我,与好友分享生活! 了解更多信息!<http://spaces.live.com/?page=HP> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Saminda Abeyruwan Senior Software Engineer WSO2 Inc. - www.wso2.org