question

anaslaaouini avatar image
anaslaaouini asked ·

xml input fil

Hello,

Can a program hosted by FusionCreator platform accept an XML file as an input?

regards

2 comments
10 |600 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Hi

we are looking to this question , will come to you shortly


Thanks & Regards

Hicham

0 Likes 0 ·

Hi Anas

Could You please describe and provide details conecerning what you would like exactly to acheive ?


Thanks & Regards

Hicham

-1 Like -1 ·
Laurent Chollet avatar image
Laurent Chollet answered ·

Hi Anaas, the platform exposes Finastra APIs but it does not allow to host any piece of code. You can choose the technology of your choice in order to leverage the APIs exposed but your code will have to run outside the platform.

Rgds

Laurent

10 |600 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

anaslaaouini avatar image
anaslaaouini answered ·

Hello Hicham,

I want to create a java program that will be hosted by FusionCreator. The program takes as input, an xml file like the Following:

<?xml version="1.0" encoding="UTF-8"?>


<ServiceRequest xmlns="urn:control.services.tiplus2.misys.com" xmlns:ns2="urn:messages.service.ti.apps.tiplus2.misys.com" xmlns:ns4="urn:custom.service.ti.apps.tiplus2.misys.com" xmlns:ns3="urn:common.service.ti.apps.tiplus2.misys.com">

<RequestHeader>

<Service>GATEWAY</Service>

<Operation>tfscfpgm</Operation>

<Credentials>

<Name>SUPERVISOR</Name>

</Credentials>

<ReplyFormat>FULL</ReplyFormat>

<TargetSystem>TICC</TargetSystem>

<SourceSystem>ZONE1</SourceSystem>

<NoRepair>Y</NoRepair>

<NoOverride>Y</NoOverride>

<CorrelationId>9122</CorrelationId>

<TransactionControl>NONE</TransactionControl>

<CreationDate>2019-01-22</CreationDate>

</RequestHeader>

<tfscfpgm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">;

<SCFProgramme>

<Operation>insert</Operation>

<ProgrammeID><![CDATA[Test1]]></ProgrammeID>

<ProgrammeName><![CDATA[ProgTest]]></ProgrammeName>

<CustomerMnemonic>OCP</CustomerMnemonic>

<CustomerSBB>AWB</CustomerSBB>

<CustomerShortName>SHOCP</CustomerShortName>

<ProgrammeType>B</ProgrammeType>

<ProgrammeSubType>R</ProgrammeSubType>

<ProgrammeSubTypeCategory>R</ProgrammeSubTypeCategory>

<SalesContractReference>1</SalesContractReference>

<ProgrammeStatus>A</ProgrammeStatus>

<ProgrammeStartDate>2019-01-22</ProgrammeStartDate>

<ProgrammeExpiryDate>2019-01-22</ProgrammeExpiryDate>

<ProgrammeNarrative>qdjfmljqdmlfjmlajefeml</ProgrammeNarrative>

<CreditLimitAmount>999999999.00</CreditLimitAmount>

<CreditLimitCurrency>USD</CreditLimitCurrency>

<AvailableAmount>999999999.00</AvailableAmount>

<AvailableAmountCurrency>USD</AvailableAmountCurrency>

<InvoiceUploadedBy>B</InvoiceUploadedBy>

<FinanceRequestedBy>B</FinanceRequestedBy>

<FinanceDebitParty>B</FinanceDebitParty>

<FinanceToParty>B</FinanceToParty>

<BuyerAcceptanceRequired>Y</BuyerAcceptanceRequired>

<MultipleFinance>N</MultipleFinance>

<CreationDate>2019-01-22</CreationDate>

<ModificationDate>2019-01-22</ModificationDate>

<ModificationDateTime>2019-05-03 08:46:38</ModificationDateTime>

<FlaggedForDeletion>N</FlaggedForDeletion>

<BehalfOfBranchCode>0136</BehalfOfBranchCode>

</SCFProgramme>

</tfscfpgm>

</ServiceRequest>


and generates a json file as output, like the Following:


CREATE PROGRAM

https://api.sandbox.tradeix.com/v1/composer/programs

{

"programTemplateId": cb4167e5-e6c4-43bc-9672-8f2b5982e094,

"subjectCompanyId": 1082,

"programName": "testtest",

"description": "test description"

}





1 comment
10 |600 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Hi Anas,

Today, FusionCreator hosts only our API Catalog, with complete documentation.

Hotsing programs in Fusion Creator is not present in our offer

Thanks
Best Regards

Hicham

0 Likes 0 ·