You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by ellen <el...@163.com> on 2015/06/23 07:00:36 UTC

Case sensitive for optional or Optional in ws-polciy?

Hi Dear all,

I would like to use ws-polciy in my project.

I see I can state this policy is: wsp:Optional or wsp:Ignorable.

But are these attributes Case sensitive?

Can I write lowcase wsp:optional in my wsdl?

Such as <wsat:ATAssertion wsp:optional="true" />

Or I must write capitalized "Optional"?

Thanks a lot! :)



--
View this message in context: http://cxf.547215.n5.nabble.com/Case-sensitive-for-optional-or-Optional-in-ws-polciy-tp5758507.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Case sensitive for optional or Optional in ws-polciy?

Posted by Daniel Kulp <dk...@apache.org>.
> On Jun 23, 2015, at 1:00 AM, ellen <el...@163.com> wrote:
> 
> Hi Dear all,
> 
> I would like to use ws-polciy in my project.
> 
> I see I can state this policy is: wsp:Optional or wsp:Ignorable.
> 
> But are these attributes Case sensitive?

Yes.   They are defined in the schema for ws-policy and thus would have to match what the schema says.

Dan


> 
> Can I write lowcase wsp:optional in my wsdl?
> 
> Such as <wsat:ATAssertion wsp:optional="true" />
> 
> Or I must write capitalized "Optional"?
> 
> Thanks a lot! :)
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Case-sensitive-for-optional-or-Optional-in-ws-polciy-tp5758507.html
> Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com