Hi,

When I execute the Axis2 java standalone client to contact a Axis2
webservice, below exception is thrown.

Addressing module is engaged but not the rampart module. Both the .mar
files are available in the path. Please advice where I am missing.


C:\Sample-WebService>ant create-and-run-client
Buildfile: build.xml

clean:
   [delete] Deleting directory C:\Sample-WebService\build

create-and-run-client:
    [mkdir] Created dir: C:\Sample-WebService\build
    [mkdir] Created dir: C:\Sample-WebService\build\temp_client
    [mkdir] Created dir: C:\Sample-WebService\build\client_repository
    [mkdir] Created dir:
C:\Sample-WebService\build\client_repository\conf
    [mkdir] Created dir:
C:\Sample-WebService\build\client_repository\modules
     [copy] Copying 1 file to
C:\Sample-WebService\build\client_repository\modules
     [copy] Copying 1 file to
C:\Sample-WebService\build\client_repository\modules
    [javac] Compiling 2 source files to
C:\Sample-WebService\build\temp_client
     [copy] Copying 1 file to C:\Sample-WebService\build
     [java] Before engage addressing module &&&&

     [java] After engage addressing module &&&&

     [java] Before engage rampart module &&&&

     [java] org.apache.axis2.AxisFault: Unable to engage module :
rampart
     [java]     at
org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:33
9)
     [java]     at
org.apache.rampart.weblogic.sample.Client.main(Client.java:65)
     [java] Exception in thread "main"
     [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 6 seconds

Thanks & Regards,

Peter Rajesh <http://www.google.com/search?hl=en&q=peter+rajesh>  |
860-547-3881



*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************

Reply via email to