Hi Narayan,
This issue is fixed in the trunk now. Now you can define namespaces
as given in your example.
Thanks,
Nandana
On 1/10/08, Nandana Mihindukulasooriya <[EMAIL PROTECTED]> wrote:
> Hi Narayan,
>
> <wsp:Policy wsu:Id="InitiatePaymentRequestSignedPolicy">
> > <sp:SignedElements>
> > <sp:XPath
> > xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">//S:Envelope/S:Body<
> > /sp:XPath>
> > </sp:SignedElements>
> > </wsp:Policy>
> >
> > If target soap envelope contains some other prefix to "S", this XPath
> > expression won't work in Rampart.
>
>
> yes, this seems the case at the moment.
>
> I think this is a bug in RampartUtil, it should also register the
> > namespaces defined with XPath expression as part of policy?
>
>
> Yes, can you please create a JIRA for this ? We will allow to define
> namespaces in <sp:XPath/> element as you have in your example.
>
> Thanks,
> Nandana
>
>
> >
> >
> >
> > Regards, Narayan
> >
> >
> > *****************************************************
> > This email is issued by a VocaLink group company. It is confidential and
> > intended for the exclusive use of the addressee only. You should not
> > disclose its contents to any other person. If you are not the addressee
> (or
> > responsible for delivery of the message to the addressee), please notify
> the
> > originator immediately by return message and destroy the original message.
> > The contents of this email will have no contractual effect unless it is
> > otherwise agreed between a specific VocaLink group company and the
> > recipient.
> >
> > The VocaLink group companies include, among others: VocaLink Limited
> > (Company No 06119048, VAT No. 907 9619 87) which is registered in England
> > and Wales at registered office Drake House, Homestead Road, Rickmansworth,
> > WD3 1FX. United Kingdom, Voca Limited (Company no 1023742, VAT No. 907
> 9619
> > 87) which is registered in England and Wales at registered office Drake
> > House, Three Rivers Court, Homestead Road, Rickmansworth, Hertfordshire.
> WD3
> > 1FX. United Kingdom, LINK Interchange Network Limited (Company No 3565766,
> > VAT No. 907 9619 87) which is registered in England and Wales at
> registered
> > office Arundel House, 1 Liverpool Gardens, Worthing, West Sussex, BN11 1SL
> > and VocaLink Holdings Limited (Company No 06119036, VAT No. 907 9619 87)
> > which is registered in England and Wales at registered office Drake House,
> > Homestead Road, Rickmansworth, WD3 1FX. United Kingdom.
> >
> > The views and opinions expressed in this email may not reflect those of
> > any member of the VocaLink group. This message and any attachments have
> been
> > scanned for viruses prior to leaving the VocaLink group network; however,
> > VocaLink does not guarantee the security of this message and will not be
> > responsible for any damages arising as a result of any virus being passed
> on
> > or arising from any alteration of this message by a third party. The
> > VocaLink group may monitor emails sent to and from the VocaLink group
> > network.
> >
> > This message has been checked for all email viruses by MessageLabs.
> > *************************************************************
>