shivendra tripathi wrote:Have you specified your repository path while creating configuration context if not pass it as param -Daxis2.repo="your axis module dir". I have responded to your post related to axis handlers you can have a look.
shivendra tripathi wrote:
Then pass this config context while creating the ServiceClient. If you don't want to do that then create as "new ServiceClient()" and pass repo path as jvm argument while running the client. If you are using eclipse you have got run configurations where you can mention jvm arguments.
shivendra tripathi wrote:Sorry I forgot to mention one more thing.
mention your axis2 config file with rampart enable as following in jvm parameter.
-Daxis2.xml="location of axis2 xml with rampart engaged".
I hope axis/lib is already in your class path.
Ulf Dittmer wrote:Does the "modules" directory contain the addressing, rahas and rampart .mar files?
Ulf Dittmer wrote:That looks like the contents of the server-side modules directory; what about the client-side modules directory?
shivendra tripathi wrote:Can you post your axis2.xml
shivendra tripathi wrote:I probably got the problem. I tried following and it worked.
so in case of repo you have to give the dir which contains modules dir.