Re: ds:Refence URI not Encripted

2009-01-22 Thread Manjula Peiris
Check the policy in your server side and compare for any mismatch.
BTW, this list is for Axis2/C and related project users. you may get a
better answer by posting to Rampart (Java) list.


On Thu, 2009-01-22 at 18:28 -0500, m4rkuz wrote:
> Hi Everyone,
> 
> I'm new to Axis2 and Rampart, but I need to do something very easy
> with them and haven't been able to do it..
> 
> The main problem is that I'm just to newbie at this, but for what I've
> learn I had seen the problem described below...
> 
> I need to consume a WebService that only needs to be signed, I have
> trayed the onlySing example for rampart but I keep getting:
> 
> FAULT MESSAGE: An unsupported token was provided
> 
> Somebody has a working client made with the oracle suit, (I Cannot use
> that) and send me an example soap message, comparing the two I only
> see one diference
> 
> Mine:
> ...
> 
> ...
> 
> 
> the working one:
> 
> 
> ...
> 
> 
> 
> how can I do to encript that URI ???
> 
> I had attached the policy file..
> 
> any Ideas??
> 
> 
> 
> Cordialmente,
> 
> 
> Marcus V. Sánchez D.
> __
> Enterprise Developer.
> Sun Certified Java Programmer (SCJP)



ds:Refence URI not Encripted

2009-01-22 Thread m4rkuz
Hi Everyone,

I'm new to Axis2 and Rampart, but I need to do something very easy with them
and haven't been able to do it..

The main problem is that I'm just to newbie at this, but for what I've learn
I had seen the problem described below...

I need to consume a WebService that only needs to be signed, I have trayed
the onlySing example for rampart but I keep getting:
*
FAULT MESSAGE: An unsupported token was provided*

Somebody has a working client made with the oracle suit, (I Cannot use that)
and send me an example soap message, comparing the two I only see one
diference

Mine:
...

...


the working one:


...



how can I do to encript that URI ???

I had attached the policy file..

any Ideas??



Cordialmente,


Marcus V. Sánchez D.
__
Enterprise Developer.
Sun Certified Java Programmer (SCJP)

	
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
	xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
	
		
			http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>

	
		
			http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient";>

	

			
		
	
	
		
			http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never";>

	

			
		
	
	
		
			
		
	
	
		
			
		
	
	
	

			
			http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>

	
	

			
			http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>

			
			http://ws.apache.org/rampart/policy";>
sam
dave
com.heinsohn.test.PWCBHandler


	
		JKS
		
			C:\RUNT\keystore\mytestkeystore.jks
		mytestkeystore
	


	
		JKS
		
			C:\RUNT\keystore\mytestkeystore.jks
		mytestkeystore