Hi ruchith, i reinstalled java, got java 1.6, got axis 2 1.3 and rampart 1.3. i copied all the lib files and modules to the standard axis2 1.3 binary distribution, the addressing1.3 mar value was already written in the correct way in the build.xml file, and copied log4j-1.2.9.jar to axis2.lib, yet when i initialise a client in the samples, i get this:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\User>cd C:\Documents and Settings\User\My Documents\We
bServices\Programs\Java\rampart-1.3\rampart-1.3\samples\basic

C:\Documents and Settings\User\My Documents\WebServices\Programs\Java\rampart-1.
3\rampart-1.3\samples\basic>ant client.04
Buildfile: build.xml

check.dependency:

client.04:
[copy] Copying 1 file to C:\Documents and Settings\User\My Documents\WebSer
vices\Programs\Java\rampart-1.3\rampart-1.3\samples\basic\build\client_repositor
ies\sample04\conf
[copy] Copying 1 file to C:\Documents and Settings\User\My Documents\WebSer
vices\Programs\Java\rampart-1.3\rampart-1.3\samples\basic\build\client_repositor
ies\sample04\modules
[copy] Copying 1 file to C:\Documents and Settings\User\My Documents\WebSer
vices\Programs\Java\rampart-1.3\rampart-1.3\samples\basic\build\client_repositor
ies\sample04\modules
[copy] Copying 1 file to C:\Documents and Settings\User\My Documents\WebSer
vices\Programs\Java\rampart-1.3\rampart-1.3\samples\basic\build\temp_client
[copy] Copying 1 file to C:\Documents and Settings\User\My Documents\WebSer
vices\Programs\Java\rampart-1.3\rampart-1.3\samples\basic\build\temp_client
[java] Exception in thread "main" org.apache.axis2.AxisFault: The service c annot be found for the endpoint reference (EPR) http://localhost:8080/axis2/serv
ices/sample04
[java] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext
(Utils.java:486)
[java] at org.apache.axis2.description.OutInAxisOperationClient.handleR
esponse(OutInAxisOperation.java:343)
[java] at org.apache.axis2.description.OutInAxisOperationClient.send(Ou
tInAxisOperation.java:389)
[java] at org.apache.axis2.description.OutInAxisOperationClient.execute
Impl(OutInAxisOperation.java:211)
[java] at org.apache.axis2.client.OperationClient.execute(OperationClie
nt.java:163)
[java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie
nt.java:528)
[java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie
nt.java:508)
[java] at org.apache.rampart.samples.sample04.Client.main(Unknown Sourc
e)
    [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 3 seconds
C:\Documents and Settings\User\My Documents\WebServices\Programs\Java\rampart-1.
3\rampart-1.3\samples\basic>


From: Ruchith Fernando <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [rampart sample not working]
Date: Tue, 18 Sep 2007 16:30:09 +0530

Hi,

Seems like you are using Rampart-1.2. Are you using this with Axis2-1.2?
And did you follow all instructions in the README files?

Thanks,
Ruchith

shams jawaid wrote:
> Hi ,
>
> i am trying to run a sample from the rampart folders, and i am not able
> to initialise the client..and i get this error message, if anyone know
> what it means, please let me know:
>
>
>     [java] Exception in thread "main" org.apache.axis2.AxisFault:
> WSDoAllReceiv
> er: security processing failed
>     [java]     at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext
> (Utils.java:434)
>     [java]     at
> org.apache.axis2.description.OutInAxisOperationClient.send(Ou
> tInAxisOperation.java:373)
>     [java]     at
> org.apache.axis2.description.OutInAxisOperationClient.execute
> (OutInAxisOperation.java:294)
>     [java]     at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie
> nt.java:520)
>     [java]     at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie
> nt.java:500)
>     [java]     at
> org.apache.rampart.samples.sample04.Client.main(Unknown Sourc
> e)
>     [java] Java Result: 1
>
> BUILD SUCCESSFUL
> Total time: 3 seconds
> C:\Documents and Settings\User\My
> Documents\WebServices\Programs\web\Rampart\ram
> part-1.2\samples\basic>
>
> _________________________________________________________________
> Get Pimped! FREE emoticon packs from Windows Live -
> http://www.pimpmylive.co.uk
>
>




<< signature.asc >>

_________________________________________________________________
The next generation of Hotmail is here!  http://www.newhotmail.co.uk

Reply via email to