Hi Christian,
Thanks for pointing that out. I will fix it and commit it now.
thanks,
/nandana
On Tue, Mar 4, 2008 at 9:31 PM, Christian Mielke <[EMAIL PROTECTED]> wrote:
> Ok I found the problem:
>
> In the current version of RAMPART in the class IssuedTokenBuilder.java in
> the method build() it is looked for the "Address"-element as following:
>
> OMElement issuerEpr = issuerElem.getFirstChildWithName(new QName("Address"));
>
> This returns always NULL for "issuerEpr". I changed it to this:
>
> OMElement issuerEpr = issuerElem.getFirstChildWithName(new
> QName("http://www.w3.org/2005/08/addressing","Address"));
>
> When adding the namespace to the QName-constructor, the "Address"-elements
> gets found and so "issuerEpr" is not NULL.
>
> Greetings
> Christian
>
> ----- original Nachricht --------
>
> Betreff: Invalid Issuer Address
> Gesendet: Di, 04. Mär 2008
> Von: Christian Mielke<[EMAIL PROTECTED]>
>
> > Hi,
> >
> > when calling a service with the policy, attached to this mail as file, the
> > class RampartUtil.java throws a RampartException in the method
> > processIssuerAddress().
> >
> > I am using the latest Rampart version of the trunk. When I use a backup of
> > Ramaprt, which is nearly one week old, everything works fine.
> >
> > The problem seems to be that the paramter "issuerEpr" in the instance of
> the
> > class IssuedToken is NULL. It seems for me that the current Rampart
> version
> > has a problem to find the Issuer-Address-Element inside the policy ?!?
> >
> > Now I am using something like this:
> >
> > <issuer>
> > <address>http://....</address>
> > </issuer>
> >
> > You can see this when looking at the attached policy. Must I change
> > something inside the policy at this position?
> >
> > Greetings
> > Christian
> >
> >
>
> --- original Nachricht Ende ----
>
>