Mondial Relay API

API Java pour l'API Mondial Relay

License

License

GroupId

GroupId

org.dajlab
ArtifactId

ArtifactId

mondialrelay-api
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

Mondial Relay API
API Java pour l'API Mondial Relay
Project URL

Project URL

http://www.dajlab.org
Source Code Management

Source Code Management

http://github.com/e-amzallag/mondialrelay-api/tree/master

Download mondialrelay-api

How to add to project

<!-- https://jarcasting.com/artifacts/org.dajlab/mondialrelay-api/ -->
<dependency>
    <groupId>org.dajlab</groupId>
    <artifactId>mondialrelay-api</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.dajlab/mondialrelay-api/
implementation 'org.dajlab:mondialrelay-api:0.0.1'
// https://jarcasting.com/artifacts/org.dajlab/mondialrelay-api/
implementation ("org.dajlab:mondialrelay-api:0.0.1")
'org.dajlab:mondialrelay-api:jar:0.0.1'
<dependency org="org.dajlab" name="mondialrelay-api" rev="0.0.1">
  <artifact name="mondialrelay-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.dajlab', module='mondialrelay-api', version='0.0.1')
)
libraryDependencies += "org.dajlab" % "mondialrelay-api" % "0.0.1"
[org.dajlab/mondialrelay-api "0.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
commons-codec : commons-codec jar 1.15

test (1)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter jar 5.6.2

Project Modules

There are no modules declared in this project.

API Java pour le WebService Mondial Relay

Maven Central

Voir https://www.mondialrelay.fr/media/122867/solution-web-service-v57.pdf pour plus d'informations sur l'API officielle Mondial Relay.

Pour obtenir un code Enseigne et une clé privée, vous devez disposer d'un compte Pro chez Mondial Relay.

Pour l'instant, seul le suivi d'un colis est implémenté (la couche SOAP est cependant complète).

Cas d'utilisation

Pour obtenir le suivi d'un colis :

IMondialRelayService service = new MondialRelayServiceImpl("codeEnseigne", "clePrivee");

MRSuiviColis suivi = service.getSuivi("12345678");

Pour exécuter le test unitaire, vous devez ajouter un fichier parameters.properties dans les resources avec les clés suivantes :

enseigne=
cleprivee=

Versions

Version
0.0.1