Giant: premier lancement

This commit is contained in:
Sebastien BEAUGRAND 2010-05-21 13:15:25 +00:00
parent 568462469d
commit 68a73ce565
25 changed files with 15791 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<?php
/**
* Monitors
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 6401 2009-09-24 16:12:04Z guilhermeblanco $
*/
class Monitors extends BaseMonitors
{
}

View File

@ -0,0 +1,16 @@
<?php
/**
* Orders
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 6401 2009-09-24 16:12:04Z guilhermeblanco $
*/
class Orders extends BaseOrders
{
}

View File

@ -0,0 +1,120 @@
<?php
/**
* BaseMonitors
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property integer $ProviderOrderId
* @property integer $TestIndication
* @property integer $ConsumerId
* @property integer $CompanyId
* @property string $CompanyName
* @property enum $CategoryName
* @property enum $EventType
* @property enum $LanguageCode
* @property date $ActualStartDate
* @property date $ActualEndDate
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 6401 2009-09-24 16:12:04Z guilhermeblanco $
*/
abstract class BaseMonitors extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('monitors');
$this->hasColumn('ProviderOrderId', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'unsigned' => 0,
'primary' => true,
'autoincrement' => true,
));
$this->hasColumn('TestIndication', 'integer', 1, array(
'type' => 'integer',
'length' => 1,
'unsigned' => 0,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('ConsumerId', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'unsigned' => 0,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('CompanyId', 'integer', 8, array(
'type' => 'integer',
'length' => 8,
'unsigned' => 0,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('CompanyName', 'string', null, array(
'type' => 'string',
'fixed' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('CategoryName', 'enum', 20, array(
'type' => 'enum',
'length' => 20,
'fixed' => false,
'values' =>
array(
0 => 'All',
1 => 'CreditRecommendation',
),
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('EventType', 'enum', 13, array(
'type' => 'enum',
'length' => 13,
'fixed' => false,
'values' =>
array(
0 => 'EventOnly',
1 => 'EventWithData',
),
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('LanguageCode', 'enum', 2, array(
'type' => 'enum',
'length' => 2,
'fixed' => false,
'values' =>
array(
0 => 'EN',
1 => 'FR',
),
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('ActualStartDate', 'date', null, array(
'type' => 'date',
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('ActualEndDate', 'date', null, array(
'type' => 'date',
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
}
}

View File

@ -0,0 +1,176 @@
<?php
/**
* BaseOrders
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property integer $ProviderOrderId
* @property integer $TestIndication
* @property integer $ConsumerId
* @property integer $CompanyId
* @property enum $OrderType
* @property enum $DataSetType
* @property enum $ServiceLevelName
* @property enum $LanguageCode
* @property enum $OrderStatus
* @property timestamp $OrderDateTime
* @property timestamp $DateTimeCompleted
* @property timestamp $DueDateTime
* @property timestamp $DateTimeRetrieved
* @property string $Remark
* @property blob $DataSet
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 6401 2009-09-24 16:12:04Z guilhermeblanco $
*/
abstract class BaseOrders extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('orders');
$this->hasColumn('ProviderOrderId', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'unsigned' => 0,
'primary' => true,
'autoincrement' => true,
));
$this->hasColumn('TestIndication', 'integer', 1, array(
'type' => 'integer',
'length' => 1,
'unsigned' => 0,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('ConsumerId', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'unsigned' => 0,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('CompanyId', 'integer', 8, array(
'type' => 'integer',
'length' => 8,
'unsigned' => 0,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('OrderType', 'enum', 13, array(
'type' => 'enum',
'length' => 13,
'fixed' => false,
'values' =>
array(
0 => 'DataSet',
1 => 'Monitoring',
2 => 'Investigation',
),
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('DataSetType', 'enum', 20, array(
'type' => 'enum',
'length' => 20,
'fixed' => false,
'values' =>
array(
0 => 'Full',
1 => 'Compact',
2 => 'CreditRecommendation',
3 => 'Flex',
),
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('ServiceLevelName', 'enum', 9, array(
'type' => 'enum',
'length' => 9,
'fixed' => false,
'values' =>
array(
0 => 'Immediate',
1 => 'Normal',
2 => 'Urgent',
3 => 'Flash',
),
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('LanguageCode', 'enum', 2, array(
'type' => 'enum',
'length' => 2,
'fixed' => false,
'values' =>
array(
0 => 'EN',
1 => 'FR',
),
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('OrderStatus', 'enum', 13, array(
'type' => 'enum',
'length' => 13,
'fixed' => false,
'values' =>
array(
0 => 'Completed',
1 => 'Pending',
2 => 'Delivered',
3 => 'Undeliverable',
),
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('OrderDateTime', 'timestamp', null, array(
'type' => 'timestamp',
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('DateTimeCompleted', 'timestamp', null, array(
'type' => 'timestamp',
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('DueDateTime', 'timestamp', null, array(
'type' => 'timestamp',
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('DateTimeRetrieved', 'timestamp', null, array(
'type' => 'timestamp',
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('Remark', 'string', null, array(
'type' => 'string',
'fixed' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('DataSet', 'blob', null, array(
'type' => 'blob',
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
}
}

178
www/services/Makefile Normal file
View File

@ -0,0 +1,178 @@
# ----------------------------------------------------------------------------- #
# Makefile pour Giant
# ----------------------------------------------------------------------------- #
PROJET = giant
COURRIEL = sbeaugrand@scores-decisions.com
MODELES = ../../includes/dbmodels
SOURCES = \
credit-data/v1/index.php \
test-credit-data.php \
monitor-events/v1/index.php \
monitor-events.php \
update-investigation-tests.php \
generateDoctrine.php \
orders.sql \
monitors.sql \
Makefile
WSDL = \
wsdl/credit-data-service-provider-api-1.0.wsdl \
schema/services/credit-data-service-provider-api-1.0.xsd \
schema/services/shared-1.0.xsd \
schema/services/creditrecommendation-1.0.xsd \
schema/services/fulldataset-1.0.xsd \
schema/services/compactdataset-1.0.xsd \
schema/cdm/datatypes-1.0.xsd \
schema/services/credit-data-types-1.0.xsd \
schema/cdm/cdm-1.0.xsd \
schema/cdm/graydon_be-1.0.xsd \
wsdl/monitor-events-service-1.0.wsdl \
schema/services/monitor-1.0.xsd
SRC = http:\/\/services\.giant-net\.com
DST = http:\/\/extranet.devlocal.com\/services
TESTS1 = \
Ping \
RetrieveOptions \
StartInvestigation \
OrderDataSet \
StartMonitoring
TESTS2 = \
RetrieveOrderStatus \
RetrieveDataSet
TESTS3 = \
StopMonitoring \
UpdateMonitoringOptions
TESTS4 = \
SignalMonitoringEvents
TESTS_UNITAIRES = $(addprefix test-, $(TESTS1) $(TESTS2) $(TESTS3) $(TESTS4))
O_ID = `mysql -ss giant -e "select Auto_increment from \
information_schema.tables where table_name='orders'" | \
awk 'END { print $$0 - 1 }'`
M_ID = `mysql -ss giant -e "select Auto_increment from \
information_schema.tables where table_name='monitors'" | \
awk 'END { print $$0 - 1 }'`
PWD = `pwd`
TDIR = tests
TPRE = $(TDIR)/test-
PHP_UI = php $(PWD)/update-investigation-tests.php
PHP_CD = php test-credit-data.php
PHP_ME = php monitor-events.php
.SUFFIXES:
.PHONY: all
all:
@echo
@echo "make install"
@echo " -> telechargement et modification des fichiers wsdl et xsd"
@echo " -> creation des tables de la base 'giant'"
@echo " -> generation des fichiers Doctrine"
@echo "make clean-wsdl"
@echo " -> suppression des fichiers wsdl et xsd pour que la cible"
@echo " 'install' les telecharge a nouveau"
@echo "make crontab"
@echo " -> executer update-investigation-tests.php tous les jours"
@echo "make tests"
@echo " -> executer tous les tests unitaires"
@echo "make test-<nom-du-test>"
@echo " -> executer un test unitaire, ex: make test-RetrieveOptions"
@echo "make clean-tests"
@echo " -> suppression de tous les fichiers de sortie des tests"
@echo "make clean"
@echo " -> suppression des fichiers non versionnes"
@echo
.PHONY: install
install: wsdl tables doctrine
.PHONY: wsdl
wsdl: $(WSDL)
%.wsdl %.xsd:
wget -r -nH http://services.giant-net.com/$@
sed 's/$(SRC)/$(DST)/g' $@ > /tmp/sed.tmp && mv /tmp/sed.tmp $@
.PHONY: tables
tables:
mysql -e "show databases" | grep "giant" >/dev/null || \
mysql -e "create database giant"
mysql giant < orders.sql
mysql giant < monitors.sql
.PHONY: doctrine
doctrine:
php generateDoctrine.php $(PROJET) $(MODELES)
.PHONY: crontab
crontab:
@echo -e "MAILTO=$(COURRIEL)\n00 13 * * * $(PHP_UI)" > /tmp/crontab.tmp
@crontab /tmp/crontab.tmp
@rm /tmp/crontab.tmp
@crontab -l
$(if $(shell /etc/rc.d/init.d/crond status | grep pid), , \
@echo -e "\na faire: 'sudo chkconfig crond on ; \
sudo /etc/rc.d/init.d/crond start'\n")
.PHONY: clean-wsdl
clean-wsdl:
rm -fr wsdl schema
.PHONY: clean-orders
clean-orders:
mysql giant -e "truncate table orders"
.PHONY: clean-monitors
clean-monitors:
mysql giant -e "truncate table monitors"
.PHONY: tar
tar:
@tar cvzf $(PROJET).tgz $(SOURCES)
.PHONY: tests
tests: $(TESTS1) $(TESTS2) $(TESTS3) $(TESTS4)
@$(foreach t, $(TESTS1) $(TESTS2) $(TESTS3) $(TESTS4), \
$(if $(wildcard $(TPRE)$(t).ref), \
echo diff $(TPRE)$(t).ref $(TPRE)$(t).txt; \
diff $(TPRE)$(t).ref $(TPRE)$(t).txt \
-I Time -I Date] -I ProviderOrderId;, \
echo cp $(TPRE)$(t).txt $(TPRE)$(t).ref; \
cp $(TPRE)$(t).txt $(TPRE)$(t).ref; ))
.PHONY: $(TESTS1)
$(TESTS1):
$(PHP_CD) CompanyId=55214450300018 action=$@ > $(TPRE)$@.txt
.PHONY: $(TESTS2)
$(TESTS2):
$(PHP_CD) ProviderOrderId=$(O_ID) action=$@ > $(TPRE)$@.txt
.PHONY: $(TESTS3)
$(TESTS3):
$(PHP_CD) ProviderOrderId=$(M_ID) action=$@ > $(TPRE)$@.txt
.PHONY: $(TESTS4)
$(TESTS4):
$(PHP_ME) ProviderOrderId=$(M_ID) > $(TPRE)$@.txt
.PHONY: $(TESTS_UNITAIRES)
$(TESTS_UNITAIRES):
@make --no-print-directory $(subst test-, , $@)
$(if $(wildcard $(TDIR)/$@.ref), \
diff $(TDIR)/$@.ref $(TDIR)/$@.txt \
-I Time -I Date] -I ProviderOrderId, \
cp $(TDIR)/$@.txt $(TDIR)/$@.ref )
.PHONY: clean-tests
clean-tests:
@$(foreach t, $(TESTS_UNITAIRES), \
echo rm -f $(TDIR)/$(t).ref; \
echo rm -f $(TDIR)/$(t).txt; \
rm -f $(TDIR)/$(t).ref \
$(TDIR)/$(t).txt; )
.PHONY: clean
clean:
@$(foreach t, $(TESTS_UNITAIRES), \
echo rm -f $(TDIR)/$(t).txt; \
rm -f $(TDIR)/$(t).txt; )
@find . -name \*~ -exec rm {} \;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,28 @@
<?php
require_once '../../config/prepend.php';
require_once 'Doctrine.php';
spl_autoload_register(array('Doctrine', 'autoload'));
$argc = $_SERVER['argc'];
$argv = $_SERVER['argv'];
if ($argc != 3) {
print 'usage: '.$argv[0]." <base-de-donnees> <chemin-des-modeles>\n";
exit(1);
}
$base = $argv[1];
$chemin = $argv[2];
if (file_exists($chemin) == false) {
mkdir($chemin);
}
$dsn = 'mysql://'.MYSQL_USER.':'.MYSQL_PASS.'@'.MYSQL_HOST;
${$base.'Conn'} = Doctrine_Manager::connection($dsn.'/'.$base, $base);
$manager = Doctrine_Manager::getInstance();
$manager->setAttribute(Doctrine::ATTR_MODEL_LOADING,
Doctrine::MODEL_LOADING_CONSERVATIVE);
$manager->setAttribute(Doctrine::ATTR_AUTO_ACCESSOR_OVERRIDE, TRUE);
$manager->setAttribute(Doctrine::ATTR_USE_NATIVE_ENUM, TRUE);
$manager->setCurrentConnection($base);
print_r(Doctrine::generateModelsFromDb($chemin.'/'.$base, array($base)));
?>

View File

@ -0,0 +1,130 @@
<?php
// --------------------------------------------------------------------------- //
// monitor-events.php
// --------------------------------------------------------------------------- //
require_once '../../config/prepend.php';
require_once 'user/permissions.php';
require_once 'user/override.php';
require_once 'scoresws/scoresws.php';
require_once 'dbbootstrap.php';
setDbConn('giant');
header('Content-Type: text/html; charset=utf-8');
define( 'NDEBUG', '1');
define('VERSION', '1.0');
// client pour scoresws_identite
$client =
new SoapClient(null,
array('trace' => 1,
'soap_version' => SOAP_1_1,
'location' => WEBSERVICE_URL,
'uri' => WEBSERVICE_URI,
'login' => 'sbeaugrand',
'password' => 'seb2010'));
$gServiceHeader = new StdClass;
$gServiceHeader->ConsumerId = 1234;
$gServiceHeader->Provider = new StdClass;
$gServiceHeader->Provider->ProviderId = 2345;
$gServiceHeader->Provider->CountryCode = 'FR';
$gServiceHeader->TimeStamp = date('Y-m-d\TH:i:s');
$gServiceHeader->TestIndication = true;
if (NDEBUG) {
$soap_header =
new SoapHeader('http://extranet.devlocal.com/services/'.
'schema/services/shared/1.0', 'ServiceHeader',
$gServiceHeader);
$soap_client =
new SoapClient('http://extranet.devlocal.com/services/'.
'wsdl/monitor-events-service-1.0.wsdl',
array('soap_version' => SOAP_1_1,
'trace' => true));
$soap_client->__setSoapHeaders($soap_header);
}
$date = date('Y-m-d');
if (isset($_SERVER['argc']) == true && $_SERVER['argc'] > 1) {
$params = array('providerOrderId');
$argv = $_SERVER['argv'];
for ($i = 1; $i < $_SERVER['argc']; ++$i) {
list($label, $valeur) = explode('=', $argv[$i]);
$var = lcfirst($label);
if (in_array($var, $params) == false) {
print 'attention: parametre non reconnu '.$var."\n";
continue;
}
$$var = $valeur;
}
if (isset($providerOrderId) == false) {
print 'usage: php '.$argv[0]." ProviderOrderId=<n>\n";
exit;
}
$monitors = Doctrine_Query::create()
->from('Monitors')
->where('ProviderOrderId = ?', $providerOrderId)
->fetchArray();
} else {
$monitors = Doctrine_Query::create()
->from('Monitors')
->fetchArray();
}
$i = 0;
foreach ($monitors as $m) {
if ($date < $m['ActualStartDate'] ||
$date > $m['ActualEndDate']) {
continue;
}
$event = new StdClass;
$event->Date = $date;
$event->EventCode = 'GENERAL.NEWS';
//$event->ProviderEventCode = ; // A developper sur demande
$event->Source = 'Moi';
$event->Description = 'Coucou';
//$event->ParameterizedDescription = ;
//$event->FreeText = ;
//$event->Value = ;
//$event->EventId = ;
//$event->CorrelationEventId = ;
$company = new StdClass;
$company->CompanyId = $m['CompanyId'];
$company->CompanyName = $m['CompanyName'];
$company->Event = $event;
$monitor_event1 = new StdClass;
$monitor_event1->ProviderEventId = ++$i;
$monitor_event1->ProviderOrderId = $m['ProviderOrderId'];
$monitor_event1->Company = $company;
$monitor_event2 = new StdClass;
$monitor_event2->ProviderEventId = ++$i;
$monitor_event2->ProviderOrderId = $m['ProviderOrderId'];
$monitor_event2->Company = $company;
$monitor_events = new StdClass;
$monitor_events->MonitoringEvent = array($monitor_event1, $monitor_event2);
$o = new StdClass;
$o->NumberOfEvents = 2;
$o->MonitoringEvents = $monitor_events;
$fonction = 'SignalMonitoringEvents';
print '<pre>';
if (NDEBUG) {
print_r($soap_header);
}
print '<br/>';
print_r($o);
print '<br/>';
if (NDEBUG) {
print_r($soap_client->__call($fonction, array($o)));
//print '<br/>';
//print 'Requete: '.htmlspecialchars($soap_client->__getLastRequest());
//print '<br/>';
//print 'Reponse: '.htmlspecialchars($soap_client->__getLastResponse());
} else {
require_once 'monitor-events/v1/index.php';
print_r(call_user_func($fonction, $o));
}
print "</pre>";
}
?>

View File

@ -0,0 +1,35 @@
<?php
// --------------------------------------------------------------------------- //
// Teste internationalCompanyMonitoringEventsService
// --------------------------------------------------------------------------- //
if (defined('NDEBUG') == false) {
define( 'NDEBUG', '1'); // Ne pas changer cette valeur, voir le client
define('VERSION', '1.0');
}
if (NDEBUG) {
$serveur =
new SoapServer('http://extranet.devlocal.com/services/'.
'wsdl/monitor-events-service-1.0.wsdl',
array('soap_version' => SOAP_1_1,
'trace' => true));
$serveur->addFunction('SignalMonitoringEvents');
$serveur->handle();
}
// --------------------------------------------------------------------------- //
// SignalMonitoringEvents
// --------------------------------------------------------------------------- //
function SignalMonitoringEvents($o)
{
//$e = new StdClass;
//$e->ErrorCode = 9000;
//$e->ErrorMessage = print_r($o, true);
//throw new SoapFault('FunctionalError', print_r($e, true));
$r = new StdClass;
$r->NumberOfEventsReceived = count($o->MonitoringEvents->MonitoringEvent);
$r->version = VERSION;
return $r;
}
?>

40
www/services/monitors.sql Normal file
View File

@ -0,0 +1,40 @@
-- phpMyAdmin SQL Dump
-- version 3.2.4
-- http://www.phpmyadmin.net
--
-- Serveur: localhost
-- Généré le : Mer 05 Mai 2010 à 16:26
-- Version du serveur: 5.1.40
-- Version de PHP: 5.3.1
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Base de données: `giant`
--
-- --------------------------------------------------------
--
-- Structure de la table `monitors`
--
CREATE TABLE IF NOT EXISTS `monitors` (
`ProviderOrderId` int(11) NOT NULL AUTO_INCREMENT,
`TestIndication` tinyint(1) NOT NULL,
`ConsumerId` int(11) NOT NULL,
`CompanyId` bigint(14) NOT NULL,
`CompanyName` tinytext COLLATE utf8_unicode_ci NOT NULL,
`CategoryName` enum('All','CreditRecommendation') COLLATE utf8_unicode_ci NOT NULL,
`EventType` enum('EventOnly','EventWithData') COLLATE utf8_unicode_ci NOT NULL,
`LanguageCode` enum('EN','FR') COLLATE utf8_unicode_ci NOT NULL,
`ActualStartDate` date NOT NULL,
`ActualEndDate` date NOT NULL,
PRIMARY KEY (`ProviderOrderId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

45
www/services/orders.sql Normal file
View File

@ -0,0 +1,45 @@
-- phpMyAdmin SQL Dump
-- version 3.2.4
-- http://www.phpmyadmin.net
--
-- Serveur: localhost
-- Généré le : Mer 05 Mai 2010 à 11:15
-- Version du serveur: 5.1.40
-- Version de PHP: 5.3.1
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Base de données: `giant`
--
-- --------------------------------------------------------
--
-- Structure de la table `orders`
--
CREATE TABLE IF NOT EXISTS `orders` (
`ProviderOrderId` int(11) NOT NULL AUTO_INCREMENT,
`TestIndication` tinyint(1) NOT NULL,
`ConsumerId` int(11) NOT NULL,
`CompanyId` bigint(14) NOT NULL,
`OrderType` enum('DataSet','Monitoring','Investigation') COLLATE utf8_unicode_ci NOT NULL,
`DataSetType` enum('Full','Compact','CreditRecommendation','Flex') COLLATE utf8_unicode_ci NOT NULL,
`ServiceLevelName` enum('Immediate','Normal','Urgent','Flash') COLLATE utf8_unicode_ci NOT NULL,
`LanguageCode` enum('EN','FR') COLLATE utf8_unicode_ci NOT NULL,
`OrderStatus` enum('Completed','Pending','Delivered','Undeliverable') COLLATE utf8_unicode_ci NOT NULL,
`OrderDateTime` datetime NOT NULL,
`DateTimeCompleted` datetime NOT NULL,
`DueDateTime` datetime NOT NULL,
`DateTimeRetrieved` datetime NOT NULL,
`Remark` text COLLATE utf8_unicode_ci NOT NULL,
`DataSet` mediumblob NOT NULL,
PRIMARY KEY (`ProviderOrderId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,179 @@
<xs:schema targetNamespace="http://extranet.devlocal.com/services/schema/cdm/provider/graydon_be/1.0" xmlns:graydon_be="http://extranet.devlocal.com/services/schema/cdm/provider/graydon_be/1.0" xmlns:cdm="http://extranet.devlocal.com/services/schema/cdm/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:datatypes="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" >
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/cdm-1.0.xsd" >
</xs:import>
<xs:complexType name="SocialAccountsBE" >
<xs:annotation >
<xs:documentation >
The SocialAccount displays information about the employees in the company for example full-time, part-time, education etc. Futhermore the Account contains information about measures the employer has taken for the benifit of the employees.</xs:documentation>
</xs:annotation>
<xs:sequence >
<xs:element name="AccountItem" type="cdm:AccountItem" minOccurs="0" maxOccurs="unbounded" >
<xs:annotation >
<xs:documentation >
Association to the class TrainingInfoAvailableForEmployees.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="SchemaLink" >
<xs:annotation >
<xs:documentation >
This is a technical type used to link datasets with this schema to ensure that import schema references are generated properly.
This type is not used anywhere in the datasets</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string" >
</xs:restriction>
</xs:simpleType>
<xs:complexType name="AnnualAccounts" >
<xs:annotation >
<xs:documentation >
This extension of Annual Account adds the Social Annual Account information of a company.
</xs:documentation>
</xs:annotation>
<xs:complexContent >
<xs:extension base="cdm:AnnualAccounts" >
<xs:sequence >
<xs:element name="Index" type="xs:string" minOccurs="0" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
A case number which is used to mark the annual account for storage and archive purposes
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DigitalStorageNumber" type="graydon_be:DigitalStorageNumberType" minOccurs="0" maxOccurs="unbounded" >
<xs:annotation >
<xs:documentation >
A number refering to digital storage media on which the annual account information is stored
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SocialAccounts" type="graydon_be:SocialAccountsBE" minOccurs="0" maxOccurs="1" >
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Operations" >
<xs:annotation >
<xs:documentation >
This instance of Operations is a child of the CDM Operations class. EmployersCategory and JointIndustrialCommitees are added in this country extension.
</xs:documentation>
</xs:annotation>
<xs:complexContent >
<xs:extension base="cdm:Operations" >
<xs:sequence >
<xs:element name="EmployersCategory" type="xs:string" minOccurs="0" maxOccurs="unbounded" >
<xs:annotation >
<xs:documentation >
The employers category describes which rules the employers applies to its employees. There are rules about the number of holidays are applicable for an employee wtc.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="JointIndustrialCommittees" type="xs:string" minOccurs="0" maxOccurs="unbounded" >
<xs:annotation >
<xs:documentation >
The paritaire committees are responsible for the salary negotiations in the private sector. For example a private company. The comities, consist of representatives of the employer and the employees of a private company. The chairman of the committee is a negotiator of a government agency responsible for employment.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DigitalStorageNumberType" >
<xs:annotation >
<xs:documentation >
A number refering to digital storage media on which the annual account information is stored
</xs:documentation>
</xs:annotation>
<xs:simpleContent >
<xs:extension base="xs:string" >
<xs:attribute name="media" use="optional" type="xs:string" >
<xs:annotation >
<xs:documentation >
On what kind of media the data is stored. for example CDRom, Dvd or Flashdisk</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:schema>

View File

@ -0,0 +1,273 @@
<xs:schema targetNamespace="http://extranet.devlocal.com/services/schema/services/compactdataset/1.0" xmlns:compact="http://extranet.devlocal.com/services/schema/services/compactdataset/1.0" xmlns:cdm="http://extranet.devlocal.com/services/schema/cdm/1.0" xmlns:datatypes="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" xmlns:graydon_be="http://extranet.devlocal.com/services/schema/cdm/provider/graydon_be/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/provider/graydon_be/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/graydon_be-1.0.xsd" >
</xs:import>
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/datatypes-1.0.xsd" >
</xs:import>
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/cdm-1.0.xsd" >
</xs:import>
<xs:complexType name="CompactDataSet" >
<xs:complexContent >
<xs:extension base="datatypes:DataSetType" >
<xs:sequence >
<xs:element name="Company" type="compact:RestrictedCompany" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:group name="SchemaLinks" >
<xs:annotation >
<xs:documentation >
Links to extensions. Only used to ensure that schema imports are generated properly
</xs:documentation>
</xs:annotation>
<xs:sequence >
<xs:element name="LinktoGraydon_BE" type="graydon_be:SchemaLink" minOccurs="0" maxOccurs="1" >
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="RestrictedCompany" >
<xs:annotation >
<xs:documentation >
The main entity company
</xs:documentation>
</xs:annotation>
<xs:complexContent >
<xs:restriction base="cdm:Company" >
<xs:sequence >
<xs:element name="CompanyId" type="xs:string" minOccurs="1" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
The unique company identifier assigned by the provider to the company.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Vat" type="datatypes:VatType" minOccurs="0" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
The VAT number in case the company is liable for value added tax.
Format: differs per country
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SocialSecurityNumber" type="xs:string" minOccurs="0" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
The registration number for this company at the countries social security governmental body
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CompanyRegistry" type="cdm:CompanyRegistry" minOccurs="0" maxOccurs="unbounded" >
</xs:element>
<xs:element name="CompanyName" type="datatypes:NameType" minOccurs="1" maxOccurs="unbounded" >
<xs:annotation >
<xs:documentation >
A list of official registered names, possibly from different sources (e.g. chamber of commerce) , not being the trading name.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TradeName" type="datatypes:NameType" minOccurs="0" maxOccurs="unbounded" >
<xs:annotation >
<xs:documentation >
Type for holding trades name, also known as a trading name or a business name.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CompanyStatus" type="datatypes:CompanyStatusType" minOccurs="0" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
Indication whether the company is active or not.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CompanyAddress" type="cdm:Address" minOccurs="0" maxOccurs="unbounded" >
</xs:element>
<xs:element name="TelephoneNumber" type="datatypes:TelephoneNumberType" minOccurs="0" maxOccurs="unbounded" >
<xs:annotation >
<xs:documentation >
Main telephone number. Preferred format: +(countrycode)(number) .
E.g. +31201234567
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Telefax" type="xs:string" minOccurs="0" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
Fax number. Preferred format: +(countrycode)(number).
E.g. +31201234567
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WebAddress" type="xs:string" minOccurs="0" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
Website address. Format: www.graydon.com (so without http:// prefix).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EmailAddress" type="xs:string" minOccurs="0" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
E-mail address of the subject company. Format example: info@graydon.be
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncorporationDate" type="datatypes:DateType" minOccurs="0" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
Date of incorporation of the subject company.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LegalForm" type="datatypes:LegalFormType" minOccurs="0" maxOccurs="unbounded" >
<xs:annotation >
<xs:documentation >
Legal form of the subject company. E.g.
&amp;lt;ul&amp;gt;
&amp;lt;li&amp;gt;Limited company&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Private Company&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;
The complex type consist of an official country specific name, a unified name to make legal forms comparable across countires and the countrycode.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IsUltimateParent" type="xs:boolean" minOccurs="0" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
Indication if the company is the ultimateParent (has no parent companies). Can be omitted if the company is not part of a holding structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Operations" type="cdm:Operations" minOccurs="0" maxOccurs="1" >
</xs:element>
<xs:element name="Position" type="cdm:Position" minOccurs="0" maxOccurs="unbounded" >
</xs:element>
<xs:element name="CreditRecommendation" type="cdm:CreditRecommendation" minOccurs="0" maxOccurs="unbounded" >
</xs:element>
<xs:element name="FinancialSummary" type="cdm:FinancialSummary" minOccurs="0" maxOccurs="unbounded" >
</xs:element>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="SchemaLink" >
<xs:annotation >
<xs:documentation >
This is a technical type used to link datasets with this schema to ensure that import schema references are generated properly. </xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string" >
</xs:restriction>
</xs:simpleType>
</xs:schema>

View File

@ -0,0 +1,442 @@
<xs:schema targetNamespace="http://extranet.devlocal.com/services/schema/services/credit-data/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:credit-data="http://extranet.devlocal.com/services/schema/services/credit-data/1.0" xmlns:compact="http://extranet.devlocal.com/services/schema/services/compactdataset/1.0" xmlns:full="http://extranet.devlocal.com/services/schema/services/fulldataset/1.0" xmlns:credrec="http://extranet.devlocal.com/services/schema/services/creditrecommendation/1.0" xmlns:credit-data-types="http://extranet.devlocal.com/services/schema/services/credit-data/types/1.0" xmlns:shared="http://extranet.devlocal.com/services/schema/services/shared/1.0" xmlns:datatypes="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" >
<xs:import namespace="http://extranet.devlocal.com/services/schema/services/creditrecommendation/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/services/creditrecommendation-1.0.xsd" >
</xs:import>
<xs:import namespace="http://extranet.devlocal.com/services/schema/services/fulldataset/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/services/fulldataset-1.0.xsd" >
</xs:import>
<xs:import namespace="http://extranet.devlocal.com/services/schema/services/compactdataset/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/services/compactdataset-1.0.xsd" >
</xs:import>
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/datatypes-1.0.xsd" >
</xs:import>
<xs:import namespace="http://extranet.devlocal.com/services/schema/services/credit-data/types/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/services/credit-data-types-1.0.xsd" >
</xs:import>
<xs:element name="RetrieveOptionsRequest" >
<xs:complexType >
<xs:sequence >
<xs:element name="CompanyId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="RetrieveOptionsResponse" >
<xs:complexType >
<xs:sequence >
<xs:element name="DateOfLastUpdate" type="xs:date" minOccurs="0" maxOccurs="1" >
</xs:element>
<xs:element name="DateOfLastAnnualAccount" type="xs:date" minOccurs="0" maxOccurs="1" >
</xs:element>
<xs:element name="DataSetOptions" type="credit-data-types:DataSetOptionsType" minOccurs="0" maxOccurs="1" >
</xs:element>
<xs:element name="InvestigationOptions" type="credit-data-types:InvestigationOptionsType" minOccurs="0" maxOccurs="1" >
</xs:element>
<xs:element name="MonitoringOptions" type="credit-data-types:MonitoringOptionsType" minOccurs="0" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="OrderDataSetRequest" >
<xs:complexType >
<xs:sequence >
<xs:element name="CompanyId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="DataSetType" type="credit-data-types:DataSetType" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="DataSetVersion" type="xs:decimal" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="LanguageCode" type="datatypes:ISOLanguageCodeType" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="OrderDataSetResponse" >
<xs:complexType >
<xs:sequence >
<xs:element name="Order" type="credit-data-types:OrderType" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="RetrieveOrderStatusRequest" >
<xs:complexType >
<xs:sequence >
<xs:element name="ProviderOrderId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="RetrieveOrderStatusResponse" >
<xs:complexType >
<xs:sequence >
<xs:element name="Order" type="credit-data-types:OrderType" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="RetrieveDataSetRequest" >
<xs:complexType >
<xs:sequence >
<xs:element name="ProviderOrderId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="RetrieveDataSetResponse" >
<xs:complexType >
<xs:sequence >
<xs:element name="Order" type="credit-data-types:OrderType" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="DataSet" type="datatypes:DataSetType" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="StartInvestigationRequest" >
<xs:complexType >
<xs:sequence >
<xs:element name="CompanyId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="DataSetType" type="credit-data-types:DataSetType" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="ServiceLevelName" type="credit-data-types:ServiceLevelNameType" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="DataSetVersion" type="xs:decimal" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="LanguageCode" type="datatypes:ISOLanguageCodeType" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="StartInvestigationResponse" >
<xs:complexType >
<xs:sequence >
<xs:element name="Order" type="credit-data-types:OrderType" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="StartMonitoringRequest" >
<xs:complexType >
<xs:sequence >
<xs:element name="CompanyId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="CategoryName" type="credit-data-types:MonitoringCategoryNameType" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="EventType" type="credit-data-types:MonitoringEventTypeType" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="MonitoringVersion" type="xs:decimal" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="LanguageCode" type="datatypes:ISOLanguageCodeType" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="PreferredStartDate" type="xs:date" minOccurs="0" maxOccurs="1" >
</xs:element>
<xs:element name="PreferredEndDate" type="xs:date" minOccurs="0" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="StartMonitoringResponse" >
<xs:complexType >
<xs:sequence >
<xs:element name="Order" type="credit-data-types:OrderType" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="UpdateMonitoringOptionsRequest" >
<xs:complexType >
<xs:sequence >
<xs:element name="ProviderOrderId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="NewCategoryName" type="credit-data-types:MonitoringCategoryNameType" minOccurs="0" maxOccurs="1" >
</xs:element>
<xs:element name="NewEventType" type="credit-data-types:MonitoringEventTypeType" minOccurs="0" maxOccurs="1" >
</xs:element>
<xs:element name="NewMonitoringVersion" type="xs:decimal" minOccurs="0" maxOccurs="1" >
</xs:element>
<xs:element name="NewLanguageCode" type="datatypes:ISOLanguageCodeType" minOccurs="0" maxOccurs="1" >
</xs:element>
<xs:element name="PreferredStartDate" type="xs:date" minOccurs="0" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="UpdateMonitoringOptionsResponse" >
<xs:complexType >
<xs:sequence >
<xs:element name="Order" type="credit-data-types:OrderType" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="StopMonitoringRequest" >
<xs:complexType >
<xs:sequence >
<xs:element name="ProviderOrderId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="PreferredEndDate" type="xs:date" minOccurs="0" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="StopMonitoringResponse" >
<xs:complexType >
<xs:sequence >
<xs:element name="Order" type="credit-data-types:OrderType" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="PingRequest" >
<xs:complexType >
<xs:sequence >
<xs:element name="Type" type="credit-data-types:PingType" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="PingResponse" >
<xs:complexType >
<xs:sequence >
<xs:element name="ResponseCode" type="credit-data-types:PingResponseCodeType" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="Remark" type="xs:string" minOccurs="0" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:group name="SchemaLinks" >
<xs:annotation >
<xs:documentation >
Links to different datasets. Only used to ensure that schema imports are generated properly
</xs:documentation>
</xs:annotation>
<xs:sequence >
<xs:element name="LinkCompactDataSet" type="compact:SchemaLink" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="LinkToFullDataSet" type="full:SchemaLink" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="LinkToCreditRecommendation" type="credrec:SchemaLink" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
</xs:group>
</xs:schema>

View File

@ -0,0 +1,452 @@
<xsd:schema targetNamespace="http://extranet.devlocal.com/services/schema/services/credit-data/types/1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://extranet.devlocal.com/services/schema/services/credit-data/types/1.0" xmlns:datatypes="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" >
<xsd:import namespace="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/datatypes-1.0.xsd" >
</xsd:import>
<xsd:simpleType name="DataSetTypeType" >
<xsd:restriction base="xsd:string" >
<xsd:enumeration value="Compact" >
</xsd:enumeration>
<xsd:enumeration value="CreditRecommendation" >
</xsd:enumeration>
<xsd:enumeration value="Flex" >
</xsd:enumeration>
<xsd:enumeration value="Full" >
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="DataSetType" >
<xsd:simpleContent >
<xsd:extension base="tns:DataSetTypeType" >
<xsd:attribute name="flexType" use="optional" type="xsd:string" >
<xsd:annotation >
<xsd:documentation >
The complex type used for this flex data set.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="flexNameSpace" use="optional" type="xsd:string" >
<xsd:annotation >
<xsd:documentation >
The name space used for this flex data set
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="EventCodesType" >
<xsd:sequence >
<xsd:element name="EventCode" type="datatypes:EventCodeType" minOccurs="1" maxOccurs="unbounded" >
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ServiceLevelsType" >
<xsd:sequence >
<xsd:element name="ServiceLevel" type="tns:ServiceLevelType" minOccurs="0" maxOccurs="unbounded" >
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ServiceLevelNameType" >
<xsd:restriction base="xsd:string" >
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ServiceLevelType" >
<xsd:sequence >
<xsd:element name="Name" type="tns:ServiceLevelNameType" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="Duration" type="xsd:int" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="DurationMetric" type="tns:DurationMetricType" minOccurs="1" maxOccurs="1" >
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="DurationMetricType" >
<xsd:restriction base="xsd:string" >
<xsd:enumeration value="hour" >
</xsd:enumeration>
<xsd:enumeration value="day" >
</xsd:enumeration>
<xsd:enumeration value="week" >
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="MonitoringCategoriesType" >
<xsd:sequence >
<xsd:element name="Category" type="tns:MonitoringCategoryType" minOccurs="0" maxOccurs="unbounded" >
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="MonitoringCategoryType" >
<xsd:sequence >
<xsd:element name="Name" type="tns:MonitoringCategoryNameType" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="EventCodes" type="tns:EventCodesType" minOccurs="1" maxOccurs="1" >
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="MonitoringCategoryNameType" >
<xsd:restriction base="xsd:string" >
<xsd:enumeration value="CreditRecommendation" >
</xsd:enumeration>
<xsd:enumeration value="All" >
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="LanguageCodesType" >
<xsd:sequence >
<xsd:element name="LanguageCode" type="datatypes:ISOLanguageCodeType" minOccurs="0" maxOccurs="unbounded" >
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="MonitoringEventTypeType" >
<xsd:restriction base="xsd:string" >
<xsd:enumeration value="EventOnly" >
</xsd:enumeration>
<xsd:enumeration value="EventWithData" >
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="OrderStatusType" >
<xsd:restriction base="xsd:string" >
<xsd:enumeration value="Completed" >
</xsd:enumeration>
<xsd:enumeration value="Pending" >
</xsd:enumeration>
<xsd:enumeration value="Delivered" >
</xsd:enumeration>
<xsd:enumeration value="Undeliverable" >
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="OrderTypeType" >
<xsd:restriction base="xsd:string" >
<xsd:enumeration value="DataSet" >
</xsd:enumeration>
<xsd:enumeration value="Monitoring" >
</xsd:enumeration>
<xsd:enumeration value="Investigation" >
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ReasonType" >
<xsd:restriction base="xsd:string" >
<xsd:enumeration value="TakeOver" >
</xsd:enumeration>
<xsd:enumeration value="Other" >
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="OptionType" abstract="true" >
<xsd:sequence >
<xsd:element name="Version" type="xsd:decimal" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="LanguageCodes" type="tns:LanguageCodesType" minOccurs="1" maxOccurs="1" >
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DataSetOptionsType" >
<xsd:sequence >
<xsd:element name="DataSetOption" type="tns:DataSetOptionType" minOccurs="1" maxOccurs="unbounded" >
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DataSetOptionType" >
<xsd:complexContent >
<xsd:extension base="tns:OptionType" >
<xsd:sequence >
<xsd:element name="DataSetType" type="tns:DataSetType" minOccurs="1" maxOccurs="1" >
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="InvestigationOptionsType" >
<xsd:sequence >
<xsd:element name="InvestigationOption" type="tns:InvestigationOptionType" minOccurs="1" maxOccurs="unbounded" >
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="InvestigationOptionType" >
<xsd:complexContent >
<xsd:extension base="tns:OptionType" >
<xsd:sequence >
<xsd:element name="DataSetType" type="tns:DataSetType" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="ServiceLevels" type="tns:ServiceLevelsType" minOccurs="1" maxOccurs="1" >
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="MonitoringOptionsType" >
<xsd:sequence >
<xsd:element name="MonitoringOption" type="tns:MonitoringOptionType" minOccurs="1" maxOccurs="unbounded" >
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="MonitoringOptionType" >
<xsd:complexContent >
<xsd:extension base="tns:OptionType" >
<xsd:sequence >
<xsd:element name="Categories" type="tns:MonitoringCategoriesType" minOccurs="1" maxOccurs="1" >
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="OrderType" >
<xsd:sequence >
<xsd:element name="ProviderOrderId" type="xsd:string" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="InternalOrderId" type="xsd:long" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="ConsumerId" type="xsd:string" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="CustomerId" type="xsd:string" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="ProviderId" type="xsd:string" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="CountryCode" type="xsd:string" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="CompanyId" type="xsd:string" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="OrderType" type="tns:OrderTypeType" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="DataSetType" type="tns:DataSetType" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="EventType" type="tns:MonitoringEventTypeType" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="CategoryName" type="tns:MonitoringCategoryNameType" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="ServiceLevelName" type="tns:ServiceLevelNameType" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="Version" type="xsd:string" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="LanguageCode" type="datatypes:ISOLanguageCodeType" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="OrderStatus" type="tns:OrderStatusType" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="OrderDateTime" type="xsd:dateTime" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="DateTimeCompleted" type="xsd:dateTime" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="DueDateTime" type="xsd:dateTime" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="DateTimeRetrieved" type="xsd:dateTime" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="PreferredStartDate" type="xsd:date" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="ActualStartDate" type="xsd:date" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="PreferredEndDate" type="xsd:date" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="ActualEndDate" type="xsd:date" minOccurs="0" maxOccurs="1" >
</xsd:element>
<xsd:element name="Remark" type="xsd:string" minOccurs="0" maxOccurs="1" >
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="PingType" >
<xsd:restriction base="xsd:string" >
<xsd:enumeration value="simple" >
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="PingResponseCodeType" >
<xsd:restriction base="xsd:string" >
<xsd:enumeration value="OK" >
</xsd:enumeration>
<xsd:enumeration value="ServiceNotAvailable" >
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>

View File

@ -0,0 +1,106 @@
<xs:schema targetNamespace="http://extranet.devlocal.com/services/schema/services/creditrecommendation/1.0" xmlns:credrec="http://extranet.devlocal.com/services/schema/services/creditrecommendation/1.0" xmlns:cdm="http://extranet.devlocal.com/services/schema/cdm/1.0" xmlns:datatypes="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/datatypes-1.0.xsd" >
</xs:import>
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/cdm-1.0.xsd" >
</xs:import>
<xs:complexType name="RestrictedCompany" >
<xs:annotation >
<xs:documentation >
The main entity company, with only attributes and relationships needed for the Credit Recommendation dataset
</xs:documentation>
</xs:annotation>
<xs:complexContent >
<xs:restriction base="cdm:Company" >
<xs:sequence >
<xs:element name="CompanyId" type="xs:string" minOccurs="1" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
The unique identifier allocated by the provider to the company. This should be unique per provider.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CompanyRegistry" type="cdm:CompanyRegistry" minOccurs="0" maxOccurs="unbounded" >
</xs:element>
<xs:element name="CompanyName" type="datatypes:NameType" minOccurs="1" maxOccurs="unbounded" >
<xs:annotation >
<xs:documentation >
A list of official registered names from different sources eg the chamber of commerce, not being the tradingname.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CompanyAddress" type="cdm:Address" minOccurs="0" maxOccurs="unbounded" >
<xs:annotation >
<xs:documentation >
Association to the class TradingAddress</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CreditRecommendation" type="cdm:CreditRecommendation" minOccurs="0" maxOccurs="unbounded" >
</xs:element>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CreditRecommendation" >
<xs:complexContent >
<xs:extension base="datatypes:DataSetType" >
<xs:sequence >
<xs:element name="Company" type="credrec:RestrictedCompany" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="SchemaLink" >
<xs:annotation >
<xs:documentation >
This is a technical type used to link datasets with this schema to ensure that import schema references are generated properly. </xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string" >
</xs:restriction>
</xs:simpleType>
</xs:schema>

View File

@ -0,0 +1,65 @@
<xs:schema targetNamespace="http://extranet.devlocal.com/services/schema/services/fulldataset/1.0" xmlns:full="http://extranet.devlocal.com/services/schema/services/fulldataset/1.0" xmlns:cdm="http://extranet.devlocal.com/services/schema/cdm/1.0" xmlns:datatypes="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" xmlns:graydon_be="http://extranet.devlocal.com/services/schema/cdm/provider/graydon_be/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/provider/graydon_be/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/graydon_be-1.0.xsd" >
</xs:import>
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/datatypes-1.0.xsd" >
</xs:import>
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/cdm-1.0.xsd" >
</xs:import>
<xs:complexType name="FullDataSet" >
<xs:complexContent >
<xs:extension base="datatypes:DataSetType" >
<xs:sequence >
<xs:element name="Company" type="cdm:Company" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:group name="SchemaLinks" >
<xs:annotation >
<xs:documentation >
Links to extensions. Only used to ensure that schema imports are generated properly
</xs:documentation>
</xs:annotation>
<xs:sequence >
<xs:element name="LinkToGraydon_BE" type="graydon_be:SchemaLink" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:sequence>
</xs:group>
<xs:simpleType name="SchemaLink" >
<xs:annotation >
<xs:documentation >
This is a technical type used to link datasets with this schema to ensure that import schema references are generated properly.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string" >
</xs:restriction>
</xs:simpleType>
</xs:schema>

View File

@ -0,0 +1,89 @@
<xs:schema targetNamespace="http://extranet.devlocal.com/services/schema/services/monitor/1.0" xmlns:mon="http://extranet.devlocal.com/services/schema/services/monitor/1.0" xmlns:cdm="http://extranet.devlocal.com/services/schema/cdm/1.0" xmlns:datatypes="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/datatypes-1.0.xsd" >
</xs:import>
<xs:import namespace="http://extranet.devlocal.com/services/schema/cdm/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/cdm/cdm-1.0.xsd" >
</xs:import>
<xs:complexType name="RestrictedCompany" >
<xs:annotation >
<xs:documentation >
General entity for a company holding all information about the company.
</xs:documentation>
</xs:annotation>
<xs:complexContent >
<xs:restriction base="cdm:Company" >
<xs:sequence >
<xs:element name="CompanyId" type="xs:string" minOccurs="1" maxOccurs="1" >
<xs:annotation >
<xs:documentation >
The unique company identifier assigned by the provider to the company.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CompanyName" type="datatypes:NameType" minOccurs="1" maxOccurs="unbounded" >
<xs:annotation >
<xs:documentation >
A list of official registered names, possibly from different sources (e.g. chamber of commerce) , not being the trading name.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Event" type="cdm:Event" minOccurs="0" maxOccurs="unbounded" >
</xs:element>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MonitoringEvents" >
<xs:sequence >
<xs:element name="MonitoringEvent" type="mon:MonitoringEvent" minOccurs="0" maxOccurs="unbounded" >
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MonitoringEvent" >
<xs:sequence >
<xs:element name="ProviderEventId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="ProviderOrderId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="Company" type="mon:RestrictedCompany" minOccurs="0" maxOccurs="1" >
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>

View File

@ -0,0 +1,114 @@
<xs:schema targetNamespace="http://extranet.devlocal.com/services/schema/services/shared/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://extranet.devlocal.com/services/schema/services/shared/1.0" >
<xs:element name="ServiceHeader" >
<xs:complexType >
<xs:sequence >
<xs:element name="ConsumerId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="CustomerId" type="xs:string" minOccurs="0" maxOccurs="1" >
</xs:element>
<xs:element name="Provider" type="tns:Provider" minOccurs="0" maxOccurs="unbounded" >
</xs:element>
<xs:element name="TimeStamp" type="xs:dateTime" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="TestIndication" type="xs:boolean" minOccurs="0" maxOccurs="1" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:complexType name="Provider" >
<xs:sequence >
<xs:element name="ProviderId" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="CountryCode" type="tns:CountryCodeType" minOccurs="1" maxOccurs="unbounded" >
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="CountryCodeType" >
<xs:restriction base="xs:string" >
<xs:pattern value="[A-Z_0-9]*" >
</xs:pattern>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="ExceptionType" >
<xs:sequence >
<xs:element name="ErrorCode" type="xs:int" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="ErrorMessage" type="xs:string" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="ErrorDetails" type="xs:string" minOccurs="1" maxOccurs="1" nillable="true" >
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="optional" default="1.0" type="xs:decimal" >
</xs:attribute>
</xs:complexType>
<xs:complexType name="FunctionalExceptionType" >
<xs:complexContent >
<xs:extension base="tns:ExceptionType" >
<xs:sequence >
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="TechnicalExceptionType" >
<xs:complexContent >
<xs:extension base="tns:ExceptionType" >
<xs:sequence >
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="FunctionalException" type="tns:FunctionalExceptionType" >
</xs:element>
<xs:element name="TechnicalException" type="tns:TechnicalExceptionType" >
</xs:element>
</xs:schema>

View File

@ -0,0 +1,141 @@
<?php
// --------------------------------------------------------------------------- //
// Teste internationalCompanyCreditDataService
// --------------------------------------------------------------------------- //
if (isset($_GET['action']) == true) {
$action = $_GET['action'];
if (isset($_GET['CompanyId']) == true) {
$companyId = $_GET['CompanyId'];
}
if (isset($_GET['ProviderOrderId']) == true) {
$providerOrderId = $_GET['ProviderOrderId'];
}
} else {
$params = array('action',
'companyId',
'providerOrderId');
$argc = $_SERVER['argc'];
$argv = $_SERVER['argv'];
for ($i = 1; $i < $argc; ++$i) {
list($label, $valeur) = explode('=', $argv[$i]);
$var = lcfirst($label);
if (in_array($var, $params) == false) {
print 'attention: parametre non reconnu '.$var."\n";
continue;
}
$$var = $valeur;
}
}
header('Content-Type: text/html; charset=utf-8');
define( 'NDEBUG', '1');
define('VERSION', '1.0');
$gServiceHeader = new StdClass;
$gServiceHeader->ConsumerId = 1234;
//$gServiceHeader->CustomerId = 1234;
$gServiceHeader->Provider = new StdClass;
$gServiceHeader->Provider->ProviderId = 2345;
$gServiceHeader->Provider->CountryCode = 'FR';
$gServiceHeader->TimeStamp = date('Y-m-d\TH:i:s');
$gServiceHeader->TestIndication = true;
if (NDEBUG) {
$soap_header =
new SoapHeader('http://extranet.devlocal.com/services/'.
'schema/services/shared/1.0', 'ServiceHeader',
$gServiceHeader);
$soap_client =
new SoapClient('http://extranet.devlocal.com/services/'.
'wsdl/credit-data-service-provider-api-1.0.wsdl',
array('soap_version' => SOAP_1_1,
'trace' => true));
$soap_client->__setSoapHeaders($soap_header);
}
$fonction = '';
$o = new StdClass;
switch ($action) {
case 'Ping':
$o->Type = 'simple';
$fonction = 'Ping';
break;
case 'RetrieveOptions':
$o->CompanyId = $companyId;
$fonction = 'RetrieveOptions';
break;
case 'OrderDataSet':
$o->CompanyId = $companyId;
$o->DataSetType = new StdClass;
$o->DataSetType->_ = 'Full';
$o->DataSetVersion = VERSION;
$o->LanguageCode = 'FR';
$fonction = 'OrderDataSet';
break;
case 'RetrieveOrderStatus':
$o->ProviderOrderId = $providerOrderId;
$fonction = 'RetrieveOrderStatus';
break;
case 'RetrieveDataSet':
$o->ProviderOrderId = $providerOrderId;
$fonction = 'RetrieveDataSet';
break;
case 'StartInvestigation':
$o->CompanyId = $companyId;
$o->DataSetType = new StdClass;
$o->DataSetType->_ = 'Full';
$o->DataSetVersion = VERSION;
$o->ServiceLevelName = 'Normal';
$o->LanguageCode = 'FR';
$fonction = 'StartInvestigation';
break;
case 'StartMonitoring':
$o->CompanyId = $companyId;
$o->CategoryName = 'All';
$o->EventType = 'EventOnly';
$o->MonitoringVersion = '1.0';
$o->LanguageCode = 'FR';
//$o->PreferredStartDate = ;
//$o->PreferredEndDate = ;
$fonction = 'StartMonitoring';
break;
case 'StopMonitoring':
$o->ProviderOrderId = $providerOrderId;
//$o->PreferredEndDate = ;
$fonction = 'StopMonitoring';
break;
case 'UpdateMonitoringOptions':
$o->ProviderOrderId = $providerOrderId;
//$o->NewCategoryName = ;
$o->NewEventType = 'EventWithData';
//$o->NewMonitoringVersion = ;
//$o->NewLanguageCode = ;
$o->PreferredStartDate = date('Y-m-d');
$fonction = 'UpdateMonitoringOptions';
break;
default:
print 'erreur: fonction inconnue';
exit;
}
print '<pre>';
if (NDEBUG) {
print_r($soap_header);
}
print '<br/>';
print_r($o);
print '<br/>';
if (NDEBUG) {
print_r($soap_client->__call($fonction, array($o)));
//print '<br/>';
//print 'Requete: '.htmlspecialchars($soap_client->__getLastRequest());
//print '<br/>';
//print 'Reponse: '.htmlspecialchars($soap_client->__getLastResponse());
} else {
require_once 'credit-data/v1/index.php';
print_r(call_user_func($fonction, $o));
}
print "</pre>";
?>

View File

@ -0,0 +1,30 @@
<?php
// --------------------------------------------------------------------------- //
// update-investigation-tests.php
// --------------------------------------------------------------------------- //
define( 'NDEBUG', '0');
define('VERSION', '1.0');
require_once realpath(dirname(__FILE__).'/../../config/prepend.php');
require_once 'credit-data/v1/index.php';
$date = date('Y-m-d H:i:s');
$orders = Doctrine_Query::create()
->from('Orders')
->where('OrderStatus = ?', 'Pending')
->fetchArray();
foreach ($orders as $o) {
if ($date < $o['DueDateTime']) {
continue;
}
$q = Doctrine_Query::create()
->from('Orders')
->where('ProviderOrderId = ?', $o['ProviderOrderId'])
->fetchOne();
$q->DataSet = serialize(getDataSet($q->CompanyId, $q->DataSetType));
$q->OrderStatus = 'Completed';
$q->DateTimeCompleted = $date;
$q->save();
print 'order '.$q->ProviderOrderId." updated\n";
}
?>

View File

@ -0,0 +1,719 @@
<definitions name="CreditDataServices" targetNamespace="http://extranet.devlocal.com/services/wsdl/credit-data/1.0" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:credit-data="http://extranet.devlocal.com/services/schema/services/credit-data/1.0" xmlns:credit-data-types="http://extranet.devlocal.com/services/schema/services/credit-data/types/1.0" xmlns:shared="http://extranet.devlocal.com/services/schema/services/shared/1.0" xmlns:datatypes="http://extranet.devlocal.com/services/schema/cdm/datatypes/1.0" xmlns:tns="http://extranet.devlocal.com/services/wsdl/credit-data/1.0" >
<wsdl:types >
<xs:schema >
<xs:import namespace="http://extranet.devlocal.com/services/schema/services/credit-data/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/services/credit-data-service-provider-api-1.0.xsd" >
</xs:import>
<xs:import namespace="http://extranet.devlocal.com/services/schema/services/shared/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/services/shared-1.0.xsd" >
</xs:import>
</xs:schema>
</wsdl:types>
<message name="RetrieveOptionsRequest" >
<part name="ServiceHeader" element="shared:ServiceHeader" >
</part>
<part name="RetrieveOptionsRequest" element="credit-data:RetrieveOptionsRequest" >
</part>
</message>
<message name="RetrieveOptionsResponse" >
<part name="RetrieveOptionsResponse" element="credit-data:RetrieveOptionsResponse" >
</part>
</message>
<message name="OrderDataSetRequest" >
<part name="ServiceHeader" element="shared:ServiceHeader" >
</part>
<part name="OrderDataSetRequest" element="credit-data:OrderDataSetRequest" >
</part>
</message>
<message name="OrderDataSetResponse" >
<part name="OrderDataSetResponse" element="credit-data:OrderDataSetResponse" >
</part>
</message>
<message name="RetrieveOrderStatusRequest" >
<part name="ServiceHeader" element="shared:ServiceHeader" >
</part>
<part name="RetrieveOrderStatusRequest" element="credit-data:RetrieveOrderStatusRequest" >
</part>
</message>
<message name="RetrieveOrderStatusResponse" >
<part name="RetrieveOrderStatusResponse" element="credit-data:RetrieveOrderStatusResponse" >
</part>
</message>
<message name="RetrieveDataSetRequest" >
<part name="ServiceHeader" element="shared:ServiceHeader" >
</part>
<part name="RetrieveDataSetRequest" element="credit-data:RetrieveDataSetRequest" >
</part>
</message>
<message name="RetrieveDataSetResponse" >
<part name="RetrieveDataSetResponse" element="credit-data:RetrieveDataSetResponse" >
</part>
</message>
<message name="StartInvestigationRequest" >
<part name="ServiceHeader" element="shared:ServiceHeader" >
</part>
<part name="StartInvestigationRequest" element="credit-data:StartInvestigationRequest" >
</part>
</message>
<message name="StartInvestigationResponse" >
<part name="StartInvestigationResponse" element="credit-data:StartInvestigationResponse" >
</part>
</message>
<message name="StartMonitoringRequest" >
<part name="ServiceHeader" element="shared:ServiceHeader" >
</part>
<part name="StartMonitoringRequest" element="credit-data:StartMonitoringRequest" >
</part>
</message>
<message name="StartMonitoringResponse" >
<part name="StartMonitoringResponse" element="credit-data:StartMonitoringResponse" >
</part>
</message>
<message name="UpdateMonitoringOptionsRequest" >
<part name="ServiceHeader" element="shared:ServiceHeader" >
</part>
<part name="UpdateMonitoringOptionsRequest" element="credit-data:UpdateMonitoringOptionsRequest" >
</part>
</message>
<message name="UpdateMonitoringOptionsResponse" >
<part name="UpdateMonitoringOptionsResponse" element="credit-data:UpdateMonitoringOptionsResponse" >
</part>
</message>
<message name="StopMonitoringRequest" >
<part name="ServiceHeader" element="shared:ServiceHeader" >
</part>
<part name="StopMonitoringRequest" element="credit-data:StopMonitoringRequest" >
</part>
</message>
<message name="StopMonitoringResponse" >
<part name="StopMonitoringResponse" element="credit-data:StopMonitoringResponse" >
</part>
</message>
<message name="PingRequest" >
<part name="ServiceHeader" element="shared:ServiceHeader" >
</part>
<part name="PingRequest" element="credit-data:PingRequest" >
</part>
</message>
<message name="PingResponse" >
<part name="PingResponse" element="credit-data:PingResponse" >
</part>
</message>
<message name="TechnicalException" >
<part name="TechnicalException" element="shared:TechnicalException" >
</part>
</message>
<message name="FunctionalException" >
<part name="FunctionalException" element="shared:FunctionalException" >
</part>
</message>
<portType name="CreditDataPortType" >
<operation name="RetrieveOptions" >
<input name="RetrieveOptionsRequest" message="tns:RetrieveOptionsRequest" >
</input>
<output name="RetrieveOptionsResponse" message="tns:RetrieveOptionsResponse" >
</output>
<fault name="FunctionalException" message="tns:FunctionalException" >
</fault>
<fault name="TechnicalException" message="tns:TechnicalException" >
</fault>
</operation>
<operation name="OrderDataSet" >
<input name="OrderDataSetRequest" message="tns:OrderDataSetRequest" >
</input>
<output name="OrderDataSetResponse" message="tns:OrderDataSetResponse" >
</output>
<fault name="FunctionalException" message="tns:FunctionalException" >
</fault>
<fault name="TechnicalException" message="tns:TechnicalException" >
</fault>
</operation>
<operation name="RetrieveOrderStatus" >
<input name="RetrieveOrderStatusRequest" message="tns:RetrieveOrderStatusRequest" >
</input>
<output name="RetrieveOrderStatusResponse" message="tns:RetrieveOrderStatusResponse" >
</output>
<fault name="FunctionalException" message="tns:FunctionalException" >
</fault>
<fault name="TechnicalException" message="tns:TechnicalException" >
</fault>
</operation>
<operation name="RetrieveDataSet" >
<input name="RetrieveDataSetRequest" message="tns:RetrieveDataSetRequest" >
</input>
<output name="RetrieveDataSetResponse" message="tns:RetrieveDataSetResponse" >
</output>
<fault name="FunctionalException" message="tns:FunctionalException" >
</fault>
<fault name="TechnicalException" message="tns:TechnicalException" >
</fault>
</operation>
<operation name="StartInvestigation" >
<input name="StartInvestigationRequest" message="tns:StartInvestigationRequest" >
</input>
<output name="StartInvestigationResponse" message="tns:StartInvestigationResponse" >
</output>
<fault name="FunctionalException" message="tns:FunctionalException" >
</fault>
<fault name="TechnicalException" message="tns:TechnicalException" >
</fault>
</operation>
<operation name="StartMonitoring" >
<input name="StartMonitoringRequest" message="tns:StartMonitoringRequest" >
</input>
<output name="StartMonitoringResponse" message="tns:StartMonitoringResponse" >
</output>
<fault name="FunctionalException" message="tns:FunctionalException" >
</fault>
<fault name="TechnicalException" message="tns:TechnicalException" >
</fault>
</operation>
<operation name="UpdateMonitoringOptions" >
<input name="UpdateMonitoringOptionsRequest" message="tns:UpdateMonitoringOptionsRequest" >
</input>
<output name="UpdateMonitoringOptionsResponse" message="tns:UpdateMonitoringOptionsResponse" >
</output>
<fault name="FunctionalException" message="tns:FunctionalException" >
</fault>
<fault name="TechnicalException" message="tns:TechnicalException" >
</fault>
</operation>
<operation name="StopMonitoring" >
<input name="StopMonitoringRequest" message="tns:StopMonitoringRequest" >
</input>
<output name="StopMonitoringResponse" message="tns:StopMonitoringResponse" >
</output>
<fault name="FunctionalException" message="tns:FunctionalException" >
</fault>
<fault name="TechnicalException" message="tns:TechnicalException" >
</fault>
</operation>
<operation name="Ping" >
<input name="PingRequest" message="tns:PingRequest" >
</input>
<output name="PingResponse" message="tns:PingResponse" >
</output>
<fault name="FunctionalException" message="tns:FunctionalException" >
</fault>
<fault name="TechnicalException" message="tns:TechnicalException" >
</fault>
</operation>
</portType>
<binding name="InternationalCompanyCreditDataBinding" type="tns:CreditDataPortType" >
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" >
</soap:binding>
<operation name="RetrieveOptions" >
<soap:operation soapAction="RetrieveOptions" >
</soap:operation>
<input name="RetrieveOptionsRequest" >
<documentation >
</documentation>
<soap:header message="tns:RetrieveOptionsRequest" part="ServiceHeader" use="literal" >
</soap:header>
<soap:body parts="RetrieveOptionsRequest" use="literal" >
</soap:body>
</input>
<output name="RetrieveOptionsResponse" >
<soap:body use="literal" >
</soap:body>
</output>
<fault name="FunctionalException" >
<soap:fault name="FunctionalException" use="literal" >
</soap:fault>
</fault>
<fault name="TechnicalException" >
<soap:fault name="TechnicalException" use="literal" >
</soap:fault>
</fault>
</operation>
<operation name="OrderDataSet" >
<soap:operation soapAction="OrderDataSet" >
</soap:operation>
<input name="OrderDataSetRequest" >
<documentation >
</documentation>
<soap:header message="tns:OrderDataSetRequest" part="ServiceHeader" use="literal" >
</soap:header>
<soap:body parts="OrderDataSetRequest" use="literal" >
</soap:body>
</input>
<output name="OrderDataSetResponse" >
<soap:body use="literal" >
</soap:body>
</output>
<fault name="FunctionalException" >
<soap:fault name="FunctionalException" use="literal" >
</soap:fault>
</fault>
<fault name="TechnicalException" >
<soap:fault name="TechnicalException" use="literal" >
</soap:fault>
</fault>
</operation>
<operation name="RetrieveOrderStatus" >
<soap:operation soapAction="RetrieveOrderStatus" >
</soap:operation>
<input name="RetrieveOrderStatusRequest" >
<documentation >
</documentation>
<soap:header message="tns:RetrieveOrderStatusRequest" part="ServiceHeader" use="literal" >
</soap:header>
<soap:body parts="RetrieveOrderStatusRequest" use="literal" >
</soap:body>
</input>
<output name="RetrieveOrderStatusResponse" >
<soap:body use="literal" >
</soap:body>
</output>
<fault name="FunctionalException" >
<soap:fault name="FunctionalException" use="literal" >
</soap:fault>
</fault>
<fault name="TechnicalException" >
<soap:fault name="TechnicalException" use="literal" >
</soap:fault>
</fault>
</operation>
<operation name="RetrieveDataSet" >
<soap:operation soapAction="RetrieveDataSet" >
</soap:operation>
<input name="RetrieveDataSetRequest" >
<documentation >
</documentation>
<soap:header message="tns:RetrieveDataSetRequest" part="ServiceHeader" use="literal" >
</soap:header>
<soap:body parts="RetrieveDataSetRequest" use="literal" >
</soap:body>
</input>
<output name="RetrieveDataSetResponse" >
<soap:body use="literal" >
</soap:body>
</output>
<fault name="FunctionalException" >
<soap:fault name="FunctionalException" use="literal" >
</soap:fault>
</fault>
<fault name="TechnicalException" >
<soap:fault name="TechnicalException" use="literal" >
</soap:fault>
</fault>
</operation>
<operation name="StartInvestigation" >
<soap:operation soapAction="StartInvestigation" >
</soap:operation>
<input name="StartInvestigationRequest" >
<documentation >
</documentation>
<soap:header message="tns:StartInvestigationRequest" part="ServiceHeader" use="literal" >
</soap:header>
<soap:body parts="StartInvestigationRequest" use="literal" >
</soap:body>
</input>
<output name="StartInvestigationResponse" >
<soap:body use="literal" >
</soap:body>
</output>
<fault name="FunctionalException" >
<soap:fault name="FunctionalException" use="literal" >
</soap:fault>
</fault>
<fault name="TechnicalException" >
<soap:fault name="TechnicalException" use="literal" >
</soap:fault>
</fault>
</operation>
<operation name="StartMonitoring" >
<soap:operation soapAction="StartMonitoring" >
</soap:operation>
<input name="StartMonitoringRequest" >
<documentation >
</documentation>
<soap:header message="tns:StartMonitoringRequest" part="ServiceHeader" use="literal" >
</soap:header>
<soap:body parts="StartMonitoringRequest" use="literal" >
</soap:body>
</input>
<output name="StartMonitoringResponse" >
<soap:body use="literal" >
</soap:body>
</output>
<fault name="FunctionalException" >
<soap:fault name="FunctionalException" use="literal" >
</soap:fault>
</fault>
<fault name="TechnicalException" >
<soap:fault name="TechnicalException" use="literal" >
</soap:fault>
</fault>
</operation>
<operation name="UpdateMonitoringOptions" >
<soap:operation soapAction="UpdateMonitoringOptions" >
</soap:operation>
<input name="UpdateMonitoringOptionsRequest" >
<documentation >
</documentation>
<soap:header message="tns:UpdateMonitoringOptionsRequest" part="ServiceHeader" use="literal" >
</soap:header>
<soap:body parts="UpdateMonitoringOptionsRequest" use="literal" >
</soap:body>
</input>
<output name="UpdateMonitoringOptionsResponse" >
<soap:body use="literal" >
</soap:body>
</output>
<fault name="FunctionalException" >
<soap:fault name="FunctionalException" use="literal" >
</soap:fault>
</fault>
<fault name="TechnicalException" >
<soap:fault name="TechnicalException" use="literal" >
</soap:fault>
</fault>
</operation>
<operation name="StopMonitoring" >
<soap:operation soapAction="StopMonitoring" >
</soap:operation>
<input name="StopMonitoringRequest" >
<documentation >
</documentation>
<soap:header message="tns:StopMonitoringRequest" part="ServiceHeader" use="literal" >
</soap:header>
<soap:body parts="StopMonitoringRequest" use="literal" >
</soap:body>
</input>
<output name="StopMonitoringResponse" >
<soap:body use="literal" >
</soap:body>
</output>
<fault name="FunctionalException" >
<soap:fault name="FunctionalException" use="literal" >
</soap:fault>
</fault>
<fault name="TechnicalException" >
<soap:fault name="TechnicalException" use="literal" >
</soap:fault>
</fault>
</operation>
<operation name="Ping" >
<soap:operation soapAction="Ping" >
</soap:operation>
<input name="PingRequest" >
<documentation >
</documentation>
<soap:header message="tns:PingRequest" part="ServiceHeader" use="literal" >
</soap:header>
<soap:body parts="PingRequest" use="literal" >
</soap:body>
</input>
<output name="PingResponse" >
<soap:body use="literal" >
</soap:body>
</output>
<fault name="FunctionalException" >
<soap:fault name="FunctionalException" use="literal" >
</soap:fault>
</fault>
<fault name="TechnicalException" >
<soap:fault name="TechnicalException" use="literal" >
</soap:fault>
</fault>
</operation>
</binding>
<service name="internationalCompanyCreditDataService" >
<port name="CreditDataService" binding="tns:InternationalCompanyCreditDataBinding" >
<soap:address location="http://extranet.devlocal.com/services/credit-data/v1/" >
</soap:address>
</port>
</service>
</definitions>

View File

@ -0,0 +1,173 @@
<definitions name="MonitorEventsServices" targetNamespace="http://extranet.devlocal.com/services/wsdl/monitor-events/1.0" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:monitor-events="http://extranet.devlocal.com/services/schema/services/monitor-events/1.0" xmlns:mon="http://extranet.devlocal.com/services/schema/services/monitor/1.0" xmlns:shared="http://extranet.devlocal.com/services/schema/services/shared/1.0" xmlns:tns="http://extranet.devlocal.com/services/wsdl/monitor-events/1.0" >
<wsdl:types >
<xsd:schema targetNamespace="http://extranet.devlocal.com/services/schema/services/monitor-events/1.0" attributeFormDefault="unqualified" elementFormDefault="unqualified" >
<xsd:import namespace="http://extranet.devlocal.com/services/schema/services/shared/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/services/shared-1.0.xsd" >
</xsd:import>
<xsd:import namespace="http://extranet.devlocal.com/services/schema/services/monitor/1.0" schemaLocation="http://extranet.devlocal.com/services/schema/services/monitor-1.0.xsd" >
</xsd:import>
<xsd:element name="SignalMonitoringEventsRequest" >
<xsd:complexType >
<xsd:sequence >
<xsd:element name="NumberOfEvents" type="xsd:long" minOccurs="1" maxOccurs="1" >
</xsd:element>
<xsd:element name="MonitoringEvents" type="mon:MonitoringEvents" minOccurs="1" maxOccurs="1" >
</xsd:element>
</xsd:sequence>
<xsd:attribute name="version" type="xsd:decimal" default="1.0" >
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="SignalMonitoringEventsResponse" >
<xsd:complexType >
<xsd:annotation >
<xsd:documentation >
All the response elements for the 'getCompanyProducts' operation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence >
<xsd:element name="NumberOfEventsReceived" type="xsd:long" minOccurs="1" maxOccurs="1" >
</xsd:element>
</xsd:sequence>
<xsd:attribute name="version" type="xsd:decimal" default="1.0" >
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<message name="SignalMonitoringEventsRequest" >
<part name="ServiceHeader" element="shared:ServiceHeader" >
</part>
<part name="SignalMonitoringEventsRequest" element="monitor-events:SignalMonitoringEventsRequest" >
</part>
</message>
<message name="SignalMonitoringEventsResponse" >
<part name="SignalMonitoringEventsResponse" element="monitor-events:SignalMonitoringEventsResponse" >
</part>
</message>
<message name="TechnicalException" >
<part name="TechnicalException" element="shared:TechnicalException" >
</part>
</message>
<message name="FunctionalException" >
<part name="FunctionalException" element="shared:FunctionalException" >
</part>
</message>
<portType name="MonitoringEventsPortType" >
<operation name="SignalMonitoringEvents" >
<input name="SignalMonitoringEventsRequest" message="tns:SignalMonitoringEventsRequest" >
</input>
<output name="SignalMonitoringEventsResponse" message="tns:SignalMonitoringEventsResponse" >
</output>
<fault name="FunctionalException" message="tns:FunctionalException" >
</fault>
<fault name="TechnicalException" message="tns:TechnicalException" >
</fault>
</operation>
</portType>
<binding name="InternationalCompanyMonitoringEventsBinding" type="tns:MonitoringEventsPortType" >
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" >
</soap:binding>
<operation name="SignalMonitoringEvents" >
<soap:operation soapAction="SignalMonitoringEvents" >
</soap:operation>
<input name="SignalMonitoringEventsRequest" >
<documentation >
</documentation>
<soap:header message="tns:SignalMonitoringEventsRequest" part="ServiceHeader" use="literal" >
</soap:header>
<soap:body parts="SignalMonitoringEventsRequest" use="literal" >
</soap:body>
</input>
<output name="SignalMonitoringEventsResponse" >
<soap:body use="literal" >
</soap:body>
</output>
<fault name="FunctionalException" >
<soap:fault name="FunctionalException" use="literal" >
</soap:fault>
</fault>
<fault name="TechnicalException" >
<soap:fault name="TechnicalException" use="literal" >
</soap:fault>
</fault>
</operation>
</binding>
<service name="internationalCompanyMonitoringEventsService" >
<port name="MonitoringEventsService" binding="tns:InternationalCompanyMonitoringEventsBinding" >
<soap:address location="http://extranet.devlocal.com/services/monitor-events/v1/" >
</soap:address>
</port>
</service>
</definitions>