CPA Creation

Property File

An Introduction
 
 

By means of the property file a number of default values are defined for the CPA Creation Toolkit (for the Portable Edition too!).

The name of the file is:

  • property40.ini

The file can be found in the folder:

  • Portable Edition:
    • PortableApps\CpaToolkit\cct40\properties
  • Apache installation:
    • cct40\properties

The items that have to be checked and maybe changed start with the number 4. You can recognize the items by the phrase:

# DO change this, according to … 

The changes are related to:

  • Default HREF base url and UUID base urn for the ProcessSpecification. This can be configured as well by means of the services element in the SMF (see document 'Simple Message Format Specification 2.0').
  • MMD configuration in case of testing CPA's with an Axway ebMS adapter.
  • Modification of a CPA in case of SSL-offloading; the default new value for the URL of the endpoint of the other partner (read: 'ssl-offloader or intermediary').
  • Contact information (Name, E-mail) as used by the webforms of the repository.
  • E-mail server (SMTP) configuration and default 'reply-to' e-mail address. Default no e-mails are sent.
  • Default values for partyId, partyIdType and intermediary url for the creation of a participant file (webform 'Create participant file').
  • Numeric difference between the port number for HTTPS (default 443) and HTTP (default 80). The default value is 443-80=363.

Below a copy is presented of a recent version of the property file. (Always use the file as provided in the indicated folder; never make a copy of the text, seen below!)

Consult the installation manual for more information.

 
#
#    ******************************************************
#    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