Petals SE Mapping 1.2.0+

compared with
Current by Christophe DENEUX
on Mar 19, 2020 18:11.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History
* {{operation}}, is not used. As we can have a service 'Facade' providing several operations, it was needed to define the WSDL annotation '{{service-provider-operation}}'. A warning will appear in log traces if this field is set.

h2. Example

An example of a Service Unit descriptor to provide a mapping service:
{code:lang=xml}
<jbi:jbi version="1.0"
xmlns:facture="http://facture.mapping.samples.petals.ow2.org/"
xmlns:ged="http://service.server.ged.mapping.samples.petals.ow2.org/"
xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5"
xmlns:jbi="http://java.sun.com/xml/ns/jbi"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<jbi:services binding-component="false">

<jbi:provides
interface-name="facture:FactureService"
service-name="facture:FactureService"
endpoint-name="autogenerate">

<petalsCDK:wsdl>factureService.wsdl</petalsCDK:wsdl>

</jbi:provides>

<!-- The service invoked -->
<jbi:consumes
interface-name="ged:GedService"
service-name="ged:GedService">
<petalsCDK:timeout>15000</petalsCDK:timeout>
<petalsCDK:mep>InOut</petalsCDK:mep>
</jbi:consumes>
</jbi:services>
</jbi:jbi>
{code}

h1. Configuring the component