This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sequence xmlns="http://ws.apache.org/ns/synapse" name="resultadoCSVSequence"> | |
<log level="custom"> | |
<property name="sequence" value="fileWriteSequence"></property> | |
</log> | |
<property xmlns:ns2="http://org.apache.synapse/xsd" xmlns:ns="http://org.apache.synapse/xsd" name="transport.vfs.ReplyFileName" expression="fn:concat(fn:substring-after(get-property('MessageID'), 'urn:uuid:'), '.txt')" scope="transport"></property> | |
<property name="OUT_ONLY" value="true"></property> | |
<send> | |
<endpoint name="FileEpr"> | |
<address uri="vfs:file:///Users/edgar/Documents/esb/csv/saida"></address> | |
</endpoint> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sequence xmlns="http://ws.apache.org/ns/synapse" name="sendMailSequence"> | |
<log level="custom"> | |
<property name="sequence" value="sendMailSequence"></property> | |
</log> | |
<property name="messageType" value="text/html" scope="axis2"></property> | |
<property name="ContentType" value="text/html" scope="axis2"></property> | |
<property name="Subject" value="File Received" scope="transport"></property> | |
<property name="OUT_ONLY" value="true"></property> | |
<send> | |
<endpoint name="FileEpr"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<proxy xmlns="http://ws.apache.org/ns/synapse" | |
name="CSVProxy" | |
transports="vfs" | |
statistics="disable" | |
trace="disable" | |
startOnLoad="true"> | |
<target> | |
<inSequence> | |
<log level="full"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cama | Decoracao de cama e mesa | |
---|---|---|
Moveis | Moveis de alto padrao | |
Cervejas | Cervejas Artesanais | |
Carnes | Carnes de Alto Padrao |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT CategoryID, CategoryName, Description FROM northwind.Categories; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT into Categories | |
(CategoryName,Description) values | |
(?,?); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.webservicex.net/globalweather.asmx?WSDL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nome : CurrencyConverterProxy | |
WSDL: http://www.webservicex.net/currencyconvertor.asmx?wsdl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<proxy xmlns="http://ws.apache.org/ns/synapse" | |
name="CSVProxy" | |
transports="vfs" | |
statistics="disable" | |
trace="disable" | |
startOnLoad="true"> | |
<target> | |
<inSequence> | |
<log level="full"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<api xmlns="http://ws.apache.org/ns/synapse" name="MV" context="/api/mv"> | |
<resource methods="GET" uri-template="/category"> | |
<inSequence> | |
<log level="full"></log> | |
<property name="NO_ENTITY_BODY" scope="axis2" action="remove"></property> | |
<payloadFactory media-type="xml"> | |
<format> | |
<body></body> | |
</format> | |
<args></args> |