CPA Creation

Property File

Een inleiding
 
 

Met het property bestand worden een aantal standaard waardes ingesteld voor de CPA Creatie Toolkit (ook voor de Portable versie!).

Het bestand heet:

  • property40.ini

Het bestand is te vinden in de folder:

  • Portable versie:
    • PortableApps\CpaToolkit\cct40\properties
  • Apache installatie versie:
    • cct40\properties

De onderdelen die moeten worden nagelopen en eventueel moeten worden gewijzigd beginnen bij nummer 4. Het is ook te herkennen aan de zin:

# DO change this, according to … 

De wijzigingen betreffen:

  • Standaard HREF basis url en UUID basis urn voor de ProcessSpecification. Dit is ook te configureren in het services element in de SMF (zie document 'Simple Message Format Specification 2.0').
  • MMD configuratie in geval van het testen van CPA's met een Axway ebMS adapter.
  • Aanpassingen voor een CPA in geval van SSL-offloading; de default nieuwe waarde voor de URL van het endpoint van de wederpartij (lees: 'ssl-offloader of intermediair').
  • Contact informatie (Naam, E-mail) zoals die wordt gebruikt bij het werken met de repositorie webformulieren.
  • E-mail server (SMTP) configuratie en default 'afzender' e-mail adres. Standaard worden er geen e-mails verzonden.
  • Standaard waardes voor partyId, partyIdType en Intermediair voor het maken van participant bestanden (webformulier 'Maak participant bestand').
  • Numeriek verschil tussen de poort nummers voor HTTPS (standaard 443) en HTTP (standaard 80). Standaard wordt 443-80=363 gebruikt.

Hieronder is een kopie te zien van een recente versie van het property bestand. (Gebruik altijd het bestand zoals dat in de hierboven aangegeven folder te vinden is; maak geen kopie van onderstaande tekst!)

In de installatie handleiding is meer informatie te vinden.

 
#
#    ******************************************************
#    European Union Public Licence - EUPL v.1.1
#    
#    Copyright 2010 Justitiele Informatiedienst, EBV, The Netherlands, http://www.justid.nl
#    
#    Licensed under the EUPL, Version 1.1 or - as soon they will be approved by the
#    European Commission - subsequent versions of the EUPL (the "Licence");
#    You may not use this work except in compliance with the Licence.
#    You may obtain a copy of the Licence at:
#    
#    http://ec.europa.eu/idabc/eupl
#    
#    Unless required by applicable law or agreed to in writing, software distributed
#    under the Licence is distributed on an "AS IS" basis, 
#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#    See the Licence for the specific language governing permissions and limitations
#    under the Licence.
#
#    ******************************************************


#-------------------------------------------------------------------------------
# 1. Specify the available UI languages
#-------------------------------------------------------------------------------
#
# DON'T change this, unless you have installed an additional language.
[UI]
languages=en|nl


#-------------------------------------------------------------------------------
# 2. Specify the root path of the repository.
#-------------------------------------------------------------------------------
# 
# DON'T change this, unless you have installed this for your own Apache server
#                                    and did not use the default installation.
#
# Indicate if it is absolute (ABS) or relative (REL).
# Relative means relative to the parent of the 'properties' 
# folder (which is: the 'cct40' folder).

[Repository]
rootFilePath=REL|rep

# Example absolute path: rootFilePath=ABS|C:\cct40\rep
# Example relative path: rootFilePath=REL|rep
#


#-------------------------------------------------------------------------------
# 3. Specify the apache specific server, folders and urls.
#-------------------------------------------------------------------------------
#
# DON'T change this, unless you have installed this under your own Apache server
#                               and did not use the default Apache installation.
#
# Port numbers are important if they differ from value '80'!

[Apache]
url = http://localhost:80/cpa/4/0
downloadUrl =http://localhost:80/cpa/4/0/downloads

# The folder 'uploads' and 'html-templates' are found in the cct40 folder.
# Don't change this.

uploadDir =uploads\cpa40
htmlResultTemplateDir=html-templates\cpa\4\0

# Specify the htdocs folder.
# Indicate if it is absolute (ABS) or relative (REL).
# Relative means relative to the parent of the 'properties' folder; which is 
# the 'cct40' folder! The setting below shows that the 'htdocs' folder is 
# found in the 'cct40' folder. This is used for portable version:

htdocsDir =REL|htdocs
downloadDir =REL|htdocs\cpa\4\0\downloads

# The setting below shows that the 'htdocs' folder is found in the parent of 
# the 'cct40' folder. This is used for the 'Apache Default Install' 
# (change it, depending on the location of your htdocs folder):

#htdocsDir =REL|..\htdocs
#downloadDir =REL|..\htdocs\cpa\4\0\downloads


#-------------------------------------------------------------------------------
# 4. Specify the default HREF base URL & UUID base URN for ProcessSpecification
#-------------------------------------------------------------------------------
#
# DO change this, according to your own organisation.
#
# This will be overruled by the definition in the services element (see document
# 'Simple Message Format Specification 2.0').
#
# The base url must end with a '/'
# Example: baseHREF=http://www.ean-ucc.org/
[Process]

baseHREF=http://www.justid.nl/ebv/

# The base urn must end with an ':'
# Example: baseUUID=urn:ean-ucc:org:

baseUUID=urn:justid:ebv:


#-------------------------------------------------------------------------------
# 5. Specify the default information for the MMD generation.
#-------------------------------------------------------------------------------
#
# DO change this, according to your own Axway ebMS endpoint implementation.
#
# It depends on the installation of the ebMS adapter!!!!
# CPA Auto Import; Absolute PATHs!

[MMD]
cpaAutoImport=C:\axway\Synchrony_V4.0\Gateway_Interchange\b2764\profiles\autoImport
cpaAutoImportOther=D:\autoImport

# Default a given party id will be used:

partyId=ejvn

# The default location where the MMD will be dropped...:

fileDropPath=C:\axway\Synchrony_V4.0\Gateway_Interchange\common\data\out

# The default location of the payload, used in the MMD file:
# The format depends on the OS platform where the ebMS adapter is installed!!
# Example Redhat:
# payloadPath=/opt/Axway/Synchrony_V4.0/Gateway_Interchange/b2636/conf/ebXML/templates/testPayload.xml
# Example windows:

payloadPath=C:\axway\Synchrony_V4.0\Gateway_Interchange\b2764\conf\ebXML\templates\testPayload.xml


#-------------------------------------------------------------------------------
# 6. Specify the default new Endpoint for SSL-offloading
#-------------------------------------------------------------------------------
#
# DO change this, according to the infrastructure of your organisation.

[SSLOffloading]
newEndpoint=http://local.intermediair.org/ebms/partyid


#-------------------------------------------------------------------------------
# 7. Specify the default contact information
#-------------------------------------------------------------------------------
#
# DO change this, to define the contact information for your organisation.
#
# The default for sending e-mail notifications:

[Contact]
name =Ernst Jan van Nigtevecht
email=ejvn@sonnenglanz.net


#-------------------------------------------------------------------------------
# 8. Specify the E-mail Server information
#-------------------------------------------------------------------------------
#
# DO change this, according to the infrastructure of your organisation.
#
# If left empty, no e-mail messages will be send (default).
# Examples:
# smtpServer=smtp.telfort.nl
# smtpServer=

[SMTP]
smtpServer=
emailCpaManager=ejvn@sonnenglanz.net


#-------------------------------------------------------------------------------
# 9. Specify the defaults for 'Create Participant File' (see 'Utilities')
#-------------------------------------------------------------------------------
#
# DO change this, according to the infrastructure of your organisation.

[Parameters]
partyId=ejvn
partyIdType=urn:epv:sysda

# Example: parameters.Intermediary=http://www.myurl.domain/exchange/intermediary

intermediary=http://www.myurl.domain/exchange/intermediary


#-------------------------------------------------------------------------------
# 10. Specify the default increment for the HTTPS port number
#-------------------------------------------------------------------------------
#
# DO change this, according to the infrastructure needs of your organisation.
#
# The default assumes port 80 for HTTP and port 443 for HTTPS.
# In case the specified ebMS Endpiont URL (in the participants file) contains a 
# port number value (because the default values are not used), then the following
# is assumed:
#
#  The difference between the port number for HTTPS and HTTP is:
#  443 - 80 = 363
#
# This is the default!

[HTTPS]
increment=363

#--------------------------------------------
# END OF FILE