OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ws-sx message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: NEW Issue: Some typos and errors on policy examples


PLEASE DO NOT REPLY TO THIS EMAIL OR START A DISCUSSISON THREAD UNTIL THE ISSUE IS ASSIGNED A NUMBER.  
The issues coordinators will notify the list when that has occurred.
 
Protocol:  ws-sp 
 

http://docs.oasis-open.org/ws-sx/ws-sp-usecases-examples-draft-19-01.doc

http://www.oasis-open.org/apps/org/workgroup/ws-sx/download.php/29162/ws-sp-usecases-examples-draft-19-01.doc   
 
Artifact:  Examples 
 
Type: Interop Testing
 
Title: Some typos and errors on policy examples 
 
In preparing policy files for the upcoming WS-SecurityPolicy interop testing, I found some XML syntax problems, minor errors and typos in the policy examples that should be fixed.  
 

(1) Add IncludeToken to all <sp:usernameToken /> assertions. For example, policy example on section 2.1.1.1 to be changed to:

 

(P001)  <wsp:Policy>

(P002)    <sp:SupportingTokens>

(P003)      <wsp:Policy>

(P004)        <sp:UsernameToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient"/>

(P005)      </wsp:Policy>

(P006)    </sp:SupportingTokens>

(P007)  </wsp:Policy>

 

The line # to be changed include: 431, 478, and 521.

 

(2) Section 2.4.1, policy example:

 

Line 5875 should be deleted.  

 

(P089)        <wsaw:UsingAddressing/>

 

(3) Section 2.3.2.5, policy example there are some namespace syntax problems. WS-Policy namespace should be xmlns:wsp="http://www.w3.org/ns/ws-policy". Also, some namespace has no reference in the policy, they should be removed.

 

For example, line# 4340-4347 should be changed to:

 

(P001)              <wsp:Policy wsu:Id="Service5-Policy"

(P002)                xmlns:a="http://www.w3.org/2005/08/addressing"

(P003)                xmlns:wsp="http://www.w3.org/ns/ws-policy"

(P004)                xmlns:sp="..."

(P005)                xmlns:t="..."

(P006)                xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"

(P007)              > 

 

And line 4431 to 4437 should be changed to:

 

(P086)              <wsp:Policy wsu:Id="InOut-Policy"

(P087)                xmlns:wsp="http://www.w3.org/ns/ws-policy"

(P088)                xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"

(P089)                xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

 

Some changes should be applied to STS Policy, from line # 4502-4509 to be changed to:

 

(PSTS-001)            <wsp:Policy wsu:Id="STS5-Policy"

(PSTS-002)              xmlns:wsp="http://www.w3.org/ns/ws-policy"

(PSTS-003)            xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"

(PSTS-004)              xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"

(PSTS-005)            > 

 

Line# 4572-4579 to be changed to:

 

(PSTS-067)            <wsp:Policy wsu:Id="InOut-Policy"

(PSTS-069)              xmlns:wsp="http://www.w3.org/ns/ws-policy"

(PSTS-070)            xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"

(PSTS-071)              xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"

(PSTS-072)            > 

 

 

 

Symon Chang

 

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]