You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Pavan Madiraju <ma...@gmail.com> on 2007/08/04 06:32:10 UTC

Rampart Sample 4 -

I am trying to execute sample 4 from Rampart samples. I am getting the
following soap fault

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Header>
		<wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action>
	</soapenv:Header>
	<soapenv:Body>
		<soapenv:Fault>
			<faultcode>soapenv:Client</faultcode>
			<faultstring>WSDoAllReceiver: security processing failed</faultstring>
			<detail/>
		</soapenv:Fault>
	</soapenv:Body>
</soapenv:Envelope>

not sure what'z is the problem.
Here is what I see while executing the client
Buildfile: C:\Development\axis\rampart-1.2\samples\basic\build.xml
check.dependency:
client.04:
     [copy] Copying 1 file to
C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04\conf
     [copy] Copying 1 file to
C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04\modules
     [copy] Copying 1 file to
C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04\modules
     [copy] Copying 1 file to
C:\Development\axis\rampart-1.2\samples\basic\build\temp_client
     [copy] Copying 1 file to
C:\Development\axis\rampart-1.2\samples\basic\build\temp_client
     [java] Aug 4, 2007 12:25:02 AM
org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: No services directory was found under
C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04.
     [java] Aug 4, 2007 12:25:02 AM
org.apache.axis2.deployment.ModuleDeployer deploy
     [java] INFO: Deploying module: addressing-1.2
     [java] Aug 4, 2007 12:25:03 AM
org.apache.axis2.deployment.ModuleDeployer deploy
     [java] INFO: Deploying module: rampart-1.2
     [java] Exception in thread "main" org.apache.axis2.AxisFault:
WSDoAllReceiver: security processing failed
     [java] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
     [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
     [java] at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
     [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520)
     [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:500)
     [java] at org.apache.rampart.samples.sample04.Client.main(Unknown Source)
     [java] Java Result: 1
BUILD SUCCESSFUL
Total time: 5 seconds


I don't see anything in the console. Not sure why. I am running WAS
6.1 , Axis2 1.2 and Rampart 1.2

Attached are my request and response as well as the log property file.

Please help.

Regards,
Pavam

Re: Rampart Sample 4 -

Posted by Ruchith Fernando <ru...@gmail.com>.
Can you please post your client and service configuration?

Thanks,
Ruchith

p.s. Please *subscribe* by sending a mail to
rampart-dev-subscribe@ws.apache.org and post rampart related issues in
the rampart-dev@ list

On 8/4/07, Pavan Madiraju <ma...@gmail.com> wrote:
> I am trying to execute sample 4 from Rampart samples. I am getting the
> following soap fault
>
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing"
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>         <soapenv:Header>
>                 <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action>
>         </soapenv:Header>
>         <soapenv:Body>
>                 <soapenv:Fault>
>                         <faultcode>soapenv:Client</faultcode>
>                         <faultstring>WSDoAllReceiver: security processing failed</faultstring>
>                         <detail/>
>                 </soapenv:Fault>
>         </soapenv:Body>
> </soapenv:Envelope>
>
> not sure what'z is the problem.
> Here is what I see while executing the client
> Buildfile: C:\Development\axis\rampart-1.2\samples\basic\build.xml
> check.dependency:
> client.04:
>      [copy] Copying 1 file to
> C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04\conf
>      [copy] Copying 1 file to
> C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04\modules
>      [copy] Copying 1 file to
> C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04\modules
>      [copy] Copying 1 file to
> C:\Development\axis\rampart-1.2\samples\basic\build\temp_client
>      [copy] Copying 1 file to
> C:\Development\axis\rampart-1.2\samples\basic\build\temp_client
>      [java] Aug 4, 2007 12:25:02 AM
> org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: No services directory was found under
> C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04.
>      [java] Aug 4, 2007 12:25:02 AM
> org.apache.axis2.deployment.ModuleDeployer deploy
>      [java] INFO: Deploying module: addressing-1.2
>      [java] Aug 4, 2007 12:25:03 AM
> org.apache.axis2.deployment.ModuleDeployer deploy
>      [java] INFO: Deploying module: rampart-1.2
>      [java] Exception in thread "main" org.apache.axis2.AxisFault:
> WSDoAllReceiver: security processing failed
>      [java] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
>      [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
>      [java] at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
>      [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520)
>      [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:500)
>      [java] at org.apache.rampart.samples.sample04.Client.main(Unknown Source)
>      [java] Java Result: 1
> BUILD SUCCESSFUL
> Total time: 5 seconds
>
>
> I don't see anything in the console. Not sure why. I am running WAS
> 6.1 , Axis2 1.2 and Rampart 1.2
>
> Attached are my request and response as well as the log property file.
>
> Please help.
>
> Regards,
> Pavam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
www.ruchith.org
www.wso2.org

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org