A Web Service to transform Excel files into XML files

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

Changes (12)

View Page History

\\
And here is the schema of the output XML.

!SchemaXml.jpg!
\\
The configuration for the tMySsqlInput is not given here, since it is very standard.
And here is a screenshot of the tMap editor, showing the mapping of the inputs to the output. !ExcelMapEditor.jpg!

!ExcelMapEditor.jpg!


h2. Exporting the job for Petals

Therefore, it will be the called operation.

\\
Eventually, since we let the end-point be generated by Petals, we do not have to specify an end-point for the service to consume.
In fact, the interface name will be enough. Petals will decide which end-point must be called for this interface.
{code:lang=xml}
<?xml version="1.0" encoding="UTF-8"?>
<!--
JBI descriptor for the Petals' "petals-bc-soap" component (SOAP).
Originally created for the version 4.0 of the component.
-->
<jbi:jbi version="1.0"
xmlns:interfaceNs="http://petals.ow2.org/talend/"
xmlns:jbi="http://java.sun.com/xml/ns/jbi"
xmlns:soap="http://petals.ow2.org/components/soap/version-4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<!-- Import a Service into Petals or Expose a Petals Service => use a BC. -->
<jbi:services binding-component="true">

<!-- Expose a Petals Service => consumes a Service. -->
<jbi:consumes
interface-name="interfaceNs:Customers_3ServicePortType">

<!-- CDK specific elements -->
<petalsCDK:timeout>30000</petalsCDK:timeout>
<petalsCDK:operation xmlns:op="http://petals.ow2.org/talend/">op:executeJob</petalsCDK:operation>
<petalsCDK:mep>InOut</petalsCDK:mep>

<!-- Component specific elements -->
<soap:address>Customers</soap:address>
<soap:remove-root>false</soap:remove-root>