Récupération d'une variable depuis un fichier .properties
Bonjour,
J'essaye de recupérer une variable depuis un fichier .properties, dans mon fichier XML. La variable en question ne tient pas sur une seule ligne :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| test.action=<send with="mytestRequestMessageSender">
<message>
<data>
<![CDATA[
<exam:processLoanApp xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:exam="http://example.org" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<loanRequest xsi:type="java:LoanStruct" xmlns:java="java:credit.client">
<Name xsi:type="xsd:string">?</Name>
<SSN xsi:type="xsd:string">?</SSN>
<Rate xsi:type="xsd:double">2.3</Rate>
<Amount xsi:type="xsd:long">2</Amount>
<NumOfYear xsi:type="xsd:int">1</NumOfYear>
<Notes xsi:type="xsd:string">rr</Notes>
</loanRequest>
</exam:processLoanApp>
]]>
</data>
</message>
<header>
<element name="citrus_soap_action" value="processLoanApp"/>
</header>
</send>
<receive with="mytestResponseMessageHandler">
<message schema-validation="false">
<data>
<![CDATA[
<m:processLoanAppResponse xmlns:m="http://example.org">
<return>AA</return>
</m:processLoanAppResponse>
]]>
</data>
</message>
</receive> |
Lors de l'exécution seule la première ligne est prise en compte. Avez-vous une idée de comment dépasser ce problème?
Merci.