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

 


Help: OASIS Mailing Lists Help | MarkMail Help

provision message

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


Subject: Liberty Identity Personal Profile example...


There has been an interesting discussion on the list concerning handling structured data in SPML. The discussion started with the question of how a Project Liberty Personal Profile could be created using an SPML Web Service.
 
Attached are two examples that show how this could be done using SPML as it is currently specified. One example shows how it could be done using a hierarchical model and one shows a referential model.
 
Just my 2 cents.
 
Jeff Bohren
OpenNetwork Technologies
<spml:batchRequest xmlns:spml='urn:oasis:names:tc:SPML:1:0' xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' requestID='localhost_AddReq60'>
  <spml:addRequest>
    <spml:identifier identifierType='urn:oasis:names:tc:SPML:1:0#DN'>
      <spml:id>InformalName=theWanderer</spml:id>
    </spml:identifier>
    <spml:attributes>
      <dsml:attr name='objectclass'>
        <dsml:value>IDPP</dsml:value>
      </dsml:attr>
      <dsml:attr name='InformalName'>
        <dsml:value>theWanderer</dsml:value>
      </dsml:attr>
    </spml:attributes>
  </spml:addRequest>
  <spml:addRequest>
    <spml:identifier identifierType='urn:oasis:names:tc:SPML:1:0#DN'>
      <spml:id>InformalName=theWanderer,CN=Zita Lopes</spml:id>
    </spml:identifier>
    <spml:attributes>
      <dsml:attr name='objectclass'>
        <dsml:value>CommonName</dsml:value>
      </dsml:attr>
      <dsml:attr name='CN'>
        <dsml:value>Zita Lopes</dsml:value>
      </dsml:attr>
      <dsml:attr name='AltCN'>
        <dsml:value>Maria Lopes</dsml:value>
      </dsml:attr>
    </spml:attributes>
  </spml:addRequest>
  <spml:addRequest>
    <spml:identifier identifierType='urn:oasis:names:tc:SPML:1:0#DN'>
      <spml:id>InformalName=theWanderer,LegalName=Zita Maria Oliveira da Figueira Lopes</spml:id>
    </spml:identifier>
    <spml:attributes>
      <dsml:attr name='objectclass'>
        <dsml:value>LegalIdentity</dsml:value>
      </dsml:attr>
      <dsml:attr name='LegalName'>
        <dsml:value>Zita Maria Oliveira da Figueira Lopes</dsml:value>
      </dsml:attr>
      <dsml:attr name='VAT'>
        <dsml:value>502677123</dsml:value>
      </dsml:attr>
    </spml:attributes>
  </spml:addRequest>
</spml:batchRequest>

<spml:batchRequest xmlns:spml='urn:oasis:names:tc:SPML:1:0' xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' requestID='localhost_AddReq60'>
  <spml:addRequest>
    <spml:identifier identifierType='urn:oasis:names:tc:SPML:1:0#GUID'>
      <spml:id>d45gh78i</spml:id>
    </spml:identifier>
    <spml:attributes>
      <dsml:attr name='objectclass'>
        <dsml:value>IDPP</dsml:value>
      </dsml:attr>
      <dsml:attr name='InformalName'>
        <dsml:value>theWanderer</dsml:value>
      </dsml:attr>
      <dsml:attr name='CommonName'>
        <dsml:value>k87t85h</dsml:value>
      </dsml:attr>
      <dsml:attr name='LegalIdentity'>
        <dsml:value>g987uj6d</dsml:value>
      </dsml:attr>
    </spml:attributes>
  </spml:addRequest>
  <spml:addRequest>
    <spml:identifier identifierType='urn:oasis:names:tc:SPML:1:0#GUID'>
      <spml:id>k87t85h</spml:id>
    </spml:identifier>
    <spml:attributes>
      <dsml:attr name='objectclass'>
        <dsml:value>CommonName</dsml:value>
      </dsml:attr>
      <dsml:attr name='CN'>
        <dsml:value>Zita Lopes</dsml:value>
      </dsml:attr>
      <dsml:attr name='AltCN'>
        <dsml:value>Maria Lopes</dsml:value>
      </dsml:attr>
    </spml:attributes>
  </spml:addRequest>
  <spml:addRequest>
    <spml:identifier identifierType='urn:oasis:names:tc:SPML:1:0#GUID'>
      <spml:id>g987uj6d</spml:id>
    </spml:identifier>
    <spml:attributes>
      <dsml:attr name='objectclass'>
        <dsml:value>LegalIdentity</dsml:value>
      </dsml:attr>
      <dsml:attr name='LegalName'>
        <dsml:value>Zita Maria Oliveira da Figueira Lopes</dsml:value>
      </dsml:attr>
      <dsml:attr name='VAT'>
        <dsml:value>502677123</dsml:value>
      </dsml:attr>
    </spml:attributes>
  </spml:addRequest>
</spml:batchRequest>



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