phax / phoss-smp

phoss SMP - a Peppol and OASIS BDXR SMP Server, CEF eDelivery compliant
129 stars 37 forks source link

Participant Identifiers, Document identifiers #68

Closed achristofi closed 6 years ago

achristofi commented 6 years ago

We have been testing phoss SMP Server (v5.0.3) for an e-Delivery project. The project falls under none of the CEF Policy Domains (eProcurement, eJustice, eHealth, …), so we will be using identifiers as close to the OASIS standards and the e-SENS profiles as possible. There are two issues I would like to bring to your attention regarding the SMP:

  1. Participant IDs:

    • Our solution falls under none of the CEF Policy Domains (eProcurement, eJustice, eHealth, …) and we will be using the 'urn:oasis:names:tc:ebcore:partyid-type:iso6523:xxxx” or the “urn:oasis:names:tc:ebcore:partyid-type:unregistered:cyvat” participant identifier schemes. However, the corresponding MySQL column is too short to accommodate the scheme. When creating a ‘Service group’ we get:
    • Error creating the new SMP ServiceGroup for participant 'urn:oasis:names:tc:ebcore:partyid-type:unregistered:cyvat::CY12345678X'. The same for: urn:oasis:names:tc:ebcore:partyid-type:iso6523:xxxx::CY12345678X
    • The error in the log reads: “…. Data truncation: Data too long for column 'businessIdentifierScheme' ….”
    • The error happens only for the “SQL” backend; when using the “XML” backend, which obviously places no size restrictions, the operation succeeds…
  2. Document Types:

    • Our Document schemas are in the form: http://cyprus.gov.cy/schema/edelivery/forms/v01
    • We are able to create “Endpoints” using the SMP’s UI for documents like: “bdx-docid-qns::http://cyprus.gov.cy/schema/edelivery/forms/v01::doc0001cy”, but we get a “400 – Bad request” error when we try to GET the “ServiceMetadata”: 127.0.0.1 - - [06/Mar/2018:07:29:46 +0200] "GET /unregistered%3Acyreg%3A%3AHE123456/services/bdx-docid-qns%3A%3Ahttp%3A%2F%2Fcyprus.gov.cy%2Fschema%2Fedelivery%2Fforms%2Fv01%3A%3Adoc0001cy HTTP/1.1" 400 –
    • Testing with “bdx-docid-qns::urn:cy:gov:schema:edelivery:docs:v01::doc0001cy” is OK!
phax commented 6 years ago

Dear @achristofi there is a lot of input inside. Let me try to get it point by point ad 1.)

ad 2.)

hth

achristofi commented 6 years ago

Dear Mr Helger, Your prompt response is much appreciated.

  1. Thanks for your input, we will keep to the XML backend
  2. Indeed the error was a misconfiguration (spelling mistake :) )

Friendly regards