Hi Tom,
Did you take a look at rampart policy sample 5 [1] ? Hope it will help.
But you need to change the policy according to your requirement.
thanks,
nandana
[1] -
https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-samples/policy/sample05/src/org/apache/rampart/samples/policy/sample05/Client.java
On Thu, Oct 23, 2008 at 8:28 PM, Cort, Tom <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm developing a web service client with axis2 1.4 and rampart 1.4. The
> client calls a login service with a UsernameToken and the service returns a
> SAML assertion. The SAML assertion has an attribute containing a session
> token. I need to yank out that SAML assertion and use it in calls to other
> web services. The calls to the other web services need the SAML assertion, a
> UsernameToken and Timestamp. I'm able to get the OMElement that contains the
> SAML assertion from the login service's response. My question is... how do I
> insert that SAML assertion (OMElement) into a call to another service?
>
> Any ideas or links would be very much appreciated. Thank you!
>
> --
> Tom Cort
> Systems Developer
> Vermont Department of Taxes
>
--
Nandana Mihindukulasooriya
WSO2 inc.
http://nandana83.blogspot.com/
http://www.wso2.org