{"action":"created","issue":{"url":"https://api.github.com/repos/SamCooper/COMMON_SPEC_RIDS/issues/101","repository_url":"https://api.github.com/repos/SamCooper/COMMON_SPEC_RIDS","labels_url":"https://api.github.com/repos/SamCooper/COMMON_SPEC_RIDS/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/SamCooper/COMMON_SPEC_RIDS/issues/101/comments","events_url":"https://api.github.com/repos/SamCooper/COMMON_SPEC_RIDS/issues/101/events","html_url":"https://github.com/SamCooper/COMMON_SPEC_RIDS/issues/101","id":358602336,"node_id":"MDU6SXNzdWUzNTg2MDIzMzY=","number":101,"title":"[Configuration Service] ExportXML operation example XML documents","user":{"login":"apinder","id":488456,"node_id":"MDQ6VXNlcjQ4ODQ1Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/488456?v=4","gravatar_id":"","url":"https://api.github.com/users/apinder","html_url":"https://github.com/apinder","followers_url":"https://api.github.com/users/apinder/followers","following_url":"https://api.github.com/users/apinder/following{/other_user}","gists_url":"https://api.github.com/users/apinder/gists{/gist_id}","starred_url":"https://api.github.com/users/apinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apinder/subscriptions","organizations_url":"https://api.github.com/users/apinder/orgs","repos_url":"https://api.github.com/users/apinder/repos","events_url":"https://api.github.com/users/apinder/events{/privacy}","received_events_url":"https://api.github.com/users/apinder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T12:33:35Z","updated_at":"2018-09-18T13:07:39Z","closed_at":null,"author_association":"NONE","body":"I'm opening this issue to track and come to a consensus on the output of the current XML documents generated by the `exportXML` operation.\r\n\r\nWe have 4 possible XML documents that we can generate - at the Provider configuration level both compact and complete and at the `ServiceConfiguration` level, again for compact and complete.\r\n\r\nKeep in mind I'll be editing the current form shortly to adhere to the 'MO MAL binding to HTTP\r\ntransport and XML encoding' blue book.\r\n\r\nEDIT: I've just noticed after posting this issue that we already have a discussion regarding this here : https://github.com/SamCooper/COMMON_SPEC_RIDS/issues/92. However I'll keep this issue open and use it to track the latest XML.\r\n\r\nService level, compact:\r\n```\r\n<Object xmlns=\"COM\">\r\n  <ObjectId>\r\n    <ObjectKey>\r\n      <Domain>\r\n        <wstxns1:IdentifierList xmlns:wstxns1=\"MAL\">\r\n          <wstxns1:Identifier>mo</wstxns1:Identifier>\r\n          <wstxns1:Identifier>common</wstxns1:Identifier>\r\n        </wstxns1:IdentifierList>\r\n      </Domain>\r\n      <InstanceId>2</InstanceId>\r\n    </ObjectKey>\r\n    <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"1\" />\r\n  </ObjectId>\r\n  <ObjectBody>\r\n    <serviceKey xmlns=\"\" area=\"1\" service=\"2\" version=\"3\" />\r\n  </ObjectBody>\r\n  <ObjectDetails>\r\n    <SourceObject />\r\n    <RelatedObject>\r\n      <ObjectId>\r\n        <ObjectKey>\r\n          <Domain>\r\n            <wstxns2:IdentifierList xmlns:wstxns2=\"MAL\">\r\n              <wstxns2:Identifier>mo</wstxns2:Identifier>\r\n              <wstxns2:Identifier>common</wstxns2:Identifier>\r\n            </wstxns2:IdentifierList>\r\n          </Domain>\r\n          <InstanceId>1</InstanceId>\r\n        </ObjectKey>\r\n        <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n      </ObjectId>\r\n      <ObjectBody>\r\n        <configurationObjectDetailsSet xmlns=\"\">\r\n          <configurationObjectDetailsSet>\r\n            <ObjectType xmlns=\"COM\" area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n            <Domain xmlns=\"COM\">\r\n              <wstxns3:IdentifierList xmlns:wstxns3=\"MAL\">\r\n                <wstxns3:Identifier>mo</wstxns3:Identifier>\r\n                <wstxns3:Identifier>common</wstxns3:Identifier>\r\n              </wstxns3:IdentifierList>\r\n            </Domain>\r\n          </configurationObjectDetailsSet>\r\n        </configurationObjectDetailsSet>\r\n      </ObjectBody>\r\n      <ObjectDetails>\r\n        <SourceObject />\r\n        <RelatedObject />\r\n      </ObjectDetails>\r\n    </RelatedObject>\r\n  </ObjectDetails>\r\n</Object>\r\n```\r\n\r\nService level, complete:\r\n\r\n```\r\n<Object xmlns=\"COM\">\r\n  <ObjectId>\r\n    <ObjectKey>\r\n      <Domain>\r\n        <wstxns1:IdentifierList xmlns:wstxns1=\"MAL\">\r\n          <wstxns1:Identifier>mo</wstxns1:Identifier>\r\n          <wstxns1:Identifier>common</wstxns1:Identifier>\r\n        </wstxns1:IdentifierList>\r\n      </Domain>\r\n      <InstanceId>2</InstanceId>\r\n    </ObjectKey>\r\n    <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"1\" />\r\n  </ObjectId>\r\n  <ObjectBody>\r\n    <ServiceKey area=\"1\" service=\"2\" version=\"3\" />\r\n  </ObjectBody>\r\n  <ObjectDetails>\r\n    <SourceObject />\r\n    <RelatedObject>\r\n      <ObjectId>\r\n        <ObjectKey>\r\n          <Domain>\r\n            <wstxns2:IdentifierList xmlns:wstxns2=\"MAL\">\r\n              <wstxns2:Identifier>mo</wstxns2:Identifier>\r\n              <wstxns2:Identifier>common</wstxns2:Identifier>\r\n            </wstxns2:IdentifierList>\r\n          </Domain>\r\n          <InstanceId>1</InstanceId>\r\n        </ObjectKey>\r\n        <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n      </ObjectId>\r\n      <ObjectBody>\r\n        <configurationObjectDetailsSet xmlns=\"\">\r\n          <configurationObjectDetailsSet>\r\n            <ObjectType xmlns=\"COM\" area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n            <Domain xmlns=\"COM\">\r\n              <wstxns3:IdentifierList xmlns:wstxns3=\"MAL\">\r\n                <wstxns3:Identifier>mo</wstxns3:Identifier>\r\n                <wstxns3:Identifier>common</wstxns3:Identifier>\r\n              </wstxns3:IdentifierList>\r\n            </Domain>\r\n            <ObjectIds>\r\n              <InstanceId xmlns=\"COM\">10</InstanceId>\r\n              <InstanceId xmlns=\"COM\">20</InstanceId>\r\n              <InstanceId xmlns=\"COM\">30</InstanceId>\r\n            </ObjectIds>\r\n          </configurationObjectDetailsSet>\r\n        </configurationObjectDetailsSet>\r\n        <ConfigurationObjectSet>\r\n          <ConfigurationObjectSet>\r\n            <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n            <Domain>\r\n              <wstxns4:IdentifierList xmlns:wstxns4=\"MAL\">\r\n                <wstxns4:Identifier>mo</wstxns4:Identifier>\r\n                <wstxns4:Identifier>common</wstxns4:Identifier>\r\n              </wstxns4:IdentifierList>\r\n            </Domain>\r\n            <ObjectIds xmlns=\"\">\r\n              <InstanceId xmlns=\"COM\">10</InstanceId>\r\n              <InstanceId xmlns=\"COM\">20</InstanceId>\r\n              <InstanceId xmlns=\"COM\">30</InstanceId>\r\n            </ObjectIds>\r\n          </ConfigurationObjectSet>\r\n        </ConfigurationObjectSet>\r\n      </ObjectBody>\r\n      <ObjectDetails>\r\n        <SourceObject />\r\n        <RelatedObject />\r\n      </ObjectDetails>\r\n    </RelatedObject>\r\n  </ObjectDetails>\r\n</Object>\r\n```\r\nProvider level, compact:\r\n```\r\n<Object xmlns=\"COM\">\r\n  <ObjectId>\r\n    <ObjectKey>\r\n      <Domain>\r\n        <wstxns1:IdentifierList xmlns:wstxns1=\"MAL\">\r\n          <wstxns1:Identifier>mo</wstxns1:Identifier>\r\n          <wstxns1:Identifier>common</wstxns1:Identifier>\r\n        </wstxns1:IdentifierList>\r\n      </Domain>\r\n      <InstanceId>4</InstanceId>\r\n    </ObjectKey>\r\n    <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"2\" />\r\n  </ObjectId>\r\n  <ObjectBody>\r\n    <wstxns2:Identifier xmlns:wstxns2=\"MAL\">test provider</wstxns2:Identifier>\r\n  </ObjectBody>\r\n  <ObjectDetails>\r\n    <SourceObject />\r\n    <RelatedObject>\r\n      <ObjectId>\r\n        <ObjectKey>\r\n          <Domain>\r\n            <wstxns3:IdentifierList xmlns:wstxns3=\"MAL\">\r\n              <wstxns3:Identifier>mo</wstxns3:Identifier>\r\n              <wstxns3:Identifier>common</wstxns3:Identifier>\r\n            </wstxns3:IdentifierList>\r\n          </Domain>\r\n          <InstanceId>3</InstanceId>\r\n        </ObjectKey>\r\n        <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n      </ObjectId>\r\n      <ObjectBody>\r\n        <ObjectId>\r\n          <ObjectKey>\r\n            <Domain>\r\n              <wstxns4:IdentifierList xmlns:wstxns4=\"MAL\">\r\n                <wstxns4:Identifier>mo</wstxns4:Identifier>\r\n                <wstxns4:Identifier>common</wstxns4:Identifier>\r\n              </wstxns4:IdentifierList>\r\n            </Domain>\r\n            <InstanceId>2</InstanceId>\r\n          </ObjectKey>\r\n          <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"1\" />\r\n        </ObjectId>\r\n        <ObjectBody>\r\n          <serviceKey xmlns=\"\" area=\"1\" service=\"2\" version=\"3\" />\r\n        </ObjectBody>\r\n        <ObjectDetails>\r\n          <SourceObject />\r\n          <RelatedObject>\r\n            <ObjectId>\r\n              <ObjectKey>\r\n                <Domain>\r\n                  <wstxns5:IdentifierList xmlns:wstxns5=\"MAL\">\r\n                    <wstxns5:Identifier>mo</wstxns5:Identifier>\r\n                    <wstxns5:Identifier>common</wstxns5:Identifier>\r\n                  </wstxns5:IdentifierList>\r\n                </Domain>\r\n                <InstanceId>1</InstanceId>\r\n              </ObjectKey>\r\n              <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n            </ObjectId>\r\n            <ObjectBody>\r\n              <configurationObjectDetailsSet xmlns=\"\">\r\n                <configurationObjectDetailsSet>\r\n                  <ObjectType xmlns=\"COM\" area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n                  <Domain xmlns=\"COM\">\r\n                    <wstxns6:IdentifierList xmlns:wstxns6=\"MAL\">\r\n                      <wstxns6:Identifier>mo</wstxns6:Identifier>\r\n                      <wstxns6:Identifier>common</wstxns6:Identifier>\r\n                    </wstxns6:IdentifierList>\r\n                  </Domain>\r\n                </configurationObjectDetailsSet>\r\n              </configurationObjectDetailsSet>\r\n            </ObjectBody>\r\n            <ObjectDetails>\r\n              <SourceObject />\r\n              <RelatedObject />\r\n            </ObjectDetails>\r\n          </RelatedObject>\r\n        </ObjectDetails>\r\n      </ObjectBody>\r\n      <ObjectDetails>\r\n        <SourceObject />\r\n        <RelatedObject />\r\n      </ObjectDetails>\r\n    </RelatedObject>\r\n  </ObjectDetails>\r\n</Object>\r\n```\r\nProvider level, complete\r\n```\r\n<Object xmlns=\"COM\">\r\n  <ObjectId>\r\n    <ObjectKey>\r\n      <Domain>\r\n        <wstxns1:IdentifierList xmlns:wstxns1=\"MAL\">\r\n          <wstxns1:Identifier>mo</wstxns1:Identifier>\r\n          <wstxns1:Identifier>common</wstxns1:Identifier>\r\n        </wstxns1:IdentifierList>\r\n      </Domain>\r\n      <InstanceId>4</InstanceId>\r\n    </ObjectKey>\r\n    <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"2\" />\r\n  </ObjectId>\r\n  <ObjectBody>\r\n    <wstxns2:Identifier xmlns:wstxns2=\"MAL\">test provider</wstxns2:Identifier>\r\n  </ObjectBody>\r\n  <ObjectDetails>\r\n    <SourceObject />\r\n    <RelatedObject>\r\n      <ObjectId>\r\n        <ObjectKey>\r\n          <Domain>\r\n            <wstxns3:IdentifierList xmlns:wstxns3=\"MAL\">\r\n              <wstxns3:Identifier>mo</wstxns3:Identifier>\r\n              <wstxns3:Identifier>common</wstxns3:Identifier>\r\n            </wstxns3:IdentifierList>\r\n          </Domain>\r\n          <InstanceId>3</InstanceId>\r\n        </ObjectKey>\r\n        <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n      </ObjectId>\r\n      <ObjectBody>\r\n        <ObjectId>\r\n          <ObjectKey>\r\n            <Domain>\r\n              <wstxns4:IdentifierList xmlns:wstxns4=\"MAL\">\r\n                <wstxns4:Identifier>mo</wstxns4:Identifier>\r\n                <wstxns4:Identifier>common</wstxns4:Identifier>\r\n              </wstxns4:IdentifierList>\r\n            </Domain>\r\n            <InstanceId>2</InstanceId>\r\n          </ObjectKey>\r\n          <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"1\" />\r\n        </ObjectId>\r\n        <ObjectBody>\r\n          <ServiceKey area=\"1\" service=\"2\" version=\"3\" />\r\n        </ObjectBody>\r\n        <ObjectDetails>\r\n          <SourceObject />\r\n          <RelatedObject>\r\n            <ObjectId>\r\n              <ObjectKey>\r\n                <Domain>\r\n                  <wstxns5:IdentifierList xmlns:wstxns5=\"MAL\">\r\n                    <wstxns5:Identifier>mo</wstxns5:Identifier>\r\n                    <wstxns5:Identifier>common</wstxns5:Identifier>\r\n                  </wstxns5:IdentifierList>\r\n                </Domain>\r\n                <InstanceId>1</InstanceId>\r\n              </ObjectKey>\r\n              <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n            </ObjectId>\r\n            <ObjectBody>\r\n              <configurationObjectDetailsSet xmlns=\"\">\r\n                <configurationObjectDetailsSet>\r\n                  <ObjectType xmlns=\"COM\" area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n                  <Domain xmlns=\"COM\">\r\n                    <wstxns6:IdentifierList xmlns:wstxns6=\"MAL\">\r\n                      <wstxns6:Identifier>mo</wstxns6:Identifier>\r\n                      <wstxns6:Identifier>common</wstxns6:Identifier>\r\n                    </wstxns6:IdentifierList>\r\n                  </Domain>\r\n                  <ObjectIds>\r\n                    <InstanceId xmlns=\"COM\">10</InstanceId>\r\n                    <InstanceId xmlns=\"COM\">20</InstanceId>\r\n                    <InstanceId xmlns=\"COM\">30</InstanceId>\r\n                  </ObjectIds>\r\n                </configurationObjectDetailsSet>\r\n              </configurationObjectDetailsSet>\r\n              <ConfigurationObjectSet>\r\n                <ConfigurationObjectSet>\r\n                  <ObjectType area=\"3\" service=\"5\" version=\"1\" number=\"3\" />\r\n                  <Domain>\r\n                    <wstxns7:IdentifierList xmlns:wstxns7=\"MAL\">\r\n                      <wstxns7:Identifier>mo</wstxns7:Identifier>\r\n                      <wstxns7:Identifier>common</wstxns7:Identifier>\r\n                    </wstxns7:IdentifierList>\r\n                  </Domain>\r\n                  <ObjectIds xmlns=\"\">\r\n                    <InstanceId xmlns=\"COM\">10</InstanceId>\r\n                    <InstanceId xmlns=\"COM\">20</InstanceId>\r\n                    <InstanceId xmlns=\"COM\">30</InstanceId>\r\n                  </ObjectIds>\r\n                </ConfigurationObjectSet>\r\n              </ConfigurationObjectSet>\r\n            </ObjectBody>\r\n            <ObjectDetails>\r\n              <SourceObject />\r\n              <RelatedObject />\r\n            </ObjectDetails>\r\n          </RelatedObject>\r\n        </ObjectDetails>\r\n      </ObjectBody>\r\n      <ObjectDetails>\r\n        <SourceObject />\r\n        <RelatedObject />\r\n      </ObjectDetails>\r\n    </RelatedObject>\r\n  </ObjectDetails>\r\n</Object>\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/SamCooper/COMMON_SPEC_RIDS/issues/comments/422385916","html_url":"https://github.com/SamCooper/COMMON_SPEC_RIDS/issues/101#issuecomment-422385916","issue_url":"https://api.github.com/repos/SamCooper/COMMON_SPEC_RIDS/issues/101","id":422385916,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjM4NTkxNg==","user":{"login":"lacourte","id":5470553,"node_id":"MDQ6VXNlcjU0NzA1NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/5470553?v=4","gravatar_id":"","url":"https://api.github.com/users/lacourte","html_url":"https://github.com/lacourte","followers_url":"https://api.github.com/users/lacourte/followers","following_url":"https://api.github.com/users/lacourte/following{/other_user}","gists_url":"https://api.github.com/users/lacourte/gists{/gist_id}","starred_url":"https://api.github.com/users/lacourte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lacourte/subscriptions","organizations_url":"https://api.github.com/users/lacourte/orgs","repos_url":"https://api.github.com/users/lacourte/repos","events_url":"https://api.github.com/users/lacourte/events{/privacy}","received_events_url":"https://api.github.com/users/lacourte/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T13:07:39Z","updated_at":"2018-09-18T13:07:39Z","author_association":"NONE","body":"I wonder about the content of the ObjectBody element. I see\r\n\r\n>      <ObjectBody>\r\n>        <configurationObjectDetailsSet xmlns=\"\">\r\n>          <configurationObjectDetailsSet>\r\n>            <ObjectType ...\r\n>            <Domain ...\r\n>            <ObjectIds ...\r\n>          </configurationObjectDetailsSet>\r\n>        </configurationObjectDetailsSet>\r\n>      </ObjectBody>\r\n\r\nwhile I would expect\r\n\r\n>      <ObjectBody>\r\n>        <configurationObjectDetails ...>\r\n>          <configurationObjectSetList>\r\n>            <configurationObjectSet>\r\n>              <ObjectType ...\r\n>              <Domain ...\r\n>              <ObjectIds ...\r\n>            </configurationObjectSet>\r\n>          </configurationObjectSetList>\r\n>        </configurationObjectDetails>\r\n>      </ObjectBody>"}}
{"actor":{"display_login":"lacourte"}}