Gopal Patwa wrote: > Thanks Chinthaka, It work now but I have some other problem. > > I have wrote axis2 asynchronous service to work with BPEL. When I am trying > to call BPEL service while to engaging addressing module > > ServiceClient sender = new ServiceClient(); > sender.engageModule(new QName(Constants.MODULE_ADDRESSING)); > > Note: this code run on tomcat 5.5 not from some java client > > I get module not found, since my service is deployed in tomcat 5.5 with axis > 1.0RC1 webapp and globally engage addressing module which I can see from > admin page.
You have engaged addressing in server side. Client is running in a different environment. > > Do I need to engage addressing module for ServiceClient even I have globally > set for all service > > When I am debugging my service in eclipse 3.1, I see error module not found > ?? after this line of code > > sender.engageModule(new QName(Constants.MODULE_ADDRESSING)); > > any idea why it is happening Hmm, it seems I better update the FAQ abt this. When you run your client, try putting addressing-<version>.mar in your classpath. -- Chinthaka
signature.asc
Description: OpenPGP digital signature
