Hi, Did you add addressing mar to your class path ( If not you should add it ..)
Best, --Sanka On Jan 9, 2008 10:44 AM, asd <[EMAIL PROTECTED]> wrote: > i am an newbie to axis2. > i had writen a simple program using SOAP with axis2,it work fine. > then,i alert the client code a litte to like below: > > //.... > client = new ServiceClient(); > client.engageModule( Constants.MODULE_ADDRESSING); > client.setOptions( options); > > OMElement result = client.sendReceive( methodE); > //..... > > sometheing wrong occure. > the exception lists: > > org.apache.axis2.AxisFault: Unable to engage module : addressing > at org.apache.axis2.client.ServiceClient.engageModule( > ServiceClient.java:339) > at > net.asd.study.soa.axiom.client.SayHelloClient.testRESTSayAXIOMHello( > SayHelloClient.java:107) > at net.asd.study.soa.axiom.client.SayHelloClient.main( > SayHelloClient.java:130) > > > i google for the issue,and find that need add address module into my > configure. > but i do not know the detail way to do this. > and all of my client configuration was a simple java class with some > corresponded jar in my class path.i did not find a configuration to > addin modules. > > can some friends help me how to confirue this in client, > thanks a lot. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Sanka Samaranayake WSO2 Inc. http://www.bloglines.com/blog/sanka http://www.wso2.org/
